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