public SysBarrioCollection FetchByQuery(Query qry) { SysBarrioCollection coll = new SysBarrioCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public SysBarrioCollection FetchAll() { SysBarrioCollection coll = new SysBarrioCollection(); Query qry = new Query(SysBarrio.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }