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