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); }
public TstAfiliadosISSNCollection FetchByID(object Id) { TstAfiliadosISSNCollection coll = new TstAfiliadosISSNCollection().Where("id", Id).Load(); return(coll); }