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
Expression<Func<TEntity, IEnumerable<TProperty>>> propertyExpression
CancellationToken cancellationToken
Returns
Type Description
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
Expression<Func<TEntity, TProperty>> propertyExpression
CancellationToken cancellationToken
Returns
Type Description
Task
Type Parameters
Name Description
TProperty

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