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