Skip to main content

easyqueryoptionsextensionslinq-class

Contains several extension methods for EasyQueryOptions which allow to tune up the EasyQuery manager and middleware in case of using it for LINQ queries genereation

public static class Korzh.EasyQuery.Services.EasyQueryOptionsExtensionsLinq

Assembly: Korzh.EasyQuery.Linq.dll

Static Methods

NameTypeDescription
UseEntity(this [EasyQueryOptions](/korzh-easyquery-services-namespace/easyqueryoptions-class) options, `Func`<[EasyQueryManager](/korzh-easyquery-services-namespace/easyquerymanager-class), `IEnumerable`<`T`>> contextResolver, `Action`<[EntityTypeModelLoaderOptions](/korzh-easyquery-services-namespace/entitytypemodelloaderoptions-class)> optionsTuner = null)void
UseEntity(this [EasyQueryOptions](/korzh-easyquery-services-namespace/easyqueryoptions-class) options, `Func`<[EasyQueryManager](/korzh-easyquery-services-namespace/easyquerymanager-class), `IQueryable`<`T`>> contextResolver, `Action`<[EntityTypeModelLoaderOptions](/korzh-easyquery-services-namespace/entitytypemodelloaderoptions-class)> optionsTuner = null)void