Show / Hide Table of Contents

Class ServerDbContext

Inheritance
object
AbpDbContext<ServerDbContext>
ServerDbContext
Implements
IAbpEfCoreDbContext
IEfCoreDbContext
IDisposable
IInfrastructure<IServiceProvider>
IDbContextDependencies
IDbSetCache
IDbContextPoolable
IResettableService
IAsyncDisposable
IAbpEfCoreDbFunctionContext
ITransientDependency
Inherited Members
AbpDbContext<ServerDbContext>.DbContextOptions
AbpDbContext<ServerDbContext>.OnConfiguring(DbContextOptionsBuilder)
AbpDbContext<ServerDbContext>.ConfigureConventions(ModelConfigurationBuilder)
AbpDbContext<ServerDbContext>.TrySetDatabaseProvider(ModelBuilder)
AbpDbContext<ServerDbContext>.GetDatabaseProviderOrNull(ModelBuilder)
AbpDbContext<ServerDbContext>.SaveChangesAsync(bool, CancellationToken)
AbpDbContext<ServerDbContext>.PublishEntityEvents(EntityEventReport)
AbpDbContext<ServerDbContext>.SaveChangesOnDbContextAsync(bool, CancellationToken)
AbpDbContext<ServerDbContext>.Initialize(AbpEfCoreDbContextInitializationContext)
AbpDbContext<ServerDbContext>.ChangeTracker_Tracked(object, EntityTrackedEventArgs)
AbpDbContext<ServerDbContext>.ChangeTracker_StateChanged(object, EntityStateChangedEventArgs)
AbpDbContext<ServerDbContext>.FillExtraPropertiesForTrackedEntities(EntityTrackedEventArgs)
AbpDbContext<ServerDbContext>.PublishEventsForTrackedEntity(EntityEntry)
AbpDbContext<ServerDbContext>.HandlePropertiesBeforeSave()
AbpDbContext<ServerDbContext>.CreateEventReport()
AbpDbContext<ServerDbContext>.HandleExtraPropertiesOnSave(EntityEntry)
AbpDbContext<ServerDbContext>.ApplyAbpConceptsForAddedEntity(EntityEntry)
AbpDbContext<ServerDbContext>.ApplyAbpConceptsForModifiedEntity(EntityEntry, bool)
AbpDbContext<ServerDbContext>.ApplyAbpConceptsForDeletedEntity(EntityEntry)
AbpDbContext<ServerDbContext>.IsHardDeleted(EntityEntry)
AbpDbContext<ServerDbContext>.UpdateConcurrencyStamp(EntityEntry)
AbpDbContext<ServerDbContext>.SetConcurrencyStampIfNull(EntityEntry)
AbpDbContext<ServerDbContext>.CheckAndSetId(EntityEntry)
AbpDbContext<ServerDbContext>.TrySetGuidId(EntityEntry, IEntity<Guid>)
AbpDbContext<ServerDbContext>.SetCreationAuditProperties(EntityEntry)
AbpDbContext<ServerDbContext>.SetModificationAuditProperties(EntityEntry)
AbpDbContext<ServerDbContext>.SetDeletionAuditProperties(EntityEntry)
AbpDbContext<ServerDbContext>.IncrementEntityVersionProperty(EntityEntry)
AbpDbContext<ServerDbContext>.ConfigureBaseProperties<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<ServerDbContext>.ConfigureGlobalFilters<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<ServerDbContext>.ConfigureValueConverter<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<ServerDbContext>.ConfigureValueGenerated<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<ServerDbContext>.ShouldFilterEntity<TEntity>(IMutableEntityType)
AbpDbContext<ServerDbContext>.CreateFilterExpression<TEntity>(ModelBuilder)
AbpDbContext<ServerDbContext>.UseDbFunction()
AbpDbContext<ServerDbContext>.GetCompiledQueryCacheKey()
AbpDbContext<ServerDbContext>.LazyServiceProvider
AbpDbContext<ServerDbContext>.CurrentTenantId
AbpDbContext<ServerDbContext>.IsMultiTenantFilterEnabled
AbpDbContext<ServerDbContext>.IsSoftDeleteFilterEnabled
AbpDbContext<ServerDbContext>.CurrentTenant
AbpDbContext<ServerDbContext>.GuidGenerator
AbpDbContext<ServerDbContext>.DataFilter
AbpDbContext<ServerDbContext>.EntityChangeEventHelper
AbpDbContext<ServerDbContext>.EntityChangeOptions
AbpDbContext<ServerDbContext>.AuditPropertySetter
AbpDbContext<ServerDbContext>.EntityHistoryHelper
AbpDbContext<ServerDbContext>.AuditingManager
AbpDbContext<ServerDbContext>.UnitOfWorkManager
AbpDbContext<ServerDbContext>.Clock
AbpDbContext<ServerDbContext>.DistributedEventBus
AbpDbContext<ServerDbContext>.LocalEventBus
AbpDbContext<ServerDbContext>.Logger
AbpDbContext<ServerDbContext>.AbpEfCoreNavigationHelper
AbpDbContext<ServerDbContext>.Options
AbpDbContext<ServerDbContext>.GlobalFilterOptions
Namespace: OpenIddict.Demo.Server.EntityFrameworkCore
Assembly: OpenIddict.Demo.Server.dll
Syntax
[ConnectionStringName("Default")]
public class ServerDbContext : AbpDbContext<ServerDbContext>, IAbpEfCoreDbContext, IEfCoreDbContext, IDisposable, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IAsyncDisposable, IAbpEfCoreDbFunctionContext, ITransientDependency

Constructors

ServerDbContext(DbContextOptions<ServerDbContext>)

Declaration
public ServerDbContext(DbContextOptions<ServerDbContext> options)
Parameters
Type Name Description
DbContextOptions<ServerDbContext> options

Methods

OnModelCreating(ModelBuilder)

Declaration
protected override void OnModelCreating(ModelBuilder builder)
Parameters
Type Name Description
ModelBuilder builder
Overrides
Volo.Abp.EntityFrameworkCore.AbpDbContext<OpenIddict.Demo.Server.EntityFrameworkCore.ServerDbContext>.OnModelCreating(Microsoft.EntityFrameworkCore.ModelBuilder)

Implements

IAbpEfCoreDbContext
IEfCoreDbContext
IDisposable
Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<>
Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies
Microsoft.EntityFrameworkCore.Internal.IDbSetCache
Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable
Microsoft.EntityFrameworkCore.Infrastructure.IResettableService
IAsyncDisposable
IAbpEfCoreDbFunctionContext
ITransientDependency

Extension Methods

AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<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>)
AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
In this article
Back to top Powered by ABP.IO Platform