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