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