示例#1
0
 public SysAreaMansionCollection FetchAll()
 {
     SysAreaMansionCollection coll = new SysAreaMansionCollection();
     Query qry = new Query(SysAreaMansion.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
示例#2
0
 public SysAreaMansionCollection FetchByQuery(Query qry)
 {
     SysAreaMansionCollection coll = new SysAreaMansionCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
示例#3
0
 public SysAreaMansionCollection FetchByID(object Id)
 {
     SysAreaMansionCollection coll = new SysAreaMansionCollection().Where("ID", Id).Load();
     return coll;
 }