コード例 #1
0
ファイル: SqlScriptModel.cs プロジェクト: lightyeare/bvcms
        public string FetchScript(string name)
        {
#if DEBUG
            DebugScriptsHelper.LocateLocalFileInPath(Db, name, ".sql");
#endif
            var script = Db.ContentOfTypeSql(name);
            return(script);
        }
コード例 #2
0
ファイル: PythonScriptModel.cs プロジェクト: lightyeare/bvcms
        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);
        }