mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-12-14 07:15:47 +08:00
v0.1.3
This commit is contained in:
@@ -10,9 +10,9 @@ namespace FreeSql {
|
||||
|
||||
public interface IRepository<TEntity> : IReadOnlyRepository<TEntity>, IBasicRepository<TEntity>
|
||||
where TEntity : class {
|
||||
void Delete(Expression<Func<TEntity, bool>> predicate);
|
||||
int Delete(Expression<Func<TEntity, bool>> predicate);
|
||||
|
||||
Task DeleteAsync(Expression<Func<TEntity, bool>> predicate);
|
||||
Task<int> DeleteAsync(Expression<Func<TEntity, bool>> predicate);
|
||||
}
|
||||
|
||||
public interface IRepository<TEntity, TKey> : IRepository<TEntity>, IReadOnlyRepository<TEntity, TKey>, IBasicRepository<TEntity, TKey>
|
||||
|
||||
Reference in New Issue
Block a user