Class AbpDbContextConfigurationContextSqlServerExtensions
Inheritance
System.Object
AbpDbContextConfigurationContextSqlServerExtensions
Namespace: Volo.Abp.EntityFrameworkCore
Assembly: Volo.Abp.EntityFrameworkCore.SqlServer.dll
Syntax
public static class AbpDbContextConfigurationContextSqlServerExtensions : object
Methods
UseSqlServer(AbpDbContextConfigurationContext, Action<SqlServerDbContextOptionsBuilder>)
Declaration
public static DbContextOptionsBuilder UseSqlServer(this AbpDbContextConfigurationContext context, Action<SqlServerDbContextOptionsBuilder> sqlServerOptionsAction = null)
Parameters
| Type | Name | Description |
|---|---|---|
| AbpDbContextConfigurationContext | context | |
| Action<SqlServerDbContextOptionsBuilder> | sqlServerOptionsAction |
Returns
| Type | Description |
|---|---|
| DbContextOptionsBuilder |