Class AbpDbContextConfigurationContext
Implements
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 |
|---|---|---|
| string | connectionString | |
| System.IServiceProvider | serviceProvider | |
| string | connectionStringName | |
| System.Data.Common.DbConnection | existingConnection |
Properties
ConnectionString
Declaration
public string ConnectionString { get; }
Property Value
| Type | Description |
|---|---|
| string |
ConnectionStringName
Declaration
public string ConnectionStringName { get; }
Property Value
| Type | Description |
|---|---|
| string |
DbContextOptions
Declaration
public DbContextOptionsBuilder DbContextOptions { get; protected set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.EntityFrameworkCore.DbContextOptionsBuilder |
ExistingConnection
Declaration
public DbConnection ExistingConnection { get; }
Property Value
| Type | Description |
|---|---|
| System.Data.Common.DbConnection |
ServiceProvider
Declaration
public IServiceProvider ServiceProvider { get; }
Property Value
| Type | Description |
|---|---|
| System.IServiceProvider |