EasyQueryOptionsExtensionsEf class
Contains several extension methods for EasyQueryOptions which allow to tune up the EasyQuery manager and middleware in case of using them with EntityFramework 6.x
public static class Korzh.EasyQuery.Services.EasyQueryOptionsExtensionsEfPackage: Korzh.EasyQuery.EntityFramework6 (targets: net461)
Assembly: Korzh.EasyQuery.EntityFramework6.dll
Static Methods
Section titled “Static Methods”| Name | Type | Description |
|---|---|---|
UseDbContext(this EasyQueryOptions options, DbContext dbContext, Action<DbContextModelExtractorOptions> configurator = null) | void | Registers the model loader and connection resolver based on the DbContext type passed in a type parameter. |
UseDbContext(this EasyQueryOptions options, DbContext dbContext, FormatType formatType, Action<DbContextModelExtractorOptions> configurator = null) | void | Registers the model loader and connection resolver based on the DbContext type passed in a type parameter. |
UseEdmxFile(this EasyQueryOptions options, string fileName, Action<EdmxModelExtractorOptions> configurator = null) | void | Registers the model loader from Entity Framework Edmx file |