Show / Hide Table of Contents

Class CmsKitMongoDbContext

Inheritance
object
AbpMongoDbContext
CmsKitMongoDbContext
Implements
ITransientDependency
ICmsKitMongoDbContext
IAbpMongoDbContext
Inherited Members
AbpMongoDbContext.InitializeDatabase(IMongoDatabase, IMongoClient, IClientSessionHandle)
AbpMongoDbContext.Collection<T>()
AbpMongoDbContext.InitializeCollections(IMongoDatabase)
AbpMongoDbContext.GetCollectionName<T>()
AbpMongoDbContext.GetEntityModel<TEntity>()
AbpMongoDbContext.LazyServiceProvider
AbpMongoDbContext.ModelSource
AbpMongoDbContext.Client
AbpMongoDbContext.Database
AbpMongoDbContext.SessionHandle
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.CmsKit.MongoDB
Assembly: Volo.CmsKit.MongoDB.dll
Syntax
[ConnectionStringName("CmsKit")]
public class CmsKitMongoDbContext : AbpMongoDbContext, ITransientDependency, ICmsKitMongoDbContext, IAbpMongoDbContext

Constructors

CmsKitMongoDbContext()

Declaration
public CmsKitMongoDbContext()

Properties

BlogFeatures

Declaration
public IMongoCollection<BlogFeature> BlogFeatures { get; }
Property Value
Type Description
IMongoCollection<BlogFeature>

BlogPosts

Declaration
public IMongoCollection<BlogPost> BlogPosts { get; }
Property Value
Type Description
IMongoCollection<BlogPost>

Blogs

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

CmsUsers

Declaration
public IMongoCollection<CmsUser> CmsUsers { get; }
Property Value
Type Description
IMongoCollection<CmsUser>

Comments

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

EntityTags

Declaration
public IMongoCollection<EntityTag> EntityTags { get; }
Property Value
Type Description
IMongoCollection<EntityTag>

GlobalResources

Declaration
public IMongoCollection<GlobalResource> GlobalResources { get; }
Property Value
Type Description
IMongoCollection<GlobalResource>

MediaDescriptors

Declaration
public IMongoCollection<MediaDescriptor> MediaDescriptors { get; }
Property Value
Type Description
IMongoCollection<MediaDescriptor>

MenuItems

Declaration
public IMongoCollection<MenuItem> MenuItems { get; }
Property Value
Type Description
IMongoCollection<MenuItem>

Pages

Declaration
public IMongoCollection<Page> Pages { get; }
Property Value
Type Description
IMongoCollection<Page>

Ratings

Declaration
public IMongoCollection<Rating> Ratings { get; }
Property Value
Type Description
IMongoCollection<Rating>

Tags

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

UserMarkedItems

Declaration
public IMongoCollection<UserMarkedItem> UserMarkedItems { get; }
Property Value
Type Description
IMongoCollection<UserMarkedItem>

UserReactions

Declaration
public IMongoCollection<UserReaction> UserReactions { get; }
Property Value
Type Description
IMongoCollection<UserReaction>

Methods

CreateModel(IMongoModelBuilder)

Declaration
protected override void CreateModel(IMongoModelBuilder modelBuilder)
Parameters
Type Name Description
IMongoModelBuilder modelBuilder
Overrides
AbpMongoDbContext.CreateModel(IMongoModelBuilder)

Implements

ITransientDependency
ICmsKitMongoDbContext
IAbpMongoDbContext

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