Skip to content

keeper013/Oasis.EntityFrameworkCore.Interceptors

Repository files navigation

Oasis Interceptors

Introduction

Oasis.EntityFrameworkCore.Interceptors Library provides a generic extension of Microsoft.EntityFrameworkCore.DbContext, which provides a certain feature added by Microsoft.EntityFrameworkCore.DbContextOptionsBuilder, and exposes a handle for controller behavior of the feature using GetHandle method.

Validations

Oasis.EntityFrameworkCore.Interceptors has 2 core validations implemented

  • It's constructor will throw System.InvalidOperationException if same type of handle is declared multiple times in generic parameters
  • GetHandle will throw a System.InvalidOperationException if caller tries to get a handle type that is not supported by the implementation

About

Foundation for DbContext interceptors composite and handled for specific purposes

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages