Implementing a generic data access layer using Entity Framework
Posted: May 30, 2013 Filed under: Entity Framework, N-tier | Tags: .NET, C#, Entity Framework, N-tier 159 CommentsThis post is about how you can develop a generic data access layer (DAL) with full CRUD (Create, Read, Update and Delete) support using Entity Framework 5 with plain old CLR objects (POCOs) and short-lived contexts in a disconnected and stateless N-tier application.
Entity Framework (EF) is Microsoft’s recommended data access technology when building new .NET applications. It is an object-relational mapping framework (ORM) that enables developers to work with relational data using domain-specific objects without having to write code to access data from a database.
Read »