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