public TParaListCollection FetchAll() { TParaListCollection coll = new TParaListCollection(); Query qry = new Query(TParaList.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TParaListCollection FetchByQuery(Query qry) { TParaListCollection coll = new TParaListCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public TParaListCollection FetchByID(object ParaId) { TParaListCollection coll = new TParaListCollection().Where("Para_ID", ParaId).Load(); return coll; }