Skip to content

MikyM/DataExplorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuGetNuGet Build Status GitHub License Static Badge

DataExplorer

Library featuring an opinionated, reusable data access layer offering abstractions and implementations for EF Core compatible storages.

To utilize all features using Autofac is required.

Features

  • Full fledged base entity definition with soft deletion and snowflake ID support
  • Specification pattern encapsulating query LINQ logic avoiding bloated repositories
  • Read-only and CRUD versions of repositories and data services
  • Data services with mapping support (currently requires setting AutoMapper up)
  • Fully abstracted and unit test ready including EF Core's DbContext
  • Only asynchronous operations
  • Supports decorators, adapters and interceptors via Autofac's methods
  • EF Core caching via a caching interceptor offered by EFCoreSecondLevelCacheInterceptor
  • In-memory query evaluation through specifications

Installation

To register the library services with the DI container use extension methods on ContainerBuilder or IServiceCollection provided by the library and register one or both offered sets of services:

builder.AddDataExplorer(options => 
{
    options.AddEfCore(assembliesToScan);
});

Download

  • DataExplorer - NuGet
  • DataExplorer.EfCore - NuGet

Documentation

Documentation available at https://mikym.github.io/DataExplorer/.

Examples

Examples and PoCs are available within the examples subdirectory.

About

Library featuring an opinionated, reusable data access layer offering abstractions and implementations for SQL storages (EF Core).

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages