Show / Hide Table of Contents

Class AbpDbContextConfigurationContext

Inheritance
object
AbpDbContextConfigurationContext
AbpDbContextConfigurationContext<TDbContext>
Implements
IServiceProviderAccessor
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
IServiceProvider serviceProvider
string connectionStringName
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
DbContextOptionsBuilder

ExistingConnection

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

ServiceProvider

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

Implements

IServiceProviderAccessor

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform