예제 #1
0
        public string FetchScript(string name)
        {
#if DEBUG
            DebugScriptsHelper.LocateLocalFileInPath(Db, name, ".sql");
#endif
            var script = Db.ContentOfTypeSql(name);
            return(script);
        }
예제 #2
0
        public string FetchScript(string name)
        {
            pythonModel.Data.pyscript = name;
#if DEBUG
            runFromPath = DebugScriptsHelper.LocateLocalFileInPath(Db, name, ".py");
#endif
            var script = Db.ContentOfTypePythonScript(name);
            return(script);
        }