public TTestgroupDtlCollection FetchByQuery(Query qry) { var coll = new TTestgroupDtlCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public TTestgroupDtlCollection FetchAll() { var coll = new TTestgroupDtlCollection(); var qry = new Query(TTestgroupDtl.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }