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