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