Tag Archives: Entity Framework

Entity framework: Resolution of the dependency failed

When we try to generate a database instance using Entity framework and Factory methods, we have received the error “Resolution of the dependency failed“. Solution: Include the following libraries in the class, where we create the database instance Microsoft.Practices.EnterpriseLibrary.Common Microsoft.Practices.EnterpriseLibrary.Data … Continue reading

Posted in C# | Tagged | Leave a comment

Different Approaches of Entity Framework

I have published an article on “Different approaches of Entity Framework” on Simple-Talk, which will discuss about the different approaches and new features of Entity Framework 5.0. Please refer the same at https://www.simple-talk.com/dotnet/.net-framework/different-approaches-of-entity-framework/  

Posted in Visual Studio 2012 | Tagged | Leave a comment

Entity Framework – CodeFirst Approach

Entity Framework supported the development of applications using Schema first and Model First approach. Now, the new Entity Framework introduced the Code First approach. In Code First approach, we are creating the code first and the Entity framework will automatically … Continue reading

Posted in C#, Entity Framework | Tagged , , | Leave a comment