In this article we will discuss about entity framework code first approach. We will see what are the benefits of code first approach. We will also create a sample ASP.NET MVC application using code first approach. Continue reading
Entity Framework
A Beginner’s Tutorial on Understanding Table Per Hierarchy(TPH) Inheritance in Entity Framework
In this article we discuss about the Table per Hierarchy inheritance relationship using entity framework. We will see how this can be implemented in a step by step manner. Continue reading
A Beginner’s Tutorial on Understanding Table Per Type(TPT) Inheritance in Entity Framework
In this article we will discuss about implementing Table per Type inheritance hierarchy using Entity Framework. We will see a small sample to see how this can be implemented in a step by step manner. Continue reading
A Beginner’s Tutorial on Performing Validations in Entity Framework using Partial Methods
This article talks about performing validations while using Entity framework. We will see how the Entities facilitate validations using partial methods. We will also briefly look into the concept of partial classes and partial methods in C#. Continue reading
A Beginner’s Tutorial for Understanding and Implementing Relationships using Entity Framework
Whenever we try to modal our database as per the application requirements, we find that the tables will have some relationship with each other. There could be scenarios where the data in one table is related to a data in another table. In this article we will try to see such relationships between tables and will see how we can use Entity framework in presence of such relationships and use it to work with the database. Continue reading
An Introduction to Entity Framework for Absolute Beginners
This article introduces Entity Framework to absolute beginners. The article is meant for developers who are primarily using ADO.NET to write their data access layers. Many experienced developers will find this article very basic but since the article is written from the perspective of beginners, I’ve tried to keep things simple. Continue reading
Understanding Repository and Unit of Work Pattern and Implementing Generic Repository in ASP.NET MVC using Entity Framework
In this article we will try understand the basics of Repository and Unit of Work Pattern and will also create small ASP.NET MVC sample application to implement a generic repository and unit of work class using entity framework. Continue reading
Beginner’s Guide for Designing ASP.NET MVC Applications using SQL Server and Entity Framework
In this article we will discuss how to design ASP.NET MVC applications using SQL Server and Entity Framework. Continue reading