Show / Hide Table of Contents

Class FormsDbContext

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

Constructors

FormsDbContext(DbContextOptions<FormsDbContext>)

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

Properties

Answers

Declaration
public virtual DbSet<Answer> Answers { get; set; }
Property Value
Type Description
DbSet<Answer>

Checkboxes

Declaration
public virtual DbSet<Checkbox> Checkboxes { get; set; }
Property Value
Type Description
DbSet<Checkbox>

ChoiceMultiples

Declaration
public virtual DbSet<ChoiceMultiple> ChoiceMultiples { get; set; }
Property Value
Type Description
DbSet<ChoiceMultiple>

Choices

Declaration
public virtual DbSet<Choice> Choices { get; set; }
Property Value
Type Description
DbSet<Choice>

DropdownLists

Declaration
public virtual DbSet<DropdownList> DropdownLists { get; set; }
Property Value
Type Description
DbSet<DropdownList>

FormResponses

Declaration
public virtual DbSet<FormResponse> FormResponses { get; set; }
Property Value
Type Description
DbSet<FormResponse>

Forms

Declaration
public virtual DbSet<Form> Forms { get; set; }
Property Value
Type Description
DbSet<Form>

Questions

Declaration
public virtual DbSet<QuestionBase> Questions { get; set; }
Property Value
Type Description
DbSet<QuestionBase>

ShortTexts

Declaration
public virtual DbSet<ShortText> ShortTexts { get; set; }
Property Value
Type Description
DbSet<ShortText>

Methods

OnModelCreating(ModelBuilder)

Declaration
protected override void OnModelCreating(ModelBuilder builder)
Parameters
Type Name Description
ModelBuilder builder
Overrides
Volo.Abp.EntityFrameworkCore.AbpDbContext<Volo.Forms.EntityFrameworkCore.FormsDbContext>.OnModelCreating(Microsoft.EntityFrameworkCore.ModelBuilder)

Implements

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

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