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

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

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

            return(coll);
        }