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