public Rolehasrights Find(Int64 id) { String stmtId = "Rolehasrights.Find"; Rolehasrights result = this.sqlMapper.QueryForObject <Rolehasrights>(stmtId, id); return(result); }
public int FindCountByRoleid(Rolehasrights obj) { String stmtId = "Rolehasrights.GetFindByRoleidCount"; int result = this.sqlMapper.QueryForObject <int>(stmtId, obj); return(result); }
public void Reload(Rolehasrights obj) { if (obj == null) { throw new ArgumentNullException("obj"); } String stmtId = "Rolehasrights.Find"; this.sqlMapper.QueryForObject <Rolehasrights>(stmtId, obj, obj); }
public void Delete(Rolehasrights obj) { if (obj == null) { throw new ArgumentNullException("obj"); } String stmtId = "Rolehasrights.Delete"; this.sqlMapper.Delete(stmtId, obj); }
public void Insert(Rolehasrights obj) { if (obj == null) { throw new ArgumentNullException("obj"); } String stmtId = "Rolehasrights.Insert"; this.sqlMapper.Insert(stmtId, obj); }
public void Update(Rolehasrights obj) { String stmtId = "Rolehasrights.Update"; this.sqlMapper.Update(stmtId, obj); }