using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Threading; using System.Threading.Tasks; using Abp.Domain.Entities; namespace Abp.Domain.Repositories { public interface ISupportsExplicitLoading where TEntity : class, IEntity { Task EnsureCollectionLoadedAsync( TEntity entity, Expression>> collectionExpression, CancellationToken cancellationToken) where TProperty : class; Task EnsurePropertyLoadedAsync( TEntity entity, Expression> propertyExpression, CancellationToken cancellationToken) where TProperty : class; } }