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