예제 #1
0
        public TDataRawCollection FetchByQuery(Query qry)
        {
            var coll = new TDataRawCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public TDataRawCollection FetchAll()
        {
            var coll = new TDataRawCollection();
            var qry  = new Query(TDataRaw.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #3
0
        public TDataRawCollection FetchByID(object DataId)
        {
            TDataRawCollection coll = new TDataRawCollection().Where("Data_ID", DataId).Load();

            return(coll);
        }