Example #1
0
        private List <SqlServerScript> CreateTablesFromScripts(string scriptsRootFolderPath)
        {
            string tableScriptsFolderPath = Path.Combine(scriptsRootFolderPath, "Tables");

            return(SqlServerScriptExecutor.ExecuteScriptsInFolder(tableScriptsFolderPath, this, 1));
        }
Example #2
0
        private List <SqlServerScript> CreateUserDefinedDataTypesFromScripts(string scriptsRootFolderPath)
        {
            string userDefinedDataTypesScriptsFolderPath = Path.Combine(scriptsRootFolderPath, "User Defined Data Types");

            return(SqlServerScriptExecutor.ExecuteScriptsInFolder(userDefinedDataTypesScriptsFolderPath, this, 0));
        }
Example #3
0
        private List <SqlServerScript> CreateSynonymsFromScripts(string scriptsRootFolderPath)
        {
            string synonymsScriptsFolderPath = Path.Combine(scriptsRootFolderPath, "Synonyms");

            return(SqlServerScriptExecutor.ExecuteScriptsInFolder(synonymsScriptsFolderPath, this, 0));
        }