Beispiel #1
0
        DatabaseDefinitionModel IVisualStudioAccess.PromptForNewDatabaseDefinition()
        {
            var fileName = EnvDteHelper.PromptForDacpac();

            return(new DatabaseDefinitionModel
            {
                FilePath = fileName,
            });
        }
Beispiel #2
0
        DatabaseDefinitionModel IVisualStudioAccess.PromptForNewDatabaseDefinition()
        {
            var fileName = EnvDteHelper.PromptForDacpac();

            if (string.IsNullOrEmpty(fileName))
            {
                return(null);
            }

            return(new DatabaseDefinitionModel
            {
                FilePath = fileName,
            });
        }