Skip to main content

Posts

Showing posts with the label EF

Code First Approach in Entity Framework (EF) in ASP.NET - POCO Model with C# Classes

Code First Approach in Entity Framework (EF) in ASP.NET | POCO Model with C# Classes In this post, I would like to share about usage and benefits of Entity Framework. It has various features and flexibility for developing efficient data access layer. Code First Approach It's really a fantastic feature from NET Framework 4.X which creates a lot of flexibility in creating new relational database schema even there is no existing database schema to be migrated or even without any SQL designer tools. Interestingly, the database tables can be Created/ Modified/ Updated (CRUD) through POCO ( Plain Old CLR Objects). i.e. Simply writing the C# Classes. Get an overview of .NET framework features, a detailed explanation with code examples for Code First Approach in Entity Framework in the below link. http://weblogs.asp.net/scottgu/archive/2010/07/16/code-first-development-with-entity-framework-4.aspx ========================================================= Advertisement: Choosing ....