I was wondering if the DbContext class is thread safe, I am assuming it\'s not, as I am currently executing paralell threads that access the DbContext in my application and I am getting a host of lock
I\'ve got an entity framework based data layer which is in a separate assembly. In the same solution I\'ve got a business assembly, as ASP.Net MVC application and some unit test assemblies. The EF mod
Is there a template or tool to generate code from the database directly? I want to use model first scenario but do not want .edmx file for mappings. There is a database with many tables and I do not w
Part of my project is to persist data from another source. In this case we have an SAP data source that we will need to pull data from. I need to take the data from SAP and map it to entities I have i
I\'m using the Entity Framework wit开发者_如何学编程h Code First approach. The base class DbContext has functions to create and delete the database as well as to check for its existence.
I would like to hear some feedback on a scenario that I am trying to implement. I have currently implemented this scenario using Criteria API for NHibernate and was wondering if there was anything sim
I have two entities, assume they are called Container and Record. They have a master-child relationship: a \'container\' can hold many records.
I have a some error : EF 4: Removing child object from collection does not delete it - why? when i remove a child from the parent that the child is deleted when i call SaveChanges(), it gives the fol
I am having problems databinding to EF code first.I need to be using Eager Loading, but I am running into some issues with databinding.I have the following classes:
Looking at my Elmah error logs, I am seeing a few InvalidOperationExceptions from Entity Framework that deal with: