Month: January 2017

Example of Inheritance and Generics in TypeScript

No Picture

Inheritance Suppose in TypeScript, I have a base class ‘Entity’ showed below. I want every model I use in the project, should inherit this ‘Entity’ class. Generics Then, I have a generic base controller class which takes any…

Read More »

Entity Framework Core : “ThenInclude” – Eager Loading Multiple Level of Includes

No Picture

ThenInclude : Loading Multiple Level of Related Data Quoted text are copied and slightly edited from here : Loading Related Data | Microsoft Docs. Entity Framework Core allows us to use the navigation properties in our model to load related entities….

Read More »