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

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

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

            return(coll);
        }