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