Contains several extension methods which simplifies EasyQuery services registration in the DI.
public static class Microsoft.Extensions.DependencyInjection.EasyQueryServicesBuilderExtensionsAspNetCore
Static Methods
Type | Name | Description |
---|---|---|
EasyQueryServicesBuilder |
AddEasyQuery(this IServiceCollection services) |
Registers EasyQuery services in the DI container. |
EasyQueryServicesBuilder |
UseSessionCache(this EasyQueryServicesBuilder builder) |
Adds Korzh.EasyQuery.Services.EqSessionCachingService implementation of the Korzh.EasyQuery.Services.IEqCachingService to the DI container. DO NOT forget to turn on session in your application |