v1.0.1
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
@@ -36,11 +37,20 @@ namespace CC.Yi.IDAL
|
||||
#endregion
|
||||
T Add(T entity);
|
||||
|
||||
#region
|
||||
//添加多个实体
|
||||
#endregion
|
||||
bool AddRange(IEnumerable<T> entities);
|
||||
#region
|
||||
//更新单个实体
|
||||
#endregion
|
||||
bool Update(T entity);
|
||||
|
||||
#region
|
||||
//更新单个实体部分属性
|
||||
#endregion
|
||||
bool Update(T entity, params string[] propertyNames);
|
||||
|
||||
#region
|
||||
//删除单个实体
|
||||
#endregion
|
||||
@@ -50,5 +60,10 @@ namespace CC.Yi.IDAL
|
||||
//通过id删除实体
|
||||
#endregion
|
||||
bool Detete(int id);
|
||||
|
||||
#region
|
||||
//删除多个实体
|
||||
#endregion
|
||||
bool DeteteRange(IEnumerable<T> entity);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user