XpoServiceCollectionExtensions.AddXpoDefaultUnitOfWork(IServiceCollection, Boolean, Func<IServiceProvider, IObjectLayer>) Method
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: DevExpress.Xpo.v24.2.dll
Declaration
public static IServiceCollection AddXpoDefaultUnitOfWork(
this IServiceCollection serviceCollection,
bool useObjectLayerAsSingleton,
Func<IServiceProvider, IObjectLayer> objectLayerFactory
)
Parameters
Name | Type |
---|---|
serviceCollection | IServiceCollection |
useObjectLayerAsSingleton | Boolean |
objectLayerFactory | Func<IServiceProvider, IObjectLayer> |
Returns
Type |
---|
IServiceCollection |
See Also