Monthly Archives: August 2017

Abstract Factory Pattern

It provides an interface for creating families of related or dependent objects without specifying their concrete classes. More to come…so please stay tuned!!

Posted in ORM | Comments Off on Abstract Factory Pattern

Chain of Responsibility Pattern

It is used to avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object … Continue reading

Posted in ORM | Comments Off on Chain of Responsibility Pattern

Lazy Load Pattern

Lazy Load Pattern refers to situations where the data is loaded when you need it. In other words, it is to interrupt an object’s loading process so that the data can be loaded on demand. More to come…please stay tuned!!

Posted in ORM | Comments Off on Lazy Load Pattern

Repository Pattern

The Repository Pattern is used to separate the logic that retrieves the data and maps it to the entity model from the business logic that acts on the model. The repository acts as a mediator between the data source layer … Continue reading

Posted in ORM | Comments Off on Repository Pattern

How to handle Many-to-Many Relationship in EF Core

There are a few steps that are instrumental in handling a Many-to-Many relationship in EF Core. It must be noted that EF Core 1.1 does not support Many-to-Many relationship right off the bat. However, with a junction table in hand, … Continue reading

Posted in ORM | Comments Off on How to handle Many-to-Many Relationship in EF Core