Class CmsKitDbContext
Inheritance
CmsKitDbContext
Implements
IDbContextDependencies
IDbSetCache
IDbContextPoolable
IResettableService
Assembly: Volo.CmsKit.EntityFrameworkCore.dll
Syntax
[ConnectionStringName("CmsKit")]
public class CmsKitDbContext : AbpDbContext<CmsKitDbContext>, IAbpEfCoreDbContext, IAbpEfCoreDbFunctionContext, ITransientDependency, ICmsKitDbContext, IEfCoreDbContext, IDisposable, IInfrastructure<IServiceProvider>, IDbContextDependencies, IDbSetCache, IDbContextPoolable, IResettableService, IAsyncDisposable
Constructors
CmsKitDbContext(DbContextOptions<CmsKitDbContext>)
Declaration
public CmsKitDbContext(DbContextOptions<CmsKitDbContext> options)
Parameters
Properties
BlogFeatures
Declaration
public DbSet<BlogFeature> BlogFeatures { get; set; }
Property Value
BlogPosts
Declaration
public DbSet<BlogPost> BlogPosts { get; set; }
Property Value
Blogs
Declaration
public DbSet<Blog> Blogs { get; set; }
Property Value
Type |
Description |
DbSet<Blog> |
|
Declaration
public DbSet<Comment> Comments { get; set; }
Property Value
EntityTags
Declaration
public DbSet<EntityTag> EntityTags { get; set; }
Property Value
GlobalResources
Declaration
public DbSet<GlobalResource> GlobalResources { get; set; }
Property Value
MediaDescriptors
Declaration
public DbSet<MediaDescriptor> MediaDescriptors { get; set; }
Property Value
Declaration
public DbSet<MenuItem> MenuItems { get; set; }
Property Value
Pages
Declaration
public DbSet<Page> Pages { get; set; }
Property Value
Type |
Description |
DbSet<Page> |
|
Ratings
Declaration
public DbSet<Rating> Ratings { get; set; }
Property Value
Type |
Description |
DbSet<Rating> |
|
Reactions
Declaration
public DbSet<UserReaction> Reactions { get; set; }
Property Value
Tags
Declaration
public DbSet<Tag> Tags { get; set; }
Property Value
Type |
Description |
DbSet<Tag> |
|
User
Declaration
public DbSet<CmsUser> User { get; set; }
Property Value
UserMarkedItems
Declaration
public DbSet<UserMarkedItem> UserMarkedItems { get; set; }
Property Value
Methods
OnModelCreating(ModelBuilder)
Declaration
protected override void OnModelCreating(ModelBuilder builder)
Parameters
Type |
Name |
Description |
ModelBuilder |
builder |
|
Overrides
Volo.Abp.EntityFrameworkCore.AbpDbContext<Volo.CmsKit.EntityFrameworkCore.CmsKitDbContext>.OnModelCreating(Microsoft.EntityFrameworkCore.ModelBuilder)
Implements
Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<>
Microsoft.EntityFrameworkCore.Internal.IDbContextDependencies
Microsoft.EntityFrameworkCore.Internal.IDbSetCache
Microsoft.EntityFrameworkCore.Internal.IDbContextPoolable
Microsoft.EntityFrameworkCore.Infrastructure.IResettableService
Extension Methods