public SysLocationCollection FetchAll() { SysLocationCollection coll = new SysLocationCollection(); Query qry = new Query(SysLocation.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysLocationCollection FetchByQuery(Query qry) { SysLocationCollection coll = new SysLocationCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysLocationCollection FetchByID(object Id) { SysLocationCollection coll = new SysLocationCollection().Where("ID", Id).Load(); return coll; }