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