In this short article, we will look into a simple use case where we use a Global Query Filter feature in Entity Framework. Scenario / Use Case There might be cases, we need to apply default filter criteria, whenever we query a table. For example, …
In this article, we will discuss the repository pattern. Then we will have a walk-through of the step-by-step implementation of a Repository Pattern in a C# project. Data Access Layer It is good we have several ORM mappers like, Dapper, EntityFramework, etc., These libraries are doing …
In this article, we will go through the sample code to understand the implementation of server-side pagination along with data filter. Let’s walkthrough step by step. 1) Define the Request Model Define a model which includes the input properties, for example in order to perform …