zanate4019
zanate4019
+1 firelizzard. I find myself in the exact same situation. I would like to look closer at MVC Core, but won't until EF Core has lazy loading for same reasons...
Look there are a number of times when you will not know the dependent objects needed ahead of time. Take the following common layered approach to decoupling an application -...
> @smitpatel Can this be done manually on a normal context? `ChangeTracker.Reset()` ? I can't seem to find anything like that. I'm not sure how the EF team is resetting,...
Thanks again for your timely input Arthur. Good to know. So back to @smitpatel 's question. Is there a way for us to manually reset the ChangeTracker? I am thinking...
I understand that short-lived contexts are best. We have real-time workflow system with a mixture of WPF and Winforms clients with a WCF pub-sub back-end that pushes updates. We are...
Ok -- new repository it is. Not a problem -- only need to actually implement the 8 methods the service needs. Thanks again for your help
It does currently in EF 6.x and previous versions of EF as well as in Resharper. I know linking tables are necessary in relational databases for many-to-many relationships, but they...
Many-to-Many relationships without a linking entity is not incorrect. In fact it makes more sense in an object oriented world because linking entities have no real world parallel. I hate...
Found it... needed to add ` builder.AddConfiguration(context.Configuration.GetSection("Logging"));` to my ConfigureLog() call. Looks like the sample project for Generic Host needs it too...
I have to admit I get a little confused with the different registration types if I am not in a ASP.NET application. Transient, Singleton, and Scoped make sense within the...