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