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