Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.22 KB

File metadata and controls

45 lines (28 loc) · 1.22 KB

Entity Framework: Advance Generic Repository Pattern .NET (Specification, Selector)

Introduction

This is an example of implementing an Enhanced Generic Repository pattern in .NET. The project includes implementation of Entity Framework with generic repository including specification pattern an selector pattern.

Selector pattern

Selector pattern is a novel approach for Type-Safe Data Selection in generic repository. Read more

Setup

Prerequisite

  1. .NET 8 installed on your computer. You can download .NET 8 from the official website (https://dotnet.microsoft.com/download/dotnet/8.0).
  2. An integrated development environment (IDE) to write your code
  3. Git installed on your computer.

Initial setup

  1. Clone the project.

    git clone https://github.com/haritha99ch/GenericRepositoryPattern-Example.git
  2. Set Environment variables.

  3. Install all the dependencies.

    dotnet restore
  4. Build the project.

    dotnet build
  5. Run the project.

    dotnet run --project ./src/Example.Presentation/