示例#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);
        }