Show / Hide Table of Contents

Interface ISupportsExplicitLoading<TEntity, TKey>

Namespace: Volo.Abp.Domain.Repositories
Assembly: Volo.Abp.Ddd.Domain.dll
Syntax
public interface ISupportsExplicitLoading<TEntity, TKey> where TEntity : class, IEntity<TKey>
Type Parameters
Name Description
TEntity
TKey

Methods

EnsureCollectionLoadedAsync<TProperty>(TEntity, Expression<Func<TEntity, IEnumerable<TProperty>>>, CancellationToken)

Declaration
Task EnsureCollectionLoadedAsync<TProperty>(TEntity entity, Expression<Func<TEntity, IEnumerable<TProperty>>> propertyExpression, CancellationToken cancellationToken) where TProperty : class
Parameters
Type Name Description
TEntity entity
System.Linq.Expressions.Expression<TDelegate><System.Func<T, TResult><TEntity, System.Collections.Generic.IEnumerable<T><TProperty>>> propertyExpression
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task
Type Parameters
Name Description
TProperty

EnsurePropertyLoadedAsync<TProperty>(TEntity, Expression<Func<TEntity, TProperty>>, CancellationToken)

Declaration
Task EnsurePropertyLoadedAsync<TProperty>(TEntity entity, Expression<Func<TEntity, TProperty>> propertyExpression, CancellationToken cancellationToken) where TProperty : class
Parameters
Type Name Description
TEntity entity
System.Linq.Expressions.Expression<TDelegate><System.Func<T, TResult><TEntity, TProperty>> propertyExpression
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task
Type Parameters
Name Description
TProperty

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