Back to Devexpress

DbContextServiceBasedBuilder<TContext> Class

expressappframework-devexpress-dot-expressapp-dot-applicationbuilder-dot-dbcontextservicebasedbuilder-1.md

latest1.8 KB
Original Source

DbContextServiceBasedBuilder<TContext> Class

Allows you to configure DbContext in your ASP.NET Core Blazor application.

Namespace : DevExpress.ExpressApp.ApplicationBuilder

Assembly : DevExpress.ExpressApp.EFCore.v25.2.dll

NuGet Package : DevExpress.ExpressApp.EFCore

Declaration

csharp
public sealed class DbContextServiceBasedBuilder<TContext>
    where TContext :
    IXafApplicationBuilder<TContext>,
    IAccessor<IServiceCollection>
vb
Public NotInheritable Class DbContextServiceBasedBuilder(Of TContext As {IXafApplicationBuilder(Of TContext), IAccessor(Of IServiceCollection)})

Type Parameters

NameDescription
TContext

The IBlazorApplicationBuilder type.

|

Inheritance

Object DbContextServiceBasedBuilder<TContext>

Extension Methods

WithAuditedDbContext<TContext>(Action<AuditedDbContextServiceBasedConfigurator>, ServiceLifetime)

See Also

DbContextServiceBasedBuilder<TContext> Members

DevExpress.ExpressApp.ApplicationBuilder Namespace