Show / Hide Table of Contents

Interface IMongoModelBuilder

Namespace: Volo.Abp.MongoDB
Assembly: Volo.Abp.MongoDB.dll
Syntax
public interface IMongoModelBuilder

Methods

Entity(Type, Action<IMongoEntityModelBuilder>)

Declaration
void Entity(Type entityType, Action<IMongoEntityModelBuilder> buildAction = null)
Parameters
Type Name Description
System.Type entityType
System.Action<T><IMongoEntityModelBuilder> buildAction

Entity<TEntity>(Action<IMongoEntityModelBuilder<TEntity>>)

Declaration
void Entity<TEntity>(Action<IMongoEntityModelBuilder<TEntity>> buildAction = null)
Parameters
Type Name Description
System.Action<T><IMongoEntityModelBuilder<TEntity>> buildAction
Type Parameters
Name Description
TEntity

GetEntities()

Declaration
IReadOnlyList<IMongoEntityModel> GetEntities()
Returns
Type Description
System.Collections.Generic.IReadOnlyList<T><IMongoEntityModel>

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>>)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In This Article
Back to top Powered by Volosoft