Interface ISupportsExplicitLoading<TEntity, TKey>
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