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