Exemplo n.º 1
0
        public string FetchScript(string name)
        {
#if DEBUG
            DebugScriptsHelper.LocateLocalFileInPath(Db, name, ".sql");
#endif
            var script = Db.ContentOfTypeSql(name);
            return(script);
        }
Exemplo n.º 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);
        }