예제 #1
0
 /// <summary>
 /// 删除实体
 /// <param name="obj">传进的实体</param>
 /// </summary>
 public int Delete(PermissionData obj)
 {
     return(db.Delete(obj));
 }
예제 #2
0
 /// <summary>
 /// 添加实体
 /// <param name="obj">传进的实体</param>
 /// </summary>
 public int Insert(PermissionData obj)
 {
     return(db.Insert(obj));
 }
예제 #3
0
 /// <summary>
 /// 更新实体
 /// <param name="obj">传进的实体</param>
 /// </summary>
 public int Update(PermissionData obj)
 {
     return(db.Update(obj));
 }
예제 #4
0
 /// <summary>
 /// 当前实体查询上下文
 /// </summary>
 public ISearch <PermissionData> Search(PermissionData entity)
 {
     return(db.Search <PermissionData>(entity));
 }