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