Category: Entity Framework
-
configure many to many relationship in codefirst
Configure Many-to-Many relationship: Here, we will learn how to configure Many-to-Many relationship between the Student and Course entity classes. Student can join multiple courses and multiple students can join one course. Visit Entity Relationship section to understand how EF manages… Continue reading
-
Unit-of-Work-Design-Pattern
What is the use of Unit of Work design pattern? Unit of Work design pattern does two important things: first it maintains in-memory updates and second it sends these in-memory updates as one transaction to the database. So to achieve… Continue reading
-
unit of work in repository pattern
Unit of Work is the concept related to the effective implementation of the Repository Pattern. To understand this concept in better it is important to understand the concept of the Repository Pattern. We will not get into the details of… Continue reading
-
entity framework unit of work patterns
Earlier this year I joined a development team which chose Entity Framework for the persistence needs of a new greenfield project. While I’ve worked on a few projects which used Entity Framework here and there over the years, the bulk… Continue reading
-
Executing stored procedure with user defined table type parameter in entity framework using EntityFrameworkExtras
Entity framework does not support user defined type by default. So to support user defined type in entity framework we implement EntityFrameworkExtras package available on NuGet. Below are step by step implementation for executing stored procedure with user defined table… Continue reading