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