public SysGroupRoleCollection FetchByQuery(Query qry) { SysGroupRoleCollection coll = new SysGroupRoleCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysGroupRoleCollection FetchAll() { SysGroupRoleCollection coll = new SysGroupRoleCollection(); Query qry = new Query(SysGroupRole.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysGroupRoleCollection FetchByID(object BranchID) { SysGroupRoleCollection coll = new SysGroupRoleCollection().Where("BranchID", BranchID).Load(); return(coll); }