mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-12-18 23:55:49 +08:00
- 增加 .Net Framework 4.0 的支持,出于环境考虑 .Net Framework 4.0 不支持异步方法;
- 增加 IFreeSql.Insert<T>(IEnumerable<T1> source) 方法;
This commit is contained in:
@@ -29,7 +29,10 @@ namespace FreeSql
|
||||
{
|
||||
int Delete(Expression<Func<TEntity, bool>> predicate);
|
||||
|
||||
#if net40
|
||||
#else
|
||||
Task<int> DeleteAsync(Expression<Func<TEntity, bool>> predicate);
|
||||
#endif
|
||||
}
|
||||
|
||||
public interface IBaseRepository<TEntity, TKey> : IBaseRepository<TEntity>, IReadOnlyRepository<TEntity, TKey>, IBasicRepository<TEntity, TKey>
|
||||
|
||||
Reference in New Issue
Block a user