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