public DataScriptCollection FetchByQuery(Query qry) { DataScriptCollection coll = new DataScriptCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DataScriptCollection FetchAll() { DataScriptCollection coll = new DataScriptCollection(); Query qry = new Query(DataScript.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DataScriptCollection FetchByID(object Id) { DataScriptCollection coll = new DataScriptCollection().Where("Id", Id).Load(); return(coll); }