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