XpoServiceCollectionExtensions.AddXpoDefaultSession(IServiceCollection, Boolean, Action<DataLayerOptionsBuilder>) Method
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: DevExpress.Xpo.v24.2.dll
Declaration
public static IServiceCollection AddXpoDefaultSession(
this IServiceCollection serviceCollection,
bool useDataLayerAsSingleton,
Action<DataLayerOptionsBuilder> dataLayerOptionsBuildAction
)
Parameters
Name | Type |
---|---|
serviceCollection | IServiceCollection |
useDataLayerAsSingleton | Boolean |
dataLayerOptionsBuildAction | Action<DataLayerOptionsBuilder> |
Returns
Type |
---|
IServiceCollection |
See Also