/Example.EFCore.GlobalQueryFilters

Example .NET Core 2.0 project for my blog post about EF Core Global query filters

Primary LanguageC#MIT LicenseMIT

Example.EFCore.GlobalQueryFilters

1. Clone

   git clone https://github.com/berkid89/Example.EFCore.GlobalQueryFilters.git
   cd Example.EFCore.GlobalQueryFilters\Example.EFCore.GlobalQueryFilters

2. Init the database

  • You need a Microsoft SQL Server instance (I used SQL Server 2016 Express)
  • Execute the init.sql to create the ExampleDatabase

3. Build & Run

   dotnet restore
   dotnet build
   dotnet run