Show / Hide Table of Contents

Class AbpDbContextConfigurationContext

Inheritance
System.Object
AbpDbContextConfigurationContext
AbpDbContextConfigurationContext<TDbContext>
Namespace: Volo.Abp.EntityFrameworkCore.DependencyInjection
Assembly: Volo.Abp.EntityFrameworkCore.dll
Syntax
public class AbpDbContextConfigurationContext : IServiceProviderAccessor

Constructors

AbpDbContextConfigurationContext(String, IServiceProvider, String, DbConnection)

Declaration
public AbpDbContextConfigurationContext(string connectionString, IServiceProvider serviceProvider, string connectionStringName, DbConnection existingConnection)
Parameters
Type Name Description
System.String connectionString
IServiceProvider serviceProvider
System.String connectionStringName
DbConnection existingConnection

Properties

ConnectionString

Declaration
public string ConnectionString { get; }
Property Value
Type Description
System.String

ConnectionStringName

Declaration
public string ConnectionStringName { get; }
Property Value
Type Description
System.String

DbContextOptions

Declaration
public DbContextOptionsBuilder DbContextOptions { get; protected set; }
Property Value
Type Description
DbContextOptionsBuilder

ExistingConnection

Declaration
public DbConnection ExistingConnection { get; }
Property Value
Type Description
DbConnection

ServiceProvider

Declaration
public IServiceProvider ServiceProvider { get; }
Property Value
Type Description
IServiceProvider

Extension Methods

AbpDbContextConfigurationContextPostgreSqlExtensions.UsePostgreSql(AbpDbContextConfigurationContext, Action<NpgsqlDbContextOptionsBuilder>)
AbpDbContextConfigurationContextPostgreSqlExtensions.UseNpgsql(AbpDbContextConfigurationContext, Action<NpgsqlDbContextOptionsBuilder>)
AbpDbContextConfigurationContextSqliteExtensions.UseSqlite(AbpDbContextConfigurationContext, Action<SqliteDbContextOptionsBuilder>)
AbpDbContextConfigurationContextOracleDevartExtensions.UseOracle(AbpDbContextConfigurationContext, Action<OracleDbContextOptionsBuilder>, Boolean)
AbpDbContextConfigurationContextMySQLExtensions.UseMySQL(AbpDbContextConfigurationContext, Action<MySqlDbContextOptionsBuilder>)
AbpDbContextConfigurationContextOracleExtensions.UseOracle(AbpDbContextConfigurationContext, Action<OracleDbContextOptionsBuilder>)
AbpDbContextConfigurationContextSqlServerExtensions.UseSqlServer(AbpDbContextConfigurationContext, Action<SqlServerDbContextOptionsBuilder>)
AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft