Exemplo n.º 1
0
        public TParaListCollection FetchByQuery(Query qry)
        {
            var coll = new TParaListCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public TParaListCollection FetchAll()
        {
            var coll = new TParaListCollection();
            var qry  = new Query(TParaList.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public TParaListCollection FetchByID(object ParaId)
        {
            TParaListCollection coll = new TParaListCollection().Where("Para_ID", ParaId).Load();

            return(coll);
        }