Pavel Voronin
Pavel Voronin
> Can you post an example snippet of a typical unit-of-work, where a graph of some blogs and their posts are loaded (in a single query), modified, and then persisted...
> The way I'm understanding the article, it's recommending removing the navigation for situations where having the navigations implies that they're automatically loaded; The idea is that you define a...
> What happens when you need to return each blog's actual post instances, because e.g. the UI needs to show all of them? How do you represent the relationships between...
Situation complicates a lot if aggregate becomes more complex. As aggregate is a gateway to all the entities it contains, they must be exposed as immutable snapshot. It means, some...
> Now try imagining what you'd need to do in order to use EF's change tracking to persist arbitrary changes in the graph back to the database You should not...
> I'm sorry, I'm not seeing the relationship between the last comment and our previous discussion... Imagine entity where all the mapping is applied to private fields. You fetch the...
There's no such resource. The idea is that this method should be an extension method relevant only within the query. For materialised entities it should always return null or maybe...
@nirname , I am not 100% sure. I have experience when something was working because of the bug :-)
Yet `com.docker.compose.oneoff=True` is set automatically when you do `docker compsoe run`, and I cannot set it in compose file, so even `docker compose up` knows which was a one-off taks.