You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
640 B
22 lines
640 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq.Expressions;
|
|
using System.Threading.Tasks;
|
|
using Volo.Abp.DependencyInjection;
|
|
using Volo.Abp.Domain.Entities;
|
|
|
|
namespace Win_in.Sfs.Wms.DataExchange.Domain.Fawtyg.Tyrp;
|
|
|
|
public interface ILinq2DbRepository<TEntity> :
|
|
ILinq2DbCrudRepository<TEntity>
|
|
, ITransientDependency
|
|
where TEntity : class, IEntity
|
|
|
|
{
|
|
|
|
Task<TEntity> FirstOrDefaultAsync(Expression<Func<TEntity, bool>> expression);
|
|
|
|
Task<IEnumerable<TEntity>> GetListAsync(Expression<Func<TEntity, bool>> expression = null);
|
|
|
|
Task<long> CountAsync(Expression<Func<TEntity, bool>> expression);
|
|
}
|
|
|