Show / Hide Table of Contents

Class BloggingDbContext

Inheritance
System.Object
AbpDbContext<BloggingDbContext>
BloggingDbContext
Implements
IAbpEfCoreDbContext
ITransientDependency
IBloggingDbContext
IEfCoreDbContext
IDisposable
IInfrastructure<IServiceProvider>
IDbContextDependencies
IDbSetCache
IDbContextPoolable
Inherited Members
AbpDbContext<BloggingDbContext>.CurrentTenantId
AbpDbContext<BloggingDbContext>.IsMultiTenantFilterEnabled
AbpDbContext<BloggingDbContext>.IsSoftDeleteFilterEnabled
AbpDbContext<BloggingDbContext>.CurrentTenant
AbpDbContext<BloggingDbContext>.GuidGenerator
AbpDbContext<BloggingDbContext>.DataFilter
AbpDbContext<BloggingDbContext>.EntityChangeEventHelper
AbpDbContext<BloggingDbContext>.AuditPropertySetter
AbpDbContext<BloggingDbContext>.EntityHistoryHelper
AbpDbContext<BloggingDbContext>.AuditingManager
AbpDbContext<BloggingDbContext>.UnitOfWorkManager
AbpDbContext<BloggingDbContext>.Clock
AbpDbContext<BloggingDbContext>.Logger
AbpDbContext<BloggingDbContext>.TrySetDatabaseProvider(ModelBuilder)
AbpDbContext<BloggingDbContext>.GetDatabaseProviderOrNull(ModelBuilder)
AbpDbContext<BloggingDbContext>.SaveChangesAsync(Boolean, CancellationToken)
AbpDbContext<BloggingDbContext>.SaveChangesOnDbContextAsync(Boolean, CancellationToken)
AbpDbContext<BloggingDbContext>.Initialize(AbpEfCoreDbContextInitializationContext)
AbpDbContext<BloggingDbContext>.ChangeTracker_Tracked(Object, EntityTrackedEventArgs)
AbpDbContext<BloggingDbContext>.FillExtraPropertiesForTrackedEntities(EntityTrackedEventArgs)
AbpDbContext<BloggingDbContext>.ApplyAbpConcepts()
AbpDbContext<BloggingDbContext>.ApplyAbpConcepts(EntityEntry, EntityChangeReport)
AbpDbContext<BloggingDbContext>.HandleExtraPropertiesOnSave(EntityEntry)
AbpDbContext<BloggingDbContext>.ApplyAbpConceptsForAddedEntity(EntityEntry, EntityChangeReport)
AbpDbContext<BloggingDbContext>.ApplyAbpConceptsForModifiedEntity(EntityEntry, EntityChangeReport)
AbpDbContext<BloggingDbContext>.ApplyAbpConceptsForDeletedEntity(EntityEntry, EntityChangeReport)
AbpDbContext<BloggingDbContext>.IsHardDeleted(EntityEntry)
AbpDbContext<BloggingDbContext>.AddDomainEvents(EntityChangeReport, Object)
AbpDbContext<BloggingDbContext>.UpdateConcurrencyStamp(EntityEntry)
AbpDbContext<BloggingDbContext>.SetConcurrencyStampIfNull(EntityEntry)
AbpDbContext<BloggingDbContext>.TryCancelDeletionForSoftDelete(EntityEntry)
AbpDbContext<BloggingDbContext>.CheckAndSetId(EntityEntry)
AbpDbContext<BloggingDbContext>.TrySetGuidId(EntityEntry, IEntity<Guid>)
AbpDbContext<BloggingDbContext>.SetCreationAuditProperties(EntityEntry)
AbpDbContext<BloggingDbContext>.SetModificationAuditProperties(EntityEntry)
AbpDbContext<BloggingDbContext>.SetDeletionAuditProperties(EntityEntry)
AbpDbContext<BloggingDbContext>.ConfigureBaseProperties<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<BloggingDbContext>.ConfigureGlobalFilters<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<BloggingDbContext>.ConfigureValueConverter<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<BloggingDbContext>.ConfigureValueGenerated<TEntity>(ModelBuilder, IMutableEntityType)
AbpDbContext<BloggingDbContext>.ShouldFilterEntity<TEntity>(IMutableEntityType)
AbpDbContext<BloggingDbContext>.CreateFilterExpression<TEntity>()
Volo.Abp.EntityFrameworkCore.AbpDbContext<Volo.Blogging.EntityFrameworkCore.BloggingDbContext>.CombineExpressions<T>(Expression<>, Expression<>)
Namespace: Volo.Blogging.EntityFrameworkCore
Assembly: Volo.Blogging.EntityFrameworkCore.dll
Syntax
public class BloggingDbContext : AbpDbContext<BloggingDbContext>, IAbpEfCoreDbContext, ITransientDependency, IBloggingDbContext, IEfCoreDbContext, IDisposable, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable

Constructors

BloggingDbContext(DbContextOptions<BloggingDbContext>)

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

Properties

Blogs

Declaration
public DbSet<Blog> Blogs { get; set; }
Property Value
Type Description
DbSet<Blog>

Comments

Declaration
public DbSet<Comment> Comments { get; set; }
Property Value
Type Description
DbSet<Comment>

Posts

Declaration
public DbSet<Post> Posts { get; set; }
Property Value
Type Description
DbSet<Post>

PostTags

Declaration
public DbSet<PostTag> PostTags { get; set; }
Property Value
Type Description
DbSet<PostTag>

Tags

Declaration
public DbSet<Tag> Tags { get; set; }
Property Value
Type Description
DbSet<Tag>

Users

Declaration
public DbSet<BlogUser> Users { get; set; }
Property Value
Type Description
DbSet<BlogUser>

Methods

OnModelCreating(ModelBuilder)

Declaration
protected override void OnModelCreating(ModelBuilder builder)
Parameters
Type Name Description
ModelBuilder builder

Implements

IAbpEfCoreDbContext
ITransientDependency
IBloggingDbContext
IEfCoreDbContext
IDisposable
IInfrastructure<>
IDbContextDependencies
IDbSetCache
IDbContextPoolable

Extension Methods

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