From ccf95aed77898c0b0dbc804c29a486ce092cd41e Mon Sep 17 00:00:00 2001 From: Karl Burtram Date: Fri, 16 Apr 2021 15:33:35 -0700 Subject: [PATCH] Move unused forked code to external directory (#1192) * Move unused forked code to external directory * Fix SLN build errors * Add back resource provider core since it's referenced by main resource provider project * Update PackageProjects step of pipeline --- build.json | 5 +- .../Connection/CancelTokenKey.cs | 0 .../Connection/ConnectParamsExtensions.cs | 0 .../Connection/ConnectionInfo.cs | 0 .../Connection/ConnectionServiceCore.cs | 2634 ++-- .../Connection/ConnectionUtils.cs | 0 .../Connection/DatabaseFullAccessException.cs | 0 .../Connection/DatabaseLocksManager.cs | 0 .../Connection/FeatureWithFullDbAccess.cs | 0 .../Connection/ISqlConnectionFactory.cs | 0 .../ReliableConnection/AmbientSettings.cs | 0 .../ReliableConnection/CachedServerInfo.cs | 0 .../ReliableConnection/Constants.cs | 0 .../ReliableConnection/DataSchemaError.cs | 0 .../ReliableConnection/DbCommandWrapper.cs | 0 .../ReliableConnection/DbConnectionWrapper.cs | 0 .../ReliableConnection/ErrorSeverity.cs | 0 .../IStackSettingsContext.cs | 0 .../ReliableConnectionHelper.cs | 0 .../ReliableConnection/ReliableSqlCommand.cs | 0 .../ReliableSqlConnection.cs | 0 .../ReliableConnection/Resources.cs | 0 .../RetryCallbackEventArgs.cs | 0 .../RetryLimitExceededException.cs | 0 ...licy.DataTransferDetectionErrorStrategy.cs | 0 .../RetryPolicy.IErrorDetectionStrategy.cs | 0 ...Policy.NetworkConnectivityErrorStrategy.cs | 0 ...oraryAndIgnorableErrorDetectionStrategy.cs | 0 ...SqlAzureTemporaryErrorDetectionStrategy.cs | 0 .../RetryPolicy.ThrottleReason.cs | 0 .../ReliableConnection/RetryPolicy.cs | 0 .../ReliableConnection/RetryPolicyFactory.cs | 0 .../ReliableConnection/RetryPolicyUtils.cs | 0 .../ReliableConnection/RetryState.cs | 0 .../SqlConnectionHelperScripts.cs | 0 .../ReliableConnection/SqlErrorNumbers.cs | 0 .../SqlSchemaModelErrorCodes.cs | 0 .../ReliableConnection/SqlServerError.cs | 0 .../ReliableConnection/SqlServerRetryError.cs | 0 .../Connection/SqlConnectionFactory.cs | 0 .../LanguageServices/BindingQueue.cs | 0 .../ConnectedBindingContext.cs | 0 .../LanguageServices/ConnectedBindingQueue.cs | 0 .../LanguageServices/IBindingContext.cs | 0 .../LanguageServices/LanguageContants.cs | 0 .../LanguageServices/QueueItem.cs | 0 .../LanguageServices/TelemetryNotification.cs | 0 .../Localization/sr.cs | 10366 ++++++++-------- .../Localization/sr.de.resx | 0 .../Localization/sr.es.resx | 0 .../Localization/sr.fr.resx | 0 .../Localization/sr.it.resx | 0 .../Localization/sr.ja.resx | 0 .../Localization/sr.ko.resx | 0 .../Localization/sr.pt-BR.resx | 0 .../Localization/sr.resx | 4018 +++--- .../Localization/sr.ru.resx | 0 .../Localization/sr.strings | 0 .../Localization/sr.xlf | 0 .../Localization/sr.zh-hans.resx | 0 .../Localization/sr.zh-hant.resx | 0 .../Localization/transXliff/sr.de.xlf | 0 .../Localization/transXliff/sr.es.xlf | 0 .../Localization/transXliff/sr.fr.xlf | 0 .../Localization/transXliff/sr.it.xlf | 0 .../Localization/transXliff/sr.ja.xlf | 0 .../Localization/transXliff/sr.ko.xlf | 0 .../Localization/transXliff/sr.pt-BR.xlf | 0 .../Localization/transXliff/sr.ru.xlf | 0 .../Localization/transXliff/sr.zh-hans.xlf | 0 .../Localization/transXliff/sr.zh-hant.xlf | 0 .../Microsoft.SqlTools.CoreServices.csproj | 64 +- .../Properties/AssemblyInfo.cs | 0 .../CompoundSqlToolsSettingsValues.cs | 0 .../SqlContext/ISqlToolsSettingsValues.cs | 0 .../SqlContext/IntelliSenseSettings.cs | 0 .../SqlContext/ObjectExplorerSettings.cs | 0 .../SqlContext/SqlToolsSettings.cs | 0 .../SqlContext/SqlToolsSettingsValues.cs | 0 .../Utility/CommonConstants.cs | 0 .../Utility/DatabaseUtils.cs | 0 .../Utility/InteractionMetrics.cs | 0 .../Workspace/SettingsService.cs | 0 .../AssemblyInfo.cs | 4 +- .../ClientCapabilities/ClientCapabilities.cs | 0 .../DynamicRegistrationCapability.cs | 0 .../TextDocument/CodeAction.cs | 0 .../TextDocument/CodeLens.cs | 0 .../TextDocument/ColorProvider.cs | 0 .../TextDocument/Completion.cs | 0 .../TextDocument/Definition.cs | 0 .../TextDocument/DocumentHighlight.cs | 0 .../TextDocument/DocumentLink.cs | 0 .../TextDocument/DocumentSymbol.cs | 0 .../TextDocument/Formatting.cs | 0 .../ClientCapabilities/TextDocument/Hover.cs | 0 .../TextDocument/Implementation.cs | 0 .../TextDocument/OnTypeFormatting.cs | 0 .../TextDocument/PublishDignostics.cs | 0 .../TextDocument/RangeFormatting.cs | 0 .../TextDocument/References.cs | 0 .../ClientCapabilities/TextDocument/Rename.cs | 0 .../TextDocument/SignatureHelp.cs | 0 .../TextDocument/Synchronization.cs | 0 .../TextDocument/TextDocumentCapabilities.cs | 0 .../TextDocument/TypeDefinition.cs | 0 .../Workspace/DidChangeConfiguration.cs | 0 .../Workspace/DidChangeWatchedFiles.cs | 0 .../Workspace/ExecuteCommand.cs | 0 .../ClientCapabilities/Workspace/Symbol.cs | 0 .../Workspace/WorkspaceCapabilities.cs | 0 .../Workspace/WorkspaceEdit.cs | 0 .../Common/CompletionItemKind.cs | 0 .../Common/MarkupKind.cs | 0 .../Common/SymbolKinds.cs | 0 .../Common/WorkspaceFolder.cs | 0 .../Connection/CancelConnectParams.cs | 0 .../Connection/CancelConnectRequest.cs | 0 .../Connection/ChangeDatabaseParams.cs | 0 .../Connection/ChangeDatabaseRequest.cs | 0 .../Connection/ConnectParams.cs | 0 .../ConnectionChangedNotification.cs | 0 .../Connection/ConnectionChangedParams.cs | 0 .../ConnectionCompleteNotification.cs | 0 .../Connection/ConnectionDetails.cs | 0 .../Connection/ConnectionDetailsExtensions.cs | 0 .../Connection/ConnectionRequest.cs | 0 .../Connection/ConnectionSummary.cs | 0 .../Connection/ConnectionSummaryComparer.cs | 0 .../Connection/ConnectionSummaryExtensions.cs | 0 .../Connection/ConnectionType.cs | 0 .../Connection/DisconnectParams.cs | 0 .../Connection/DisconnectRequest.cs | 0 .../Connection/LanguageFlavorChange.cs | 0 .../Connection/ListDatabasesParams.cs | 0 .../Connection/ListDatabasesRequest.cs | 0 .../Connection/ListDatabasesResponse.cs | 0 .../Connection/ServerInfo.cs | 0 .../Explorer/CloseSessionRequest.cs | 0 .../Explorer/CreateSessionRequest.cs | 130 +- .../Explorer/ExpandRequest.cs | 152 +- .../Explorer/FindNodesRequest.cs | 0 .../Explorer/NodeInfo.cs | 126 +- .../Explorer/RefreshRequest.cs | 58 +- .../GeneralRequestDetails.cs | 0 .../InitializeRequest.cs | 0 .../InitializeRequestWithOptions.cs | 0 .../Metadata/ObjectMetadata.cs | 0 ...oft.SqlTools.DataProtocol.Contracts.csproj | 0 .../ServerCapabilities/CodeLensOptions.cs | 0 .../ServerCapabilities/CompletionOptions.cs | 0 .../ServerCapabilities/DocumentLinkOptions.cs | 0 .../DocumentOnTypeFormattingOptions.cs | 0 .../ExecuteCommandOptions.cs | 0 .../ServerCapabilities/SaveOptions.cs | 0 .../ServerCapabilities/ServerCapabilities.cs | 0 .../SignatureHelpOptions.cs | 0 .../ServerCapabilities/TextDocument.cs | 0 .../ServerCapabilities/Workspace.cs | 0 .../Utilities/FlagsIntConverter.cs | 0 .../Utilities/FlagsStringConverter.cs | 0 .../Utilities/NullableUtils.cs | 0 .../Utilities/Union.cs | 0 .../Workspace/Configuration.cs | 0 .../EventType.cs | 0 .../Internal/Error.cs | 0 .../Internal/ExitNotification.cs | 0 .../Internal/HostingErrorNotification.cs | 0 .../Internal/ShutdownRequest.cs | 0 ...icrosoft.SqlTools.Hosting.Contracts.csproj | 0 .../RequestType.cs | 0 .../CommonObjects.cs | 16 +- .../Utilities/FlagsIntConverterTests.cs | 130 +- .../Utilities/FlagsStringConverterTests.cs | 130 +- .../ServiceProviderTests.cs | 2 +- ...icrosoft.SqlTools.Hosting.UnitTests.csproj | 0 .../ProtocolTests/EventContextTests.cs | 8 +- .../ProtocolTests/JsonRpcHostTests.cs | 56 +- .../ProtocolTests/MessageReaderTests.cs | 2 +- .../ProtocolTests/MessageTests.cs | 0 .../ProtocolTests/MessageWriterTests.cs | 8 +- .../ProtocolTests/RequestContextTests.cs | 24 +- .../ExtensibleServiceHostTest.cs | 0 .../ServiceHostTests/ServiceHostTests.cs | 4 +- .../TaskExtensions.cs | 0 .../UtilityTests/AsyncLockTests.cs | 0 .../UtilityTests/LoggerTests.cs | 0 .../Channels/ChannelBase.cs | 0 .../Channels/StdioClientChannel.cs | 0 .../Channels/StdioServerChannel.cs | 0 .../ExportStandardMetadataAttribute.cs | 0 .../Extensibility/ExtensionServiceProvider.cs | 0 .../Extensibility/IComposableService.cs | 0 .../Extensibility/IHostedService.cs | 0 .../Extensibility/IMultiServiceProvider.cs | 0 .../Extensibility/IStandardMetadata.cs | 0 .../RegisteredServiceProvider.cs | 0 .../ExtensibleServiceHost.cs | 0 .../IServiceHost.cs | 0 .../Localization/sr.cs | 460 +- .../Localization/sr.resx | 362 +- .../Localization/sr.strings | 0 .../Localization/sr.xlf | 0 .../Microsoft.SqlTools.Hosting.v2.csproj | 0 .../Properties/AssemblyInfo.cs | 0 .../Protocol/EventContext.cs | 0 .../Protocol/Exceptions.cs | 0 .../Protocol/IEventSender.cs | 0 .../Protocol/IJsonRpcHost.cs | 0 .../Protocol/IMessageDispatcher.cs | 0 .../Protocol/IRequestSender.cs | 0 .../Protocol/JsonRpcHost.cs | 0 .../Protocol/Message.cs | 0 .../Protocol/MessageReader.cs | 0 .../Protocol/MessageWriter.cs | 0 .../Protocol/RequestContext.cs | 0 .../ServiceHost.cs | 0 .../Utility/AsyncLock.cs | 0 .../Utility/CommandOptions.cs | 0 .../Utility/Extensions.cs | 0 .../Utility/Logger.cs | 0 .../Utility/ServiceProviderNotSetException.cs | 0 .../Utility/TaskExtensions.cs | 0 .../Utility/Validate.cs | 0 sqltoolsservice.sln | 65 +- .../Localization/sr.cs | 366 +- .../Localization/sr.resx | 328 +- .../Localization/sr.cs | 344 +- .../Localization/sr.resx | 320 +- 229 files changed, 10058 insertions(+), 10124 deletions(-) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/CancelTokenKey.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ConnectParamsExtensions.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ConnectionInfo.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ConnectionServiceCore.cs (97%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ConnectionUtils.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/DatabaseFullAccessException.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/DatabaseLocksManager.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/FeatureWithFullDbAccess.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ISqlConnectionFactory.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/AmbientSettings.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/CachedServerInfo.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/Constants.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/DataSchemaError.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/DbCommandWrapper.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/DbConnectionWrapper.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ErrorSeverity.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/IStackSettingsContext.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ReliableConnectionHelper.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ReliableSqlCommand.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ReliableSqlConnection.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/Resources.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryCallbackEventArgs.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryLimitExceededException.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.DataTransferDetectionErrorStrategy.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.IErrorDetectionStrategy.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.NetworkConnectivityErrorStrategy.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryAndIgnorableErrorDetectionStrategy.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryErrorDetectionStrategy.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.ThrottleReason.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicyFactory.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicyUtils.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryState.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlConnectionHelperScripts.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlErrorNumbers.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlSchemaModelErrorCodes.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlServerError.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlServerRetryError.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Connection/SqlConnectionFactory.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/LanguageServices/BindingQueue.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/LanguageServices/ConnectedBindingContext.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/LanguageServices/ConnectedBindingQueue.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/LanguageServices/IBindingContext.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/LanguageServices/LanguageContants.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/LanguageServices/QueueItem.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/LanguageServices/TelemetryNotification.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/sr.cs (96%) mode change 100755 => 100644 rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/sr.de.resx (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/sr.es.resx (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/sr.fr.resx (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/sr.it.resx (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/sr.ja.resx (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/sr.ko.resx (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/sr.pt-BR.resx (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/sr.resx (97%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/sr.ru.resx (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/sr.strings (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/sr.xlf (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/sr.zh-hans.resx (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/sr.zh-hant.resx (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.de.xlf (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.es.xlf (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.fr.xlf (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.it.xlf (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.ja.xlf (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.ko.xlf (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.pt-BR.xlf (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.ru.xlf (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.zh-hans.xlf (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.zh-hant.xlf (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Microsoft.SqlTools.CoreServices.csproj (97%) rename {src => external}/Microsoft.SqlTools.CoreServices/Properties/AssemblyInfo.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/SqlContext/CompoundSqlToolsSettingsValues.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/SqlContext/ISqlToolsSettingsValues.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/SqlContext/IntelliSenseSettings.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/SqlContext/ObjectExplorerSettings.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/SqlContext/SqlToolsSettings.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/SqlContext/SqlToolsSettingsValues.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Utility/CommonConstants.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Utility/DatabaseUtils.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Utility/InteractionMetrics.cs (100%) rename {src => external}/Microsoft.SqlTools.CoreServices/Workspace/SettingsService.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/AssemblyInfo.cs (93%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/ClientCapabilities.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/DynamicRegistrationCapability.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/CodeAction.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/CodeLens.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/ColorProvider.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Completion.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Definition.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/DocumentHighlight.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/DocumentLink.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/DocumentSymbol.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Formatting.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Hover.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Implementation.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/OnTypeFormatting.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/PublishDignostics.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/RangeFormatting.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/References.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Rename.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/SignatureHelp.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Synchronization.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/TextDocumentCapabilities.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/TypeDefinition.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/DidChangeConfiguration.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/DidChangeWatchedFiles.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/ExecuteCommand.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/Symbol.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/WorkspaceCapabilities.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/WorkspaceEdit.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Common/CompletionItemKind.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Common/MarkupKind.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Common/SymbolKinds.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Common/WorkspaceFolder.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/CancelConnectParams.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/CancelConnectRequest.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ChangeDatabaseParams.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ChangeDatabaseRequest.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectParams.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionChangedNotification.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionChangedParams.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionCompleteNotification.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionDetails.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionDetailsExtensions.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionRequest.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionSummary.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionSummaryComparer.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionSummaryExtensions.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionType.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/DisconnectParams.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/DisconnectRequest.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/LanguageFlavorChange.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ListDatabasesParams.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ListDatabasesRequest.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ListDatabasesResponse.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ServerInfo.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/CloseSessionRequest.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/CreateSessionRequest.cs (97%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/ExpandRequest.cs (96%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/FindNodesRequest.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/NodeInfo.cs (97%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/RefreshRequest.cs (96%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/GeneralRequestDetails.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/InitializeRequest.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/InitializeRequestWithOptions.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Metadata/ObjectMetadata.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Microsoft.SqlTools.DataProtocol.Contracts.csproj (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/CodeLensOptions.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/CompletionOptions.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/DocumentLinkOptions.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/DocumentOnTypeFormattingOptions.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/ExecuteCommandOptions.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/SaveOptions.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/ServerCapabilities.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/SignatureHelpOptions.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/TextDocument.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/Workspace.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/FlagsIntConverter.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/FlagsStringConverter.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/NullableUtils.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/Union.cs (100%) rename {src => external}/Microsoft.SqlTools.DataProtocol.Contracts/Workspace/Configuration.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.Contracts/EventType.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.Contracts/Internal/Error.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.Contracts/Internal/ExitNotification.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.Contracts/Internal/HostingErrorNotification.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.Contracts/Internal/ShutdownRequest.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.Contracts/Microsoft.SqlTools.Hosting.Contracts.csproj (100%) rename {src => external}/Microsoft.SqlTools.Hosting.Contracts/RequestType.cs (100%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/CommonObjects.cs (99%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/Contracts/Utilities/FlagsIntConverterTests.cs (96%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/Contracts/Utilities/FlagsStringConverterTests.cs (96%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/ExtensibilityTests/ServiceProviderTests.cs (99%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/Microsoft.SqlTools.Hosting.UnitTests.csproj (100%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/EventContextTests.cs (99%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/JsonRpcHostTests.cs (99%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageReaderTests.cs (99%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageTests.cs (100%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageWriterTests.cs (99%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/RequestContextTests.cs (99%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/ServiceHostTests/ExtensibleServiceHostTest.cs (100%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/ServiceHostTests/ServiceHostTests.cs (99%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/TaskExtensions.cs (100%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/UtilityTests/AsyncLockTests.cs (100%) rename {test => external}/Microsoft.SqlTools.Hosting.UnitTests/UtilityTests/LoggerTests.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Channels/ChannelBase.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Channels/StdioClientChannel.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Channels/StdioServerChannel.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Extensibility/ExportStandardMetadataAttribute.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Extensibility/ExtensionServiceProvider.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Extensibility/IComposableService.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Extensibility/IHostedService.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Extensibility/IMultiServiceProvider.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Extensibility/IStandardMetadata.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Extensibility/RegisteredServiceProvider.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/ExtensibleServiceHost.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/IServiceHost.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Localization/sr.cs (96%) mode change 100755 => 100644 rename {src => external}/Microsoft.SqlTools.Hosting.v2/Localization/sr.resx (97%) mode change 100755 => 100644 rename {src => external}/Microsoft.SqlTools.Hosting.v2/Localization/sr.strings (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Localization/sr.xlf (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Microsoft.SqlTools.Hosting.v2.csproj (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Properties/AssemblyInfo.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Protocol/EventContext.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Protocol/Exceptions.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Protocol/IEventSender.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Protocol/IJsonRpcHost.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Protocol/IMessageDispatcher.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Protocol/IRequestSender.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Protocol/JsonRpcHost.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Protocol/Message.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Protocol/MessageReader.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Protocol/MessageWriter.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Protocol/RequestContext.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/ServiceHost.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Utility/AsyncLock.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Utility/CommandOptions.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Utility/Extensions.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Utility/Logger.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Utility/ServiceProviderNotSetException.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Utility/TaskExtensions.cs (100%) rename {src => external}/Microsoft.SqlTools.Hosting.v2/Utility/Validate.cs (100%) mode change 100755 => 100644 src/Microsoft.SqlTools.ResourceProvider.Core/Localization/sr.cs mode change 100755 => 100644 src/Microsoft.SqlTools.ResourceProvider.Core/Localization/sr.resx mode change 100755 => 100644 src/Microsoft.SqlTools.ResourceProvider.DefaultImpl/Localization/sr.cs mode change 100755 => 100644 src/Microsoft.SqlTools.ResourceProvider.DefaultImpl/Localization/sr.resx diff --git a/build.json b/build.json index 5f5d8070..7d537d80 100644 --- a/build.json +++ b/build.json @@ -25,9 +25,6 @@ "Microsoft.SqlTools.ServiceLayer" ], "PackageProjects": [ - "Microsoft.SqlTools.CoreServices", - "Microsoft.SqlTools.DataProtocol.Contracts", - "Microsoft.SqlTools.Hosting.Contracts", - "Microsoft.SqlTools.Hosting.v2" + "Microsoft.SqlTools.Hosting" ] } \ No newline at end of file diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/CancelTokenKey.cs b/external/Microsoft.SqlTools.CoreServices/Connection/CancelTokenKey.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/CancelTokenKey.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/CancelTokenKey.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ConnectParamsExtensions.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ConnectParamsExtensions.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ConnectParamsExtensions.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ConnectParamsExtensions.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ConnectionInfo.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ConnectionInfo.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ConnectionInfo.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ConnectionInfo.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ConnectionServiceCore.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ConnectionServiceCore.cs similarity index 97% rename from src/Microsoft.SqlTools.CoreServices/Connection/ConnectionServiceCore.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ConnectionServiceCore.cs index 8b4aba4f..96a5ca6d 100644 --- a/src/Microsoft.SqlTools.CoreServices/Connection/ConnectionServiceCore.cs +++ b/external/Microsoft.SqlTools.CoreServices/Connection/ConnectionServiceCore.cs @@ -1,1317 +1,1317 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. -// - -using System; -using System.Collections.Concurrent; -using System.Collections.Generic; -using System.Data; -using System.Data.Common; -using Microsoft.Data.SqlClient; -using System.Globalization; -using System.Linq; -using System.Threading; -using System.Threading.Tasks; -using Microsoft.SqlTools.DataProtocol.Contracts.Connection; -using Microsoft.SqlTools.CoreServices.Connection.ReliableConnection; -using Microsoft.SqlTools.CoreServices.LanguageServices; -using Microsoft.SqlServer.Management.Common; -using Microsoft.SqlTools.Hosting.Utility; -using Microsoft.SqlTools.Hosting; -using Microsoft.SqlTools.Hosting.Protocol; -using Microsoft.SqlTools.CoreServices.LanguageServices.Contracts; -using ConnectionType = Microsoft.SqlTools.DataProtocol.Contracts.Connection.ConnectionType; -using Microsoft.SqlTools.Hosting.Extensibility; -using System.Composition; -using System.Diagnostics; - -namespace Microsoft.SqlTools.CoreServices.Connection -{ - /// - /// Core Connection Management services, not including hosted service implementation - /// - [Export(typeof(ConnectionServiceCore))] - public class ConnectionServiceCore : IComposableService - { - public const string AdminConnectionPrefix = "ADMIN:"; - private const string SqlAzureEdition = "SQL Azure"; - - - /// - /// The SQL connection factory object - /// - private ISqlConnectionFactory connectionFactory; - - private DatabaseLocksManager lockedDatabaseManager; - - private readonly Dictionary ownerToConnectionMap = new Dictionary(); - - /// - /// A map containing all CancellationTokenSource objects that are associated with a given URI/ConnectionType pair. - /// Entries in this map correspond to DbConnection instances that are in the process of connecting. - /// - private readonly ConcurrentDictionary cancelTupleToCancellationTokenSourceMap = - new ConcurrentDictionary(); - - private readonly object cancellationTokenSourceLock = new object(); - - private ConcurrentDictionary connectedQueues = new ConcurrentDictionary(); - - private IMultiServiceProvider serviceProvider; - - /// - /// Default constructor should be private since it's a singleton class, but we need a constructor - /// for use in unit test mocking. - /// - public ConnectionServiceCore() - { - var defaultQueue = new ConnectedBindingQueue(needsMetadata: false); - connectedQueues.AddOrUpdate(ConnectionType.Default, defaultQueue, (key, old) => defaultQueue); - this.LockedDatabaseManager.ConnectionService = this; - } - - /// - /// Test constructor that injects dependency interfaces - /// - /// - public ConnectionServiceCore(ISqlConnectionFactory testFactory) - { - this.connectionFactory = testFactory; - } - - public void SetServiceProvider(IMultiServiceProvider provider) - { - this.serviceProvider = provider; - } - - - /// - /// Map from script URIs to ConnectionInfo objects - /// This is internal for testing access only - /// - internal Dictionary OwnerToConnectionMap - { - get - { - return this.ownerToConnectionMap; - } - } - - /// - /// Database Lock manager instance - /// - internal DatabaseLocksManager LockedDatabaseManager - { - get - { - if (lockedDatabaseManager == null) - { - lockedDatabaseManager = DatabaseLocksManager.Instance; - } - return lockedDatabaseManager; - } - set - { - this.lockedDatabaseManager = value; - } - } - - /// - /// Gets the connection queue - /// - internal IConnectedBindingQueue ConnectionQueue - { - get - { - return this.GetConnectedQueue("Default"); - } - } - - /// - /// Returns a connection queue for given type - /// - /// - /// - public IConnectedBindingQueue GetConnectedQueue(string type) - { - IConnectedBindingQueue connectedBindingQueue; - if (connectedQueues.TryGetValue(type, out connectedBindingQueue)) - { - return connectedBindingQueue; - } - return null; - } - - /// - /// Returns all the connection queues - /// - public IEnumerable ConnectedQueues - { - get - { - return this.connectedQueues.Values; - } - } - - /// - /// Register a new connection queue if not already registered - /// - /// - /// - public virtual void RegisterConnectedQueue(string type, IConnectedBindingQueue connectedQueue) - { - if (!connectedQueues.ContainsKey(type)) - { - connectedQueues.AddOrUpdate(type, connectedQueue, (key, old) => connectedQueue); - } - } - - /// - /// Callback for onconnection handler - /// - /// - public delegate Task OnConnectionHandler(ConnectionInfo info); - - /// - /// Callback for ondisconnect handler - /// - public delegate Task OnDisconnectHandler(IConnectionSummary summary, string ownerUri); - - /// - /// List of onconnection handlers - /// - private readonly List onConnectionActivities = new List(); - - /// - /// List of ondisconnect handlers - /// - private readonly List onDisconnectActivities = new List(); - - /// - /// Gets the SQL connection factory instance - /// - public ISqlConnectionFactory ConnectionFactory - { - get - { - if (this.connectionFactory == null) - { - this.connectionFactory = new SqlConnectionFactory(); - } - return this.connectionFactory; - } - - internal set { this.connectionFactory = value; } - } - - // Attempts to link a URI to an actively used connection for this URI - public virtual bool TryFindConnection(string ownerUri, out ConnectionInfo connectionInfo) - { - return this.ownerToConnectionMap.TryGetValue(ownerUri, out connectionInfo); - } - - /// - /// Validates the given ConnectParams object. - /// - /// The params to validate - /// A ConnectionCompleteParams object upon validation error, - /// null upon validation success - public ConnectionCompleteParams ValidateConnectParams(ConnectParams connectionParams) - { - string paramValidationErrorMessage; - if (connectionParams == null) - { - return new ConnectionCompleteParams - { - Messages = SR.ConnectionServiceConnectErrorNullParams - }; - } - if (!connectionParams.IsValid(out paramValidationErrorMessage)) - { - return new ConnectionCompleteParams - { - OwnerUri = connectionParams.OwnerUri, - Messages = paramValidationErrorMessage - }; - } - - // return null upon success - return null; - } - - /// - /// Open a connection with the specified ConnectParams - /// - public virtual async Task Connect(ConnectParams connectionParams) - { - // Validate parameters - ConnectionCompleteParams validationResults = ValidateConnectParams(connectionParams); - if (validationResults != null) - { - return validationResults; - } - - TrySetConnectionType(connectionParams); - - connectionParams.Connection.ApplicationName = GetApplicationNameWithFeature(connectionParams.Connection.ApplicationName, connectionParams.Purpose); - // If there is no ConnectionInfo in the map, create a new ConnectionInfo, - // but wait until later when we are connected to add it to the map. - ConnectionInfo connectionInfo; - bool connectionChanged = false; - if (!ownerToConnectionMap.TryGetValue(connectionParams.OwnerUri, out connectionInfo)) - { - connectionInfo = new ConnectionInfo(ConnectionFactory, connectionParams.OwnerUri, connectionParams.Connection); - } - else if (IsConnectionChanged(connectionParams, connectionInfo)) - { - // We are actively changing the connection information for this connection. We must disconnect - // all active connections, since it represents a full context change - connectionChanged = true; - } - - DisconnectExistingConnectionIfNeeded(connectionParams, connectionInfo, disconnectAll: connectionChanged); - - if (connectionChanged) - { - connectionInfo = new ConnectionInfo(ConnectionFactory, connectionParams.OwnerUri, connectionParams.Connection); - } - - // Try to open a connection with the given ConnectParams - ConnectionCompleteParams response = await TryOpenConnection(connectionInfo, connectionParams); - if (response != null) - { - return response; - } - - // If this is the first connection for this URI, add the ConnectionInfo to the map - bool addToMap = connectionChanged || !ownerToConnectionMap.ContainsKey(connectionParams.OwnerUri); - if (addToMap) - { - ownerToConnectionMap[connectionParams.OwnerUri] = connectionInfo; - } - - // Return information about the connected SQL Server instance - ConnectionCompleteParams completeParams = GetConnectionCompleteParams(connectionParams.Type, connectionInfo); - // Invoke callback notifications - InvokeOnConnectionActivities(connectionInfo, connectionParams); - - TryCloseConnectionTemporaryConnection(connectionParams, connectionInfo); - - return completeParams; - } - - private void TryCloseConnectionTemporaryConnection(ConnectParams connectionParams, ConnectionInfo connectionInfo) - { - try - { - if (connectionParams.Purpose == ConnectionType.ObjectExplorer || connectionParams.Purpose == ConnectionType.Dashboard || connectionParams.Purpose == ConnectionType.GeneralConnection) - { - DbConnection connection; - string type = connectionParams.Type; - if (connectionInfo.TryGetConnection(type, out connection)) - { - // OE doesn't need to keep the connection open - connection.Close(); - } - } - } - catch (Exception ex) - { - Logger.Write(TraceEventType.Information, "Failed to close temporary connections. error: " + ex.Message); - } - } - - private static string GetApplicationNameWithFeature(string applicationName, string featureName) - { - string appNameWithFeature = applicationName; - - if (!string.IsNullOrWhiteSpace(applicationName) && !string.IsNullOrWhiteSpace(featureName)) - { - int index = applicationName.IndexOf('-'); - string appName = applicationName; - if (index > 0) - { - appName = applicationName.Substring(0, index); - } - appNameWithFeature = $"{appName}-{featureName}"; - } - - return appNameWithFeature; - } - - private void TrySetConnectionType(ConnectParams connectionParams) - { - if (connectionParams != null && connectionParams.Type == ConnectionType.Default && !string.IsNullOrWhiteSpace(connectionParams.OwnerUri)) - { - if (connectionParams.OwnerUri.ToLowerInvariant().StartsWith("dashboard://")) - { - connectionParams.Purpose = ConnectionType.Dashboard; - } - else if (connectionParams.OwnerUri.ToLowerInvariant().StartsWith("connection://")) - { - connectionParams.Purpose = ConnectionType.GeneralConnection; - } - } - else if (connectionParams != null) - { - connectionParams.Purpose = connectionParams.Type; - } - } - - private bool IsConnectionChanged(ConnectParams connectionParams, ConnectionInfo connectionInfo) - { - if (connectionInfo.HasConnectionType(connectionParams.Type) - && !connectionInfo.ConnectionDetails.IsComparableTo(connectionParams.Connection)) - { - return true; - } - return false; - } - - private bool IsDefaultConnectionType(string connectionType) - { - return string.IsNullOrEmpty(connectionType) || ConnectionType.Default.Equals(connectionType, StringComparison.CurrentCultureIgnoreCase); - } - - private void DisconnectExistingConnectionIfNeeded(ConnectParams connectionParams, ConnectionInfo connectionInfo, bool disconnectAll) - { - // Resolve if it is an existing connection - // Disconnect active connection if the URI is already connected for this connection type - DbConnection existingConnection; - if (connectionInfo.TryGetConnection(connectionParams.Type, out existingConnection)) - { - var disconnectParams = new DisconnectParams() - { - OwnerUri = connectionParams.OwnerUri, - Type = disconnectAll ? null : connectionParams.Type - }; - Disconnect(disconnectParams); - } - } - - /// - /// Creates a ConnectionCompleteParams as a response to a successful connection. - /// Also sets the DatabaseName and IsAzure properties of ConnectionInfo. - /// - /// A ConnectionCompleteParams in response to the successful connection - private ConnectionCompleteParams GetConnectionCompleteParams(string connectionType, ConnectionInfo connectionInfo) - { - ConnectionCompleteParams response = new ConnectionCompleteParams { OwnerUri = connectionInfo.OwnerUri, Type = connectionType }; - - try - { - DbConnection connection; - connectionInfo.TryGetConnection(connectionType, out connection); - - // Update with the actual database name in connectionInfo and result - // Doing this here as we know the connection is open - expect to do this only on connecting - connectionInfo.ConnectionDetails.DatabaseName = connection.Database; - if (!string.IsNullOrEmpty(connectionInfo.ConnectionDetails.ConnectionString)) - { - // If the connection was set up with a connection string, use the connection string to get the details - var connectionString = new SqlConnectionStringBuilder(connection.ConnectionString); - response.ConnectionSummary = new ConnectionSummary - { - ServerName = connectionString.DataSource, - DatabaseName = connectionString.InitialCatalog, - UserName = connectionString.UserID - }; - } - else - { - response.ConnectionSummary = new ConnectionSummary - { - ServerName = connectionInfo.ConnectionDetails.ServerName, - DatabaseName = connectionInfo.ConnectionDetails.DatabaseName, - UserName = connectionInfo.ConnectionDetails.UserName - }; - } - - response.ConnectionId = connectionInfo.ConnectionId.ToString(); - - var reliableConnection = connection as ReliableSqlConnection; - DbConnection underlyingConnection = reliableConnection != null - ? reliableConnection.GetUnderlyingConnection() - : connection; - - ReliableConnectionHelper.ServerInfo serverInfo = ReliableConnectionHelper.GetServerVersion(underlyingConnection); - response.ServerInfo = new ServerInfo - { - ServerMajorVersion = serverInfo.ServerMajorVersion, - ServerMinorVersion = serverInfo.ServerMinorVersion, - ServerReleaseVersion = serverInfo.ServerReleaseVersion, - EngineEditionId = serverInfo.EngineEditionId, - ServerVersion = serverInfo.ServerVersion, - ServerLevel = serverInfo.ServerLevel, - ServerEdition = MapServerEdition(serverInfo), - IsCloud = serverInfo.IsCloud, - AzureVersion = serverInfo.AzureVersion, - OsVersion = serverInfo.OsVersion, - MachineName = serverInfo.MachineName - }; - connectionInfo.IsCloud = serverInfo.IsCloud; - connectionInfo.MajorVersion = serverInfo.ServerMajorVersion; - connectionInfo.IsSqlDb = serverInfo.EngineEditionId == (int)DatabaseEngineEdition.SqlDatabase; - connectionInfo.IsSqlDW = (serverInfo.EngineEditionId == (int)DatabaseEngineEdition.SqlDataWarehouse); - } - catch (Exception ex) - { - response.Messages = ex.ToString(); - } - - return response; - } - - private string MapServerEdition(ReliableConnectionHelper.ServerInfo serverInfo) - { - string serverEdition = serverInfo.ServerEdition; - if (string.IsNullOrWhiteSpace(serverEdition)) - { - return string.Empty; - } - if (SqlAzureEdition.Equals(serverEdition, StringComparison.OrdinalIgnoreCase)) - { - switch(serverInfo.EngineEditionId) - { - case (int) DatabaseEngineEdition.SqlDataWarehouse: - serverEdition = SR.AzureSqlDwEdition; - break; - case (int)DatabaseEngineEdition.SqlStretchDatabase: - serverEdition = SR.AzureSqlStretchEdition; - break; - case (int)DatabaseEngineEdition.SqlOnDemand: - serverEdition = SR.AzureSqlAnalyticsOnDemandEdition; - break; - default: - serverEdition = SR.AzureSqlDbEdition; - break; - } - } - return serverEdition; - } - - /// - /// Tries to create and open a connection with the given ConnectParams. - /// - /// null upon success, a ConnectionCompleteParams detailing the error upon failure - private async Task TryOpenConnection(ConnectionInfo connectionInfo, ConnectParams connectionParams) - { - CancellationTokenSource source = null; - DbConnection connection = null; - CancelTokenKey cancelKey = new CancelTokenKey { OwnerUri = connectionParams.OwnerUri, Type = connectionParams.Type }; - ConnectionCompleteParams response = new ConnectionCompleteParams { OwnerUri = connectionInfo.OwnerUri, Type = connectionParams.Type }; - bool? currentPooling = connectionInfo.ConnectionDetails.Pooling; - - try - { - connectionInfo.ConnectionDetails.Pooling = false; - // build the connection string from the input parameters - string connectionString = BuildConnectionString(connectionInfo.ConnectionDetails); - - // create a sql connection instance - connection = connectionInfo.Factory.CreateSqlConnection(connectionString); - connectionInfo.AddConnection(connectionParams.Type, connection); - - // Add a cancellation token source so that the connection OpenAsync() can be cancelled - source = new CancellationTokenSource(); - // Locking here to perform two operations as one atomic operation - lock (cancellationTokenSourceLock) - { - // If the URI is currently connecting from a different request, cancel it before we try to connect - CancellationTokenSource currentSource; - if (cancelTupleToCancellationTokenSourceMap.TryGetValue(cancelKey, out currentSource)) - { - currentSource.Cancel(); - } - cancelTupleToCancellationTokenSourceMap[cancelKey] = source; - } - - // Open the connection - await connection.OpenAsync(source.Token); - } - catch (SqlException ex) - { - response.ErrorNumber = ex.Number; - response.ErrorMessage = ex.Message; - response.Messages = ex.ToString(); - return response; - } - catch (OperationCanceledException) - { - // OpenAsync was cancelled - response.Messages = SR.ConnectionServiceConnectionCanceled; - return response; - } - catch (Exception ex) - { - response.ErrorMessage = ex.Message; - response.Messages = ex.ToString(); - return response; - } - finally - { - // Remove our cancellation token from the map since we're no longer connecting - // Using a lock here to perform two operations as one atomic operation - lock (cancellationTokenSourceLock) - { - // Only remove the token from the map if it is the same one created by this request - CancellationTokenSource sourceValue; - if (cancelTupleToCancellationTokenSourceMap.TryGetValue(cancelKey, out sourceValue) && sourceValue == source) - { - cancelTupleToCancellationTokenSourceMap.TryRemove(cancelKey, out sourceValue); - } - source?.Dispose(); - } - if (connectionInfo != null && connectionInfo.ConnectionDetails != null) - { - connectionInfo.ConnectionDetails.Pooling = currentPooling; - } - } - - // Return null upon success - return null; - } - - /// - /// Gets the existing connection with the given URI and connection type string. If none exists, - /// creates a new connection. This cannot be used to create a default connection or to create a - /// connection if a default connection does not exist. - /// - /// URI identifying the resource mapped to this connection - /// - /// What the purpose for this connection is. A single resource - /// such as a SQL file may have multiple connections - one for Intellisense, another for query execution - /// - /// - /// Workaround for .Net Core clone connection issues: should persist security be used so that - /// when SMO clones connections it can do so without breaking on SQL Password connections. - /// This should be removed once the core issue is resolved and clone works as expected - /// - /// A DB connection for the connection type requested - public virtual async Task GetOrOpenConnection(string ownerUri, string connectionType, bool alwaysPersistSecurity = false) - { - Validate.IsNotNullOrEmptyString(nameof(ownerUri), ownerUri); - Validate.IsNotNullOrEmptyString(nameof(connectionType), connectionType); - - // Try to get the ConnectionInfo, if it exists - ConnectionInfo connectionInfo; - if (!ownerToConnectionMap.TryGetValue(ownerUri, out connectionInfo)) - { - throw new ArgumentOutOfRangeException(SR.ConnectionServiceListDbErrorNotConnected(ownerUri)); - } - - // Make sure a default connection exists - DbConnection connection; - DbConnection defaultConnection; - if (!connectionInfo.TryGetConnection(ConnectionType.Default, out defaultConnection)) - { - throw new InvalidOperationException(SR.ConnectionServiceDbErrorDefaultNotConnected(ownerUri)); - } - - if(IsDedicatedAdminConnection(connectionInfo.ConnectionDetails)) - { - // Since this is a dedicated connection only 1 is allowed at any time. Return the default connection for use in the requested action - connection = defaultConnection; - } - else - { - // Try to get the DbConnection and create if it doesn't already exist - if (!connectionInfo.TryGetConnection(connectionType, out connection) && ConnectionType.Default != connectionType) - { - connection = await TryOpenConnectionForConnectionType(ownerUri, connectionType, alwaysPersistSecurity, connectionInfo); - } - } - - VerifyConnectionOpen(connection); - - return connection; - } - - private async Task TryOpenConnectionForConnectionType(string ownerUri, string connectionType, - bool alwaysPersistSecurity, ConnectionInfo connectionInfo) - { - // If the DbConnection does not exist and is not the default connection, create one. - // We can't create the default (initial) connection here because we won't have a ConnectionDetails - // if Connect() has not yet been called. - bool? originalPersistSecurityInfo = connectionInfo.ConnectionDetails.PersistSecurityInfo; - if (alwaysPersistSecurity) - { - connectionInfo.ConnectionDetails.PersistSecurityInfo = true; - } - ConnectParams connectParams = new ConnectParams - { - OwnerUri = ownerUri, - Connection = connectionInfo.ConnectionDetails, - Type = connectionType - }; - try - { - await Connect(connectParams); - } - finally - { - connectionInfo.ConnectionDetails.PersistSecurityInfo = originalPersistSecurityInfo; - } - - DbConnection connection; - connectionInfo.TryGetConnection(connectionType, out connection); - return connection; - } - - private void VerifyConnectionOpen(DbConnection connection) - { - if (connection == null) - { - // Ignore this connection - return; - } - - if (connection.State != ConnectionState.Open) - { - // Note: this will fail and throw to the caller if something goes wrong. - // This seems the right thing to do but if this causes serviceability issues where stack trace - // is unexpected, might consider catching and allowing later code to fail. But given we want to get - // an opened connection for any action using this, it seems OK to handle in this manner - ClearPool(connection); - connection.Open(); - } - } - - /// - /// Clears the connection pool if this is a SqlConnection of some kind. - /// - private void ClearPool(DbConnection connection) - { - SqlConnection sqlConn; - if (TryGetAsSqlConnection(connection, out sqlConn)) - { - SqlConnection.ClearPool(sqlConn); - } - } - - private bool TryGetAsSqlConnection(DbConnection dbConn, out SqlConnection sqlConn) - { - ReliableSqlConnection reliableConn = dbConn as ReliableSqlConnection; - if (reliableConn != null) - { - sqlConn = reliableConn.GetUnderlyingConnection(); - } - else - { - sqlConn = dbConn as SqlConnection; - } - - return sqlConn != null; - } - - /// - /// Cancel a connection that is in the process of opening. - /// - public bool CancelConnect(CancelConnectParams cancelParams) - { - // Validate parameters - if (cancelParams == null || string.IsNullOrEmpty(cancelParams.OwnerUri)) - { - return false; - } - - CancelTokenKey cancelKey = new CancelTokenKey - { - OwnerUri = cancelParams.OwnerUri, - Type = cancelParams.Type - }; - - // Cancel any current connection attempts for this URI - CancellationTokenSource source; - if (cancelTupleToCancellationTokenSourceMap.TryGetValue(cancelKey, out source)) - { - try - { - source.Cancel(); - return true; - } - catch - { - return false; - } - } - - return false; - } - - /// - /// Close a connection with the specified connection details. - /// - public virtual bool Disconnect(DisconnectParams disconnectParams) - { - // Validate parameters - if (disconnectParams == null || string.IsNullOrEmpty(disconnectParams.OwnerUri)) - { - return false; - } - - // Cancel if we are in the middle of connecting - if (CancelConnections(disconnectParams.OwnerUri, disconnectParams.Type)) - { - return false; - } - - // Lookup the ConnectionInfo owned by the URI - ConnectionInfo info; - if (!ownerToConnectionMap.TryGetValue(disconnectParams.OwnerUri, out info)) - { - return false; - } - - // Call Close() on the connections we want to disconnect - // If no connections were located, return false - if (!CloseConnections(info, disconnectParams.Type)) - { - return false; - } - - // Remove the disconnected connections from the ConnectionInfo map - if (disconnectParams.Type == null) - { - info.RemoveAllConnections(); - } - else - { - info.RemoveConnection(disconnectParams.Type); - } - - // If the ConnectionInfo has no more connections, remove the ConnectionInfo - if (info.CountConnections == 0) - { - ownerToConnectionMap.Remove(disconnectParams.OwnerUri); - } - - // Handle Telemetry disconnect events if we are disconnecting the default connection - if (disconnectParams.Type == null || disconnectParams.Type == ConnectionType.Default) - { - HandleDisconnectTelemetry(info); - InvokeOnDisconnectionActivities(info); - } - - // Return true upon success - return true; - } - - /// - /// Cancel connections associated with the given ownerUri. - /// If connectionType is not null, cancel the connection with the given connectionType - /// If connectionType is null, cancel all pending connections associated with ownerUri. - /// - /// true if a single pending connection associated with the non-null connectionType was - /// found and cancelled, false otherwise - private bool CancelConnections(string ownerUri, string connectionType) - { - // Cancel the connection of the given type - if (connectionType != null) - { - // If we are trying to disconnect a specific connection and it was just cancelled, - // this will return true - return CancelConnect(new CancelConnectParams() { OwnerUri = ownerUri, Type = connectionType }); - } - - // Cancel all pending connections - foreach (var entry in cancelTupleToCancellationTokenSourceMap) - { - string entryConnectionUri = entry.Key.OwnerUri; - string entryConnectionType = entry.Key.Type; - if (ownerUri.Equals(entryConnectionUri)) - { - CancelConnect(new CancelConnectParams() { OwnerUri = ownerUri, Type = entryConnectionType }); - } - } - - return false; - } - - /// - /// Closes DbConnections associated with the given ConnectionInfo. - /// If connectionType is not null, closes the DbConnection with the type given by connectionType. - /// If connectionType is null, closes all DbConnections. - /// - /// true if connections were found and attempted to be closed, - /// false if no connections were found - private bool CloseConnections(ConnectionInfo connectionInfo, string connectionType) - { - ICollection connectionsToDisconnect = new List(); - if (connectionType == null) - { - connectionsToDisconnect = connectionInfo.AllConnections; - } - else - { - // Make sure there is an existing connection of this type - DbConnection connection; - if (!connectionInfo.TryGetConnection(connectionType, out connection)) - { - return false; - } - connectionsToDisconnect.Add(connection); - } - - if (connectionsToDisconnect.Count == 0) - { - return false; - } - - foreach (DbConnection connection in connectionsToDisconnect) - { - try - { - connection.Close(); - } - catch (Exception) - { - // Ignore - } - } - - return true; - } - - /// - /// List all databases on the server specified - /// - public ListDatabasesResponse ListDatabases(ListDatabasesParams listDatabasesParams) - { - // Verify parameters - var owner = listDatabasesParams.OwnerUri; - if (string.IsNullOrEmpty(owner)) - { - throw new ArgumentException(SR.ConnectionServiceListDbErrorNullOwnerUri); - } - - // Use the existing connection as a base for the search - ConnectionInfo info; - if (!TryFindConnection(owner, out info)) - { - throw new Exception(SR.ConnectionServiceListDbErrorNotConnected(owner)); - } - - ListDatabasesResponse response = new ListDatabasesResponse(); - response.DatabaseNames = ListDatabasesFromConnInfo(info); - - return response; - } - - public string[] ListDatabasesFromConnInfo(ConnectionInfo info, bool includeSystemDBs = true) - { - ConnectionDetails connectionDetails = info.ConnectionDetails.Clone(); - - // Connect to master and query sys.databases - connectionDetails.DatabaseName = "master"; - List dbNames = new List(); - - using (DbConnection connection = this.ConnectionFactory.CreateSqlConnection(BuildConnectionString(connectionDetails))) - using (DbCommand command = connection.CreateCommand()) - { - connection.Open(); - command.CommandText = @"SELECT name FROM sys.databases WHERE state_desc='ONLINE' ORDER BY name ASC"; - command.CommandTimeout = 15; - command.CommandType = CommandType.Text; - - using (DbDataReader reader = command.ExecuteReader()) - { - while (reader.Read()) - { - dbNames.Add(reader[0].ToString()); - } - } - } - - string[] results; - var systemDBSet = new HashSet(new[] {"master", "model", "msdb", "tempdb", "DWConfiguration", "DWDiagnostics", "DWQueue"}); - if (includeSystemDBs) - { - // Put system databases at the top of the list - results = - dbNames.Where(s => systemDBSet.Contains(s)) - .Concat(dbNames.Where(s => !systemDBSet.Contains(s))) - .ToArray(); - } - else - { - results = dbNames.Where(s => !systemDBSet.Contains(s)).ToArray(); - } - - return results; - } - - /// - /// Add a new method to be called when the onconnection request is submitted - /// - /// - public void RegisterOnConnectionTask(OnConnectionHandler activity) - { - onConnectionActivities.Add(activity); - } - - /// - /// Add a new method to be called when the ondisconnect request is submitted - /// - public void RegisterOnDisconnectTask(OnDisconnectHandler activity) - { - onDisconnectActivities.Add(activity); - } - - /// - /// Checks if a ConnectionDetails object represents a DAC connection - /// - /// - public static bool IsDedicatedAdminConnection(ConnectionDetails connectionDetails) - { - Validate.IsNotNull(nameof(connectionDetails), connectionDetails); - SqlConnectionStringBuilder builder = CreateConnectionStringBuilder(connectionDetails); - string serverName = builder.DataSource; - return serverName != null && serverName.StartsWith(AdminConnectionPrefix, StringComparison.OrdinalIgnoreCase); - } - - /// - /// Build a connection string from a connection details instance - /// - /// - public static string BuildConnectionString(ConnectionDetails connectionDetails) - { - return CreateConnectionStringBuilder(connectionDetails).ToString(); - } - - /// - /// Build a connection string builder a connection details instance - /// - /// - public static SqlConnectionStringBuilder CreateConnectionStringBuilder(ConnectionDetails connectionDetails) - { - SqlConnectionStringBuilder connectionBuilder; - - // If connectionDetails has a connection string already, use it to initialize the connection builder, then override any provided options. - // Otherwise use the server name, username, and password from the connection details. - if (!string.IsNullOrEmpty(connectionDetails.ConnectionString)) - { - connectionBuilder = new SqlConnectionStringBuilder(connectionDetails.ConnectionString); - } - else - { - // add alternate port to data source property if provided - string dataSource = !connectionDetails.Port.HasValue - ? connectionDetails.ServerName - : string.Format("{0},{1}", connectionDetails.ServerName, connectionDetails.Port.Value); - - connectionBuilder = new SqlConnectionStringBuilder - { - ["Data Source"] = dataSource, - ["User Id"] = connectionDetails.UserName, - ["Password"] = connectionDetails.Password - }; - } - - // Check for any optional parameters - if (!string.IsNullOrEmpty(connectionDetails.DatabaseName)) - { - connectionBuilder["Initial Catalog"] = connectionDetails.DatabaseName; - } - if (!string.IsNullOrEmpty(connectionDetails.AuthenticationType)) - { - switch(connectionDetails.AuthenticationType) - { - case "Integrated": - connectionBuilder.IntegratedSecurity = true; - break; - case "SqlLogin": - break; - case "ActiveDirectoryPassword": - connectionBuilder.Authentication = SqlAuthenticationMethod.ActiveDirectoryPassword; - break; - default: - throw new ArgumentException(SR.ConnectionServiceConnStringInvalidAuthType(connectionDetails.AuthenticationType)); - } - } - if (connectionDetails.Encrypt.HasValue) - { - connectionBuilder.Encrypt = connectionDetails.Encrypt.Value; - } - if (connectionDetails.TrustServerCertificate.HasValue) - { - connectionBuilder.TrustServerCertificate = connectionDetails.TrustServerCertificate.Value; - } - if (connectionDetails.PersistSecurityInfo.HasValue) - { - connectionBuilder.PersistSecurityInfo = connectionDetails.PersistSecurityInfo.Value; - } - if (connectionDetails.ConnectTimeout.HasValue) - { - connectionBuilder.ConnectTimeout = connectionDetails.ConnectTimeout.Value; - } - if (connectionDetails.ConnectRetryCount.HasValue) - { - connectionBuilder.ConnectRetryCount = connectionDetails.ConnectRetryCount.Value; - } - if (connectionDetails.ConnectRetryInterval.HasValue) - { - connectionBuilder.ConnectRetryInterval = connectionDetails.ConnectRetryInterval.Value; - } - if (!string.IsNullOrEmpty(connectionDetails.ApplicationName)) - { - connectionBuilder.ApplicationName = connectionDetails.ApplicationName; - } - if (!string.IsNullOrEmpty(connectionDetails.WorkstationId)) - { - connectionBuilder.WorkstationID = connectionDetails.WorkstationId; - } - if (!string.IsNullOrEmpty(connectionDetails.ApplicationIntent)) - { - ApplicationIntent intent; - switch (connectionDetails.ApplicationIntent) - { - case "ReadOnly": - intent = ApplicationIntent.ReadOnly; - break; - case "ReadWrite": - intent = ApplicationIntent.ReadWrite; - break; - default: - throw new ArgumentException(SR.ConnectionServiceConnStringInvalidIntent(connectionDetails.ApplicationIntent)); - } - connectionBuilder.ApplicationIntent = intent; - } - if (!string.IsNullOrEmpty(connectionDetails.CurrentLanguage)) - { - connectionBuilder.CurrentLanguage = connectionDetails.CurrentLanguage; - } - if (connectionDetails.Pooling.HasValue) - { - connectionBuilder.Pooling = connectionDetails.Pooling.Value; - } - if (connectionDetails.MaxPoolSize.HasValue) - { - connectionBuilder.MaxPoolSize = connectionDetails.MaxPoolSize.Value; - } - if (connectionDetails.MinPoolSize.HasValue) - { - connectionBuilder.MinPoolSize = connectionDetails.MinPoolSize.Value; - } - if (connectionDetails.LoadBalanceTimeout.HasValue) - { - connectionBuilder.LoadBalanceTimeout = connectionDetails.LoadBalanceTimeout.Value; - } - if (connectionDetails.Replication.HasValue) - { - connectionBuilder.Replication = connectionDetails.Replication.Value; - } - if (!string.IsNullOrEmpty(connectionDetails.AttachDbFilename)) - { - connectionBuilder.AttachDBFilename = connectionDetails.AttachDbFilename; - } - if (!string.IsNullOrEmpty(connectionDetails.FailoverPartner)) - { - connectionBuilder.FailoverPartner = connectionDetails.FailoverPartner; - } - if (connectionDetails.MultiSubnetFailover.HasValue) - { - connectionBuilder.MultiSubnetFailover = connectionDetails.MultiSubnetFailover.Value; - } - if (connectionDetails.MultipleActiveResultSets.HasValue) - { - connectionBuilder.MultipleActiveResultSets = connectionDetails.MultipleActiveResultSets.Value; - } - if (connectionDetails.PacketSize.HasValue) - { - connectionBuilder.PacketSize = connectionDetails.PacketSize.Value; - } - if (!string.IsNullOrEmpty(connectionDetails.TypeSystemVersion)) - { - connectionBuilder.TypeSystemVersion = connectionDetails.TypeSystemVersion; - } - connectionBuilder.Pooling = false; - - return connectionBuilder; - } - - /// - /// Change the database context of a connection. - /// - /// URI of the owner of the connection - /// Name of the database to change the connection to - public bool ChangeConnectionDatabaseContext(string ownerUri, string newDatabaseName, bool force = false) - { - ConnectionInfo info; - if (TryFindConnection(ownerUri, out info)) - { - try - { - info.ConnectionDetails.DatabaseName = newDatabaseName; - - foreach (string key in info.AllConnectionTypes) - { - DbConnection conn; - info.TryGetConnection(key, out conn); - if (conn != null && conn.Database != newDatabaseName && conn.State == ConnectionState.Open) - { - if (info.IsCloud && force) - { - conn.Close(); - conn.Dispose(); - info.RemoveConnection(key); - - string connectionString = BuildConnectionString(info.ConnectionDetails); - - // create a sql connection instance - DbConnection connection = info.Factory.CreateSqlConnection(connectionString); - connection.Open(); - info.AddConnection(key, connection); - } - else - { - conn.ChangeDatabase(newDatabaseName); - } - } - - } - - // Fire a connection changed event - ConnectionChangedParams parameters = new ConnectionChangedParams(); - IConnectionSummary summary = info.ConnectionDetails; - parameters.Connection = summary.Clone(); - parameters.OwnerUri = ownerUri; - SendUsingServiceHost((host) => host.SendEvent(ConnectionChangedNotification.Type, parameters)); - return true; - } - catch (Exception e) - { - Logger.Write( - TraceEventType.Error, - string.Format( - "Exception caught while trying to change database context to [{0}] for OwnerUri [{1}]. Exception:{2}", - newDatabaseName, - ownerUri, - e.ToString()) - ); - } - } - return false; - } - - /// - /// Invokes an action on the service host, if the host exists - /// - private void SendUsingServiceHost(Action send) - { - var serviceHost = serviceProvider.GetService(); - if (serviceHost != null) - { - send(serviceHost); - } - } - - /// - /// Invokes the initial on-connect activities if the provided ConnectParams represents the default - /// connection. - /// - private void InvokeOnConnectionActivities(ConnectionInfo connectionInfo, ConnectParams connectParams) - { - if (connectParams.Type != ConnectionType.Default && connectParams.Type != ConnectionType.GeneralConnection) - { - return; - } - - foreach (var activity in this.onConnectionActivities) - { - // not awaiting here to allow handlers to run in the background - activity(connectionInfo); - } - } - - /// - /// Invokes the final on-disconnect activities if the provided DisconnectParams represents the default - /// connection or is null - representing that all connections are being disconnected. - /// - private void InvokeOnDisconnectionActivities(ConnectionInfo connectionInfo) - { - foreach (var activity in this.onDisconnectActivities) - { - activity(connectionInfo.ConnectionDetails, connectionInfo.OwnerUri); - } - } - - /// - /// Handles the Telemetry events that occur upon disconnect. - /// - /// - private void HandleDisconnectTelemetry(ConnectionInfo connectionInfo) - { - SendUsingServiceHost(host => { - try - { - // Send a telemetry notification for intellisense performance metrics - host.SendEvent(TelemetryNotification.Type, new TelemetryParams() - { - Params = new TelemetryProperties - { - Properties = new Dictionary - { - { TelemetryPropertyNames.IsAzure, connectionInfo.IsCloud.ToOneOrZeroString() } - }, - EventName = TelemetryEventNames.IntellisenseQuantile, - Measures = connectionInfo.IntellisenseMetrics.Quantile - } - }); - } - catch (Exception ex) - { - Logger.Write(TraceEventType.Verbose, "Could not send Connection telemetry event " + ex.ToString()); - } - - }); - } - - /// - /// Create and open a new SqlConnection from a ConnectionInfo object - /// Note: we need to audit all uses of this method to determine why we're - /// bypassing normal ConnectionService connection management - /// - internal static SqlConnection OpenSqlConnection(ConnectionInfo connInfo, string featureName = null) - { - try - { - // capture original values - int? originalTimeout = connInfo.ConnectionDetails.ConnectTimeout; - bool? originalPersistSecurityInfo = connInfo.ConnectionDetails.PersistSecurityInfo; - bool? originalPooling = connInfo.ConnectionDetails.Pooling; - - // increase the connection timeout to at least 30 seconds and and build connection string - connInfo.ConnectionDetails.ConnectTimeout = Math.Max(30, originalTimeout ?? 0); - // enable PersistSecurityInfo to handle issues in SMO where the connection context is lost in reconnections - connInfo.ConnectionDetails.PersistSecurityInfo = true; - // turn off connection pool to avoid hold locks on server resources after calling SqlConnection Close method - connInfo.ConnectionDetails.Pooling = false; - connInfo.ConnectionDetails.ApplicationName = GetApplicationNameWithFeature(connInfo.ConnectionDetails.ApplicationName, featureName); - - // generate connection string - string connectionString = ConnectionServiceCore.BuildConnectionString(connInfo.ConnectionDetails); - - // restore original values - connInfo.ConnectionDetails.ConnectTimeout = originalTimeout; - connInfo.ConnectionDetails.PersistSecurityInfo = originalPersistSecurityInfo; - connInfo.ConnectionDetails.Pooling = originalPooling; - - // open a dedicated binding server connection - SqlConnection sqlConn = new SqlConnection(connectionString); - sqlConn.Open(); - return sqlConn; - } - catch (Exception ex) - { - string error = string.Format(CultureInfo.InvariantCulture, - "Failed opening a SqlConnection: error:{0} inner:{1} stacktrace:{2}", - ex.Message, ex.InnerException != null ? ex.InnerException.Message : string.Empty, ex.StackTrace); - Logger.Write(TraceEventType.Error, error); - } - - return null; - } - } -} +// +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// + +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Data; +using System.Data.Common; +using Microsoft.Data.SqlClient; +using System.Globalization; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.SqlTools.DataProtocol.Contracts.Connection; +using Microsoft.SqlTools.CoreServices.Connection.ReliableConnection; +using Microsoft.SqlTools.CoreServices.LanguageServices; +using Microsoft.SqlServer.Management.Common; +using Microsoft.SqlTools.Hosting.Utility; +using Microsoft.SqlTools.Hosting; +using Microsoft.SqlTools.Hosting.Protocol; +using Microsoft.SqlTools.CoreServices.LanguageServices.Contracts; +using ConnectionType = Microsoft.SqlTools.DataProtocol.Contracts.Connection.ConnectionType; +using Microsoft.SqlTools.Hosting.Extensibility; +using System.Composition; +using System.Diagnostics; + +namespace Microsoft.SqlTools.CoreServices.Connection +{ + /// + /// Core Connection Management services, not including hosted service implementation + /// + [Export(typeof(ConnectionServiceCore))] + public class ConnectionServiceCore : IComposableService + { + public const string AdminConnectionPrefix = "ADMIN:"; + private const string SqlAzureEdition = "SQL Azure"; + + + /// + /// The SQL connection factory object + /// + private ISqlConnectionFactory connectionFactory; + + private DatabaseLocksManager lockedDatabaseManager; + + private readonly Dictionary ownerToConnectionMap = new Dictionary(); + + /// + /// A map containing all CancellationTokenSource objects that are associated with a given URI/ConnectionType pair. + /// Entries in this map correspond to DbConnection instances that are in the process of connecting. + /// + private readonly ConcurrentDictionary cancelTupleToCancellationTokenSourceMap = + new ConcurrentDictionary(); + + private readonly object cancellationTokenSourceLock = new object(); + + private ConcurrentDictionary connectedQueues = new ConcurrentDictionary(); + + private IMultiServiceProvider serviceProvider; + + /// + /// Default constructor should be private since it's a singleton class, but we need a constructor + /// for use in unit test mocking. + /// + public ConnectionServiceCore() + { + var defaultQueue = new ConnectedBindingQueue(needsMetadata: false); + connectedQueues.AddOrUpdate(ConnectionType.Default, defaultQueue, (key, old) => defaultQueue); + this.LockedDatabaseManager.ConnectionService = this; + } + + /// + /// Test constructor that injects dependency interfaces + /// + /// + public ConnectionServiceCore(ISqlConnectionFactory testFactory) + { + this.connectionFactory = testFactory; + } + + public void SetServiceProvider(IMultiServiceProvider provider) + { + this.serviceProvider = provider; + } + + + /// + /// Map from script URIs to ConnectionInfo objects + /// This is internal for testing access only + /// + internal Dictionary OwnerToConnectionMap + { + get + { + return this.ownerToConnectionMap; + } + } + + /// + /// Database Lock manager instance + /// + internal DatabaseLocksManager LockedDatabaseManager + { + get + { + if (lockedDatabaseManager == null) + { + lockedDatabaseManager = DatabaseLocksManager.Instance; + } + return lockedDatabaseManager; + } + set + { + this.lockedDatabaseManager = value; + } + } + + /// + /// Gets the connection queue + /// + internal IConnectedBindingQueue ConnectionQueue + { + get + { + return this.GetConnectedQueue("Default"); + } + } + + /// + /// Returns a connection queue for given type + /// + /// + /// + public IConnectedBindingQueue GetConnectedQueue(string type) + { + IConnectedBindingQueue connectedBindingQueue; + if (connectedQueues.TryGetValue(type, out connectedBindingQueue)) + { + return connectedBindingQueue; + } + return null; + } + + /// + /// Returns all the connection queues + /// + public IEnumerable ConnectedQueues + { + get + { + return this.connectedQueues.Values; + } + } + + /// + /// Register a new connection queue if not already registered + /// + /// + /// + public virtual void RegisterConnectedQueue(string type, IConnectedBindingQueue connectedQueue) + { + if (!connectedQueues.ContainsKey(type)) + { + connectedQueues.AddOrUpdate(type, connectedQueue, (key, old) => connectedQueue); + } + } + + /// + /// Callback for onconnection handler + /// + /// + public delegate Task OnConnectionHandler(ConnectionInfo info); + + /// + /// Callback for ondisconnect handler + /// + public delegate Task OnDisconnectHandler(IConnectionSummary summary, string ownerUri); + + /// + /// List of onconnection handlers + /// + private readonly List onConnectionActivities = new List(); + + /// + /// List of ondisconnect handlers + /// + private readonly List onDisconnectActivities = new List(); + + /// + /// Gets the SQL connection factory instance + /// + public ISqlConnectionFactory ConnectionFactory + { + get + { + if (this.connectionFactory == null) + { + this.connectionFactory = new SqlConnectionFactory(); + } + return this.connectionFactory; + } + + internal set { this.connectionFactory = value; } + } + + // Attempts to link a URI to an actively used connection for this URI + public virtual bool TryFindConnection(string ownerUri, out ConnectionInfo connectionInfo) + { + return this.ownerToConnectionMap.TryGetValue(ownerUri, out connectionInfo); + } + + /// + /// Validates the given ConnectParams object. + /// + /// The params to validate + /// A ConnectionCompleteParams object upon validation error, + /// null upon validation success + public ConnectionCompleteParams ValidateConnectParams(ConnectParams connectionParams) + { + string paramValidationErrorMessage; + if (connectionParams == null) + { + return new ConnectionCompleteParams + { + Messages = SR.ConnectionServiceConnectErrorNullParams + }; + } + if (!connectionParams.IsValid(out paramValidationErrorMessage)) + { + return new ConnectionCompleteParams + { + OwnerUri = connectionParams.OwnerUri, + Messages = paramValidationErrorMessage + }; + } + + // return null upon success + return null; + } + + /// + /// Open a connection with the specified ConnectParams + /// + public virtual async Task Connect(ConnectParams connectionParams) + { + // Validate parameters + ConnectionCompleteParams validationResults = ValidateConnectParams(connectionParams); + if (validationResults != null) + { + return validationResults; + } + + TrySetConnectionType(connectionParams); + + connectionParams.Connection.ApplicationName = GetApplicationNameWithFeature(connectionParams.Connection.ApplicationName, connectionParams.Purpose); + // If there is no ConnectionInfo in the map, create a new ConnectionInfo, + // but wait until later when we are connected to add it to the map. + ConnectionInfo connectionInfo; + bool connectionChanged = false; + if (!ownerToConnectionMap.TryGetValue(connectionParams.OwnerUri, out connectionInfo)) + { + connectionInfo = new ConnectionInfo(ConnectionFactory, connectionParams.OwnerUri, connectionParams.Connection); + } + else if (IsConnectionChanged(connectionParams, connectionInfo)) + { + // We are actively changing the connection information for this connection. We must disconnect + // all active connections, since it represents a full context change + connectionChanged = true; + } + + DisconnectExistingConnectionIfNeeded(connectionParams, connectionInfo, disconnectAll: connectionChanged); + + if (connectionChanged) + { + connectionInfo = new ConnectionInfo(ConnectionFactory, connectionParams.OwnerUri, connectionParams.Connection); + } + + // Try to open a connection with the given ConnectParams + ConnectionCompleteParams response = await TryOpenConnection(connectionInfo, connectionParams); + if (response != null) + { + return response; + } + + // If this is the first connection for this URI, add the ConnectionInfo to the map + bool addToMap = connectionChanged || !ownerToConnectionMap.ContainsKey(connectionParams.OwnerUri); + if (addToMap) + { + ownerToConnectionMap[connectionParams.OwnerUri] = connectionInfo; + } + + // Return information about the connected SQL Server instance + ConnectionCompleteParams completeParams = GetConnectionCompleteParams(connectionParams.Type, connectionInfo); + // Invoke callback notifications + InvokeOnConnectionActivities(connectionInfo, connectionParams); + + TryCloseConnectionTemporaryConnection(connectionParams, connectionInfo); + + return completeParams; + } + + private void TryCloseConnectionTemporaryConnection(ConnectParams connectionParams, ConnectionInfo connectionInfo) + { + try + { + if (connectionParams.Purpose == ConnectionType.ObjectExplorer || connectionParams.Purpose == ConnectionType.Dashboard || connectionParams.Purpose == ConnectionType.GeneralConnection) + { + DbConnection connection; + string type = connectionParams.Type; + if (connectionInfo.TryGetConnection(type, out connection)) + { + // OE doesn't need to keep the connection open + connection.Close(); + } + } + } + catch (Exception ex) + { + Logger.Write(TraceEventType.Information, "Failed to close temporary connections. error: " + ex.Message); + } + } + + private static string GetApplicationNameWithFeature(string applicationName, string featureName) + { + string appNameWithFeature = applicationName; + + if (!string.IsNullOrWhiteSpace(applicationName) && !string.IsNullOrWhiteSpace(featureName)) + { + int index = applicationName.IndexOf('-'); + string appName = applicationName; + if (index > 0) + { + appName = applicationName.Substring(0, index); + } + appNameWithFeature = $"{appName}-{featureName}"; + } + + return appNameWithFeature; + } + + private void TrySetConnectionType(ConnectParams connectionParams) + { + if (connectionParams != null && connectionParams.Type == ConnectionType.Default && !string.IsNullOrWhiteSpace(connectionParams.OwnerUri)) + { + if (connectionParams.OwnerUri.ToLowerInvariant().StartsWith("dashboard://")) + { + connectionParams.Purpose = ConnectionType.Dashboard; + } + else if (connectionParams.OwnerUri.ToLowerInvariant().StartsWith("connection://")) + { + connectionParams.Purpose = ConnectionType.GeneralConnection; + } + } + else if (connectionParams != null) + { + connectionParams.Purpose = connectionParams.Type; + } + } + + private bool IsConnectionChanged(ConnectParams connectionParams, ConnectionInfo connectionInfo) + { + if (connectionInfo.HasConnectionType(connectionParams.Type) + && !connectionInfo.ConnectionDetails.IsComparableTo(connectionParams.Connection)) + { + return true; + } + return false; + } + + private bool IsDefaultConnectionType(string connectionType) + { + return string.IsNullOrEmpty(connectionType) || ConnectionType.Default.Equals(connectionType, StringComparison.CurrentCultureIgnoreCase); + } + + private void DisconnectExistingConnectionIfNeeded(ConnectParams connectionParams, ConnectionInfo connectionInfo, bool disconnectAll) + { + // Resolve if it is an existing connection + // Disconnect active connection if the URI is already connected for this connection type + DbConnection existingConnection; + if (connectionInfo.TryGetConnection(connectionParams.Type, out existingConnection)) + { + var disconnectParams = new DisconnectParams() + { + OwnerUri = connectionParams.OwnerUri, + Type = disconnectAll ? null : connectionParams.Type + }; + Disconnect(disconnectParams); + } + } + + /// + /// Creates a ConnectionCompleteParams as a response to a successful connection. + /// Also sets the DatabaseName and IsAzure properties of ConnectionInfo. + /// + /// A ConnectionCompleteParams in response to the successful connection + private ConnectionCompleteParams GetConnectionCompleteParams(string connectionType, ConnectionInfo connectionInfo) + { + ConnectionCompleteParams response = new ConnectionCompleteParams { OwnerUri = connectionInfo.OwnerUri, Type = connectionType }; + + try + { + DbConnection connection; + connectionInfo.TryGetConnection(connectionType, out connection); + + // Update with the actual database name in connectionInfo and result + // Doing this here as we know the connection is open - expect to do this only on connecting + connectionInfo.ConnectionDetails.DatabaseName = connection.Database; + if (!string.IsNullOrEmpty(connectionInfo.ConnectionDetails.ConnectionString)) + { + // If the connection was set up with a connection string, use the connection string to get the details + var connectionString = new SqlConnectionStringBuilder(connection.ConnectionString); + response.ConnectionSummary = new ConnectionSummary + { + ServerName = connectionString.DataSource, + DatabaseName = connectionString.InitialCatalog, + UserName = connectionString.UserID + }; + } + else + { + response.ConnectionSummary = new ConnectionSummary + { + ServerName = connectionInfo.ConnectionDetails.ServerName, + DatabaseName = connectionInfo.ConnectionDetails.DatabaseName, + UserName = connectionInfo.ConnectionDetails.UserName + }; + } + + response.ConnectionId = connectionInfo.ConnectionId.ToString(); + + var reliableConnection = connection as ReliableSqlConnection; + DbConnection underlyingConnection = reliableConnection != null + ? reliableConnection.GetUnderlyingConnection() + : connection; + + ReliableConnectionHelper.ServerInfo serverInfo = ReliableConnectionHelper.GetServerVersion(underlyingConnection); + response.ServerInfo = new ServerInfo + { + ServerMajorVersion = serverInfo.ServerMajorVersion, + ServerMinorVersion = serverInfo.ServerMinorVersion, + ServerReleaseVersion = serverInfo.ServerReleaseVersion, + EngineEditionId = serverInfo.EngineEditionId, + ServerVersion = serverInfo.ServerVersion, + ServerLevel = serverInfo.ServerLevel, + ServerEdition = MapServerEdition(serverInfo), + IsCloud = serverInfo.IsCloud, + AzureVersion = serverInfo.AzureVersion, + OsVersion = serverInfo.OsVersion, + MachineName = serverInfo.MachineName + }; + connectionInfo.IsCloud = serverInfo.IsCloud; + connectionInfo.MajorVersion = serverInfo.ServerMajorVersion; + connectionInfo.IsSqlDb = serverInfo.EngineEditionId == (int)DatabaseEngineEdition.SqlDatabase; + connectionInfo.IsSqlDW = (serverInfo.EngineEditionId == (int)DatabaseEngineEdition.SqlDataWarehouse); + } + catch (Exception ex) + { + response.Messages = ex.ToString(); + } + + return response; + } + + private string MapServerEdition(ReliableConnectionHelper.ServerInfo serverInfo) + { + string serverEdition = serverInfo.ServerEdition; + if (string.IsNullOrWhiteSpace(serverEdition)) + { + return string.Empty; + } + if (SqlAzureEdition.Equals(serverEdition, StringComparison.OrdinalIgnoreCase)) + { + switch(serverInfo.EngineEditionId) + { + case (int) DatabaseEngineEdition.SqlDataWarehouse: + serverEdition = SR.AzureSqlDwEdition; + break; + case (int)DatabaseEngineEdition.SqlStretchDatabase: + serverEdition = SR.AzureSqlStretchEdition; + break; + case (int)DatabaseEngineEdition.SqlOnDemand: + serverEdition = SR.AzureSqlAnalyticsOnDemandEdition; + break; + default: + serverEdition = SR.AzureSqlDbEdition; + break; + } + } + return serverEdition; + } + + /// + /// Tries to create and open a connection with the given ConnectParams. + /// + /// null upon success, a ConnectionCompleteParams detailing the error upon failure + private async Task TryOpenConnection(ConnectionInfo connectionInfo, ConnectParams connectionParams) + { + CancellationTokenSource source = null; + DbConnection connection = null; + CancelTokenKey cancelKey = new CancelTokenKey { OwnerUri = connectionParams.OwnerUri, Type = connectionParams.Type }; + ConnectionCompleteParams response = new ConnectionCompleteParams { OwnerUri = connectionInfo.OwnerUri, Type = connectionParams.Type }; + bool? currentPooling = connectionInfo.ConnectionDetails.Pooling; + + try + { + connectionInfo.ConnectionDetails.Pooling = false; + // build the connection string from the input parameters + string connectionString = BuildConnectionString(connectionInfo.ConnectionDetails); + + // create a sql connection instance + connection = connectionInfo.Factory.CreateSqlConnection(connectionString); + connectionInfo.AddConnection(connectionParams.Type, connection); + + // Add a cancellation token source so that the connection OpenAsync() can be cancelled + source = new CancellationTokenSource(); + // Locking here to perform two operations as one atomic operation + lock (cancellationTokenSourceLock) + { + // If the URI is currently connecting from a different request, cancel it before we try to connect + CancellationTokenSource currentSource; + if (cancelTupleToCancellationTokenSourceMap.TryGetValue(cancelKey, out currentSource)) + { + currentSource.Cancel(); + } + cancelTupleToCancellationTokenSourceMap[cancelKey] = source; + } + + // Open the connection + await connection.OpenAsync(source.Token); + } + catch (SqlException ex) + { + response.ErrorNumber = ex.Number; + response.ErrorMessage = ex.Message; + response.Messages = ex.ToString(); + return response; + } + catch (OperationCanceledException) + { + // OpenAsync was cancelled + response.Messages = SR.ConnectionServiceConnectionCanceled; + return response; + } + catch (Exception ex) + { + response.ErrorMessage = ex.Message; + response.Messages = ex.ToString(); + return response; + } + finally + { + // Remove our cancellation token from the map since we're no longer connecting + // Using a lock here to perform two operations as one atomic operation + lock (cancellationTokenSourceLock) + { + // Only remove the token from the map if it is the same one created by this request + CancellationTokenSource sourceValue; + if (cancelTupleToCancellationTokenSourceMap.TryGetValue(cancelKey, out sourceValue) && sourceValue == source) + { + cancelTupleToCancellationTokenSourceMap.TryRemove(cancelKey, out sourceValue); + } + source?.Dispose(); + } + if (connectionInfo != null && connectionInfo.ConnectionDetails != null) + { + connectionInfo.ConnectionDetails.Pooling = currentPooling; + } + } + + // Return null upon success + return null; + } + + /// + /// Gets the existing connection with the given URI and connection type string. If none exists, + /// creates a new connection. This cannot be used to create a default connection or to create a + /// connection if a default connection does not exist. + /// + /// URI identifying the resource mapped to this connection + /// + /// What the purpose for this connection is. A single resource + /// such as a SQL file may have multiple connections - one for Intellisense, another for query execution + /// + /// + /// Workaround for .Net Core clone connection issues: should persist security be used so that + /// when SMO clones connections it can do so without breaking on SQL Password connections. + /// This should be removed once the core issue is resolved and clone works as expected + /// + /// A DB connection for the connection type requested + public virtual async Task GetOrOpenConnection(string ownerUri, string connectionType, bool alwaysPersistSecurity = false) + { + Validate.IsNotNullOrEmptyString(nameof(ownerUri), ownerUri); + Validate.IsNotNullOrEmptyString(nameof(connectionType), connectionType); + + // Try to get the ConnectionInfo, if it exists + ConnectionInfo connectionInfo; + if (!ownerToConnectionMap.TryGetValue(ownerUri, out connectionInfo)) + { + throw new ArgumentOutOfRangeException(SR.ConnectionServiceListDbErrorNotConnected(ownerUri)); + } + + // Make sure a default connection exists + DbConnection connection; + DbConnection defaultConnection; + if (!connectionInfo.TryGetConnection(ConnectionType.Default, out defaultConnection)) + { + throw new InvalidOperationException(SR.ConnectionServiceDbErrorDefaultNotConnected(ownerUri)); + } + + if(IsDedicatedAdminConnection(connectionInfo.ConnectionDetails)) + { + // Since this is a dedicated connection only 1 is allowed at any time. Return the default connection for use in the requested action + connection = defaultConnection; + } + else + { + // Try to get the DbConnection and create if it doesn't already exist + if (!connectionInfo.TryGetConnection(connectionType, out connection) && ConnectionType.Default != connectionType) + { + connection = await TryOpenConnectionForConnectionType(ownerUri, connectionType, alwaysPersistSecurity, connectionInfo); + } + } + + VerifyConnectionOpen(connection); + + return connection; + } + + private async Task TryOpenConnectionForConnectionType(string ownerUri, string connectionType, + bool alwaysPersistSecurity, ConnectionInfo connectionInfo) + { + // If the DbConnection does not exist and is not the default connection, create one. + // We can't create the default (initial) connection here because we won't have a ConnectionDetails + // if Connect() has not yet been called. + bool? originalPersistSecurityInfo = connectionInfo.ConnectionDetails.PersistSecurityInfo; + if (alwaysPersistSecurity) + { + connectionInfo.ConnectionDetails.PersistSecurityInfo = true; + } + ConnectParams connectParams = new ConnectParams + { + OwnerUri = ownerUri, + Connection = connectionInfo.ConnectionDetails, + Type = connectionType + }; + try + { + await Connect(connectParams); + } + finally + { + connectionInfo.ConnectionDetails.PersistSecurityInfo = originalPersistSecurityInfo; + } + + DbConnection connection; + connectionInfo.TryGetConnection(connectionType, out connection); + return connection; + } + + private void VerifyConnectionOpen(DbConnection connection) + { + if (connection == null) + { + // Ignore this connection + return; + } + + if (connection.State != ConnectionState.Open) + { + // Note: this will fail and throw to the caller if something goes wrong. + // This seems the right thing to do but if this causes serviceability issues where stack trace + // is unexpected, might consider catching and allowing later code to fail. But given we want to get + // an opened connection for any action using this, it seems OK to handle in this manner + ClearPool(connection); + connection.Open(); + } + } + + /// + /// Clears the connection pool if this is a SqlConnection of some kind. + /// + private void ClearPool(DbConnection connection) + { + SqlConnection sqlConn; + if (TryGetAsSqlConnection(connection, out sqlConn)) + { + SqlConnection.ClearPool(sqlConn); + } + } + + private bool TryGetAsSqlConnection(DbConnection dbConn, out SqlConnection sqlConn) + { + ReliableSqlConnection reliableConn = dbConn as ReliableSqlConnection; + if (reliableConn != null) + { + sqlConn = reliableConn.GetUnderlyingConnection(); + } + else + { + sqlConn = dbConn as SqlConnection; + } + + return sqlConn != null; + } + + /// + /// Cancel a connection that is in the process of opening. + /// + public bool CancelConnect(CancelConnectParams cancelParams) + { + // Validate parameters + if (cancelParams == null || string.IsNullOrEmpty(cancelParams.OwnerUri)) + { + return false; + } + + CancelTokenKey cancelKey = new CancelTokenKey + { + OwnerUri = cancelParams.OwnerUri, + Type = cancelParams.Type + }; + + // Cancel any current connection attempts for this URI + CancellationTokenSource source; + if (cancelTupleToCancellationTokenSourceMap.TryGetValue(cancelKey, out source)) + { + try + { + source.Cancel(); + return true; + } + catch + { + return false; + } + } + + return false; + } + + /// + /// Close a connection with the specified connection details. + /// + public virtual bool Disconnect(DisconnectParams disconnectParams) + { + // Validate parameters + if (disconnectParams == null || string.IsNullOrEmpty(disconnectParams.OwnerUri)) + { + return false; + } + + // Cancel if we are in the middle of connecting + if (CancelConnections(disconnectParams.OwnerUri, disconnectParams.Type)) + { + return false; + } + + // Lookup the ConnectionInfo owned by the URI + ConnectionInfo info; + if (!ownerToConnectionMap.TryGetValue(disconnectParams.OwnerUri, out info)) + { + return false; + } + + // Call Close() on the connections we want to disconnect + // If no connections were located, return false + if (!CloseConnections(info, disconnectParams.Type)) + { + return false; + } + + // Remove the disconnected connections from the ConnectionInfo map + if (disconnectParams.Type == null) + { + info.RemoveAllConnections(); + } + else + { + info.RemoveConnection(disconnectParams.Type); + } + + // If the ConnectionInfo has no more connections, remove the ConnectionInfo + if (info.CountConnections == 0) + { + ownerToConnectionMap.Remove(disconnectParams.OwnerUri); + } + + // Handle Telemetry disconnect events if we are disconnecting the default connection + if (disconnectParams.Type == null || disconnectParams.Type == ConnectionType.Default) + { + HandleDisconnectTelemetry(info); + InvokeOnDisconnectionActivities(info); + } + + // Return true upon success + return true; + } + + /// + /// Cancel connections associated with the given ownerUri. + /// If connectionType is not null, cancel the connection with the given connectionType + /// If connectionType is null, cancel all pending connections associated with ownerUri. + /// + /// true if a single pending connection associated with the non-null connectionType was + /// found and cancelled, false otherwise + private bool CancelConnections(string ownerUri, string connectionType) + { + // Cancel the connection of the given type + if (connectionType != null) + { + // If we are trying to disconnect a specific connection and it was just cancelled, + // this will return true + return CancelConnect(new CancelConnectParams() { OwnerUri = ownerUri, Type = connectionType }); + } + + // Cancel all pending connections + foreach (var entry in cancelTupleToCancellationTokenSourceMap) + { + string entryConnectionUri = entry.Key.OwnerUri; + string entryConnectionType = entry.Key.Type; + if (ownerUri.Equals(entryConnectionUri)) + { + CancelConnect(new CancelConnectParams() { OwnerUri = ownerUri, Type = entryConnectionType }); + } + } + + return false; + } + + /// + /// Closes DbConnections associated with the given ConnectionInfo. + /// If connectionType is not null, closes the DbConnection with the type given by connectionType. + /// If connectionType is null, closes all DbConnections. + /// + /// true if connections were found and attempted to be closed, + /// false if no connections were found + private bool CloseConnections(ConnectionInfo connectionInfo, string connectionType) + { + ICollection connectionsToDisconnect = new List(); + if (connectionType == null) + { + connectionsToDisconnect = connectionInfo.AllConnections; + } + else + { + // Make sure there is an existing connection of this type + DbConnection connection; + if (!connectionInfo.TryGetConnection(connectionType, out connection)) + { + return false; + } + connectionsToDisconnect.Add(connection); + } + + if (connectionsToDisconnect.Count == 0) + { + return false; + } + + foreach (DbConnection connection in connectionsToDisconnect) + { + try + { + connection.Close(); + } + catch (Exception) + { + // Ignore + } + } + + return true; + } + + /// + /// List all databases on the server specified + /// + public ListDatabasesResponse ListDatabases(ListDatabasesParams listDatabasesParams) + { + // Verify parameters + var owner = listDatabasesParams.OwnerUri; + if (string.IsNullOrEmpty(owner)) + { + throw new ArgumentException(SR.ConnectionServiceListDbErrorNullOwnerUri); + } + + // Use the existing connection as a base for the search + ConnectionInfo info; + if (!TryFindConnection(owner, out info)) + { + throw new Exception(SR.ConnectionServiceListDbErrorNotConnected(owner)); + } + + ListDatabasesResponse response = new ListDatabasesResponse(); + response.DatabaseNames = ListDatabasesFromConnInfo(info); + + return response; + } + + public string[] ListDatabasesFromConnInfo(ConnectionInfo info, bool includeSystemDBs = true) + { + ConnectionDetails connectionDetails = info.ConnectionDetails.Clone(); + + // Connect to master and query sys.databases + connectionDetails.DatabaseName = "master"; + List dbNames = new List(); + + using (DbConnection connection = this.ConnectionFactory.CreateSqlConnection(BuildConnectionString(connectionDetails))) + using (DbCommand command = connection.CreateCommand()) + { + connection.Open(); + command.CommandText = @"SELECT name FROM sys.databases WHERE state_desc='ONLINE' ORDER BY name ASC"; + command.CommandTimeout = 15; + command.CommandType = CommandType.Text; + + using (DbDataReader reader = command.ExecuteReader()) + { + while (reader.Read()) + { + dbNames.Add(reader[0].ToString()); + } + } + } + + string[] results; + var systemDBSet = new HashSet(new[] {"master", "model", "msdb", "tempdb", "DWConfiguration", "DWDiagnostics", "DWQueue"}); + if (includeSystemDBs) + { + // Put system databases at the top of the list + results = + dbNames.Where(s => systemDBSet.Contains(s)) + .Concat(dbNames.Where(s => !systemDBSet.Contains(s))) + .ToArray(); + } + else + { + results = dbNames.Where(s => !systemDBSet.Contains(s)).ToArray(); + } + + return results; + } + + /// + /// Add a new method to be called when the onconnection request is submitted + /// + /// + public void RegisterOnConnectionTask(OnConnectionHandler activity) + { + onConnectionActivities.Add(activity); + } + + /// + /// Add a new method to be called when the ondisconnect request is submitted + /// + public void RegisterOnDisconnectTask(OnDisconnectHandler activity) + { + onDisconnectActivities.Add(activity); + } + + /// + /// Checks if a ConnectionDetails object represents a DAC connection + /// + /// + public static bool IsDedicatedAdminConnection(ConnectionDetails connectionDetails) + { + Validate.IsNotNull(nameof(connectionDetails), connectionDetails); + SqlConnectionStringBuilder builder = CreateConnectionStringBuilder(connectionDetails); + string serverName = builder.DataSource; + return serverName != null && serverName.StartsWith(AdminConnectionPrefix, StringComparison.OrdinalIgnoreCase); + } + + /// + /// Build a connection string from a connection details instance + /// + /// + public static string BuildConnectionString(ConnectionDetails connectionDetails) + { + return CreateConnectionStringBuilder(connectionDetails).ToString(); + } + + /// + /// Build a connection string builder a connection details instance + /// + /// + public static SqlConnectionStringBuilder CreateConnectionStringBuilder(ConnectionDetails connectionDetails) + { + SqlConnectionStringBuilder connectionBuilder; + + // If connectionDetails has a connection string already, use it to initialize the connection builder, then override any provided options. + // Otherwise use the server name, username, and password from the connection details. + if (!string.IsNullOrEmpty(connectionDetails.ConnectionString)) + { + connectionBuilder = new SqlConnectionStringBuilder(connectionDetails.ConnectionString); + } + else + { + // add alternate port to data source property if provided + string dataSource = !connectionDetails.Port.HasValue + ? connectionDetails.ServerName + : string.Format("{0},{1}", connectionDetails.ServerName, connectionDetails.Port.Value); + + connectionBuilder = new SqlConnectionStringBuilder + { + ["Data Source"] = dataSource, + ["User Id"] = connectionDetails.UserName, + ["Password"] = connectionDetails.Password + }; + } + + // Check for any optional parameters + if (!string.IsNullOrEmpty(connectionDetails.DatabaseName)) + { + connectionBuilder["Initial Catalog"] = connectionDetails.DatabaseName; + } + if (!string.IsNullOrEmpty(connectionDetails.AuthenticationType)) + { + switch(connectionDetails.AuthenticationType) + { + case "Integrated": + connectionBuilder.IntegratedSecurity = true; + break; + case "SqlLogin": + break; + case "ActiveDirectoryPassword": + connectionBuilder.Authentication = SqlAuthenticationMethod.ActiveDirectoryPassword; + break; + default: + throw new ArgumentException(SR.ConnectionServiceConnStringInvalidAuthType(connectionDetails.AuthenticationType)); + } + } + if (connectionDetails.Encrypt.HasValue) + { + connectionBuilder.Encrypt = connectionDetails.Encrypt.Value; + } + if (connectionDetails.TrustServerCertificate.HasValue) + { + connectionBuilder.TrustServerCertificate = connectionDetails.TrustServerCertificate.Value; + } + if (connectionDetails.PersistSecurityInfo.HasValue) + { + connectionBuilder.PersistSecurityInfo = connectionDetails.PersistSecurityInfo.Value; + } + if (connectionDetails.ConnectTimeout.HasValue) + { + connectionBuilder.ConnectTimeout = connectionDetails.ConnectTimeout.Value; + } + if (connectionDetails.ConnectRetryCount.HasValue) + { + connectionBuilder.ConnectRetryCount = connectionDetails.ConnectRetryCount.Value; + } + if (connectionDetails.ConnectRetryInterval.HasValue) + { + connectionBuilder.ConnectRetryInterval = connectionDetails.ConnectRetryInterval.Value; + } + if (!string.IsNullOrEmpty(connectionDetails.ApplicationName)) + { + connectionBuilder.ApplicationName = connectionDetails.ApplicationName; + } + if (!string.IsNullOrEmpty(connectionDetails.WorkstationId)) + { + connectionBuilder.WorkstationID = connectionDetails.WorkstationId; + } + if (!string.IsNullOrEmpty(connectionDetails.ApplicationIntent)) + { + ApplicationIntent intent; + switch (connectionDetails.ApplicationIntent) + { + case "ReadOnly": + intent = ApplicationIntent.ReadOnly; + break; + case "ReadWrite": + intent = ApplicationIntent.ReadWrite; + break; + default: + throw new ArgumentException(SR.ConnectionServiceConnStringInvalidIntent(connectionDetails.ApplicationIntent)); + } + connectionBuilder.ApplicationIntent = intent; + } + if (!string.IsNullOrEmpty(connectionDetails.CurrentLanguage)) + { + connectionBuilder.CurrentLanguage = connectionDetails.CurrentLanguage; + } + if (connectionDetails.Pooling.HasValue) + { + connectionBuilder.Pooling = connectionDetails.Pooling.Value; + } + if (connectionDetails.MaxPoolSize.HasValue) + { + connectionBuilder.MaxPoolSize = connectionDetails.MaxPoolSize.Value; + } + if (connectionDetails.MinPoolSize.HasValue) + { + connectionBuilder.MinPoolSize = connectionDetails.MinPoolSize.Value; + } + if (connectionDetails.LoadBalanceTimeout.HasValue) + { + connectionBuilder.LoadBalanceTimeout = connectionDetails.LoadBalanceTimeout.Value; + } + if (connectionDetails.Replication.HasValue) + { + connectionBuilder.Replication = connectionDetails.Replication.Value; + } + if (!string.IsNullOrEmpty(connectionDetails.AttachDbFilename)) + { + connectionBuilder.AttachDBFilename = connectionDetails.AttachDbFilename; + } + if (!string.IsNullOrEmpty(connectionDetails.FailoverPartner)) + { + connectionBuilder.FailoverPartner = connectionDetails.FailoverPartner; + } + if (connectionDetails.MultiSubnetFailover.HasValue) + { + connectionBuilder.MultiSubnetFailover = connectionDetails.MultiSubnetFailover.Value; + } + if (connectionDetails.MultipleActiveResultSets.HasValue) + { + connectionBuilder.MultipleActiveResultSets = connectionDetails.MultipleActiveResultSets.Value; + } + if (connectionDetails.PacketSize.HasValue) + { + connectionBuilder.PacketSize = connectionDetails.PacketSize.Value; + } + if (!string.IsNullOrEmpty(connectionDetails.TypeSystemVersion)) + { + connectionBuilder.TypeSystemVersion = connectionDetails.TypeSystemVersion; + } + connectionBuilder.Pooling = false; + + return connectionBuilder; + } + + /// + /// Change the database context of a connection. + /// + /// URI of the owner of the connection + /// Name of the database to change the connection to + public bool ChangeConnectionDatabaseContext(string ownerUri, string newDatabaseName, bool force = false) + { + ConnectionInfo info; + if (TryFindConnection(ownerUri, out info)) + { + try + { + info.ConnectionDetails.DatabaseName = newDatabaseName; + + foreach (string key in info.AllConnectionTypes) + { + DbConnection conn; + info.TryGetConnection(key, out conn); + if (conn != null && conn.Database != newDatabaseName && conn.State == ConnectionState.Open) + { + if (info.IsCloud && force) + { + conn.Close(); + conn.Dispose(); + info.RemoveConnection(key); + + string connectionString = BuildConnectionString(info.ConnectionDetails); + + // create a sql connection instance + DbConnection connection = info.Factory.CreateSqlConnection(connectionString); + connection.Open(); + info.AddConnection(key, connection); + } + else + { + conn.ChangeDatabase(newDatabaseName); + } + } + + } + + // Fire a connection changed event + ConnectionChangedParams parameters = new ConnectionChangedParams(); + IConnectionSummary summary = info.ConnectionDetails; + parameters.Connection = summary.Clone(); + parameters.OwnerUri = ownerUri; + SendUsingServiceHost((host) => host.SendEvent(ConnectionChangedNotification.Type, parameters)); + return true; + } + catch (Exception e) + { + Logger.Write( + TraceEventType.Error, + string.Format( + "Exception caught while trying to change database context to [{0}] for OwnerUri [{1}]. Exception:{2}", + newDatabaseName, + ownerUri, + e.ToString()) + ); + } + } + return false; + } + + /// + /// Invokes an action on the service host, if the host exists + /// + private void SendUsingServiceHost(Action send) + { + var serviceHost = serviceProvider.GetService(); + if (serviceHost != null) + { + send(serviceHost); + } + } + + /// + /// Invokes the initial on-connect activities if the provided ConnectParams represents the default + /// connection. + /// + private void InvokeOnConnectionActivities(ConnectionInfo connectionInfo, ConnectParams connectParams) + { + if (connectParams.Type != ConnectionType.Default && connectParams.Type != ConnectionType.GeneralConnection) + { + return; + } + + foreach (var activity in this.onConnectionActivities) + { + // not awaiting here to allow handlers to run in the background + activity(connectionInfo); + } + } + + /// + /// Invokes the final on-disconnect activities if the provided DisconnectParams represents the default + /// connection or is null - representing that all connections are being disconnected. + /// + private void InvokeOnDisconnectionActivities(ConnectionInfo connectionInfo) + { + foreach (var activity in this.onDisconnectActivities) + { + activity(connectionInfo.ConnectionDetails, connectionInfo.OwnerUri); + } + } + + /// + /// Handles the Telemetry events that occur upon disconnect. + /// + /// + private void HandleDisconnectTelemetry(ConnectionInfo connectionInfo) + { + SendUsingServiceHost(host => { + try + { + // Send a telemetry notification for intellisense performance metrics + host.SendEvent(TelemetryNotification.Type, new TelemetryParams() + { + Params = new TelemetryProperties + { + Properties = new Dictionary + { + { TelemetryPropertyNames.IsAzure, connectionInfo.IsCloud.ToOneOrZeroString() } + }, + EventName = TelemetryEventNames.IntellisenseQuantile, + Measures = connectionInfo.IntellisenseMetrics.Quantile + } + }); + } + catch (Exception ex) + { + Logger.Write(TraceEventType.Verbose, "Could not send Connection telemetry event " + ex.ToString()); + } + + }); + } + + /// + /// Create and open a new SqlConnection from a ConnectionInfo object + /// Note: we need to audit all uses of this method to determine why we're + /// bypassing normal ConnectionService connection management + /// + internal static SqlConnection OpenSqlConnection(ConnectionInfo connInfo, string featureName = null) + { + try + { + // capture original values + int? originalTimeout = connInfo.ConnectionDetails.ConnectTimeout; + bool? originalPersistSecurityInfo = connInfo.ConnectionDetails.PersistSecurityInfo; + bool? originalPooling = connInfo.ConnectionDetails.Pooling; + + // increase the connection timeout to at least 30 seconds and and build connection string + connInfo.ConnectionDetails.ConnectTimeout = Math.Max(30, originalTimeout ?? 0); + // enable PersistSecurityInfo to handle issues in SMO where the connection context is lost in reconnections + connInfo.ConnectionDetails.PersistSecurityInfo = true; + // turn off connection pool to avoid hold locks on server resources after calling SqlConnection Close method + connInfo.ConnectionDetails.Pooling = false; + connInfo.ConnectionDetails.ApplicationName = GetApplicationNameWithFeature(connInfo.ConnectionDetails.ApplicationName, featureName); + + // generate connection string + string connectionString = ConnectionServiceCore.BuildConnectionString(connInfo.ConnectionDetails); + + // restore original values + connInfo.ConnectionDetails.ConnectTimeout = originalTimeout; + connInfo.ConnectionDetails.PersistSecurityInfo = originalPersistSecurityInfo; + connInfo.ConnectionDetails.Pooling = originalPooling; + + // open a dedicated binding server connection + SqlConnection sqlConn = new SqlConnection(connectionString); + sqlConn.Open(); + return sqlConn; + } + catch (Exception ex) + { + string error = string.Format(CultureInfo.InvariantCulture, + "Failed opening a SqlConnection: error:{0} inner:{1} stacktrace:{2}", + ex.Message, ex.InnerException != null ? ex.InnerException.Message : string.Empty, ex.StackTrace); + Logger.Write(TraceEventType.Error, error); + } + + return null; + } + } +} diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ConnectionUtils.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ConnectionUtils.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ConnectionUtils.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ConnectionUtils.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/DatabaseFullAccessException.cs b/external/Microsoft.SqlTools.CoreServices/Connection/DatabaseFullAccessException.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/DatabaseFullAccessException.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/DatabaseFullAccessException.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/DatabaseLocksManager.cs b/external/Microsoft.SqlTools.CoreServices/Connection/DatabaseLocksManager.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/DatabaseLocksManager.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/DatabaseLocksManager.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/FeatureWithFullDbAccess.cs b/external/Microsoft.SqlTools.CoreServices/Connection/FeatureWithFullDbAccess.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/FeatureWithFullDbAccess.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/FeatureWithFullDbAccess.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ISqlConnectionFactory.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ISqlConnectionFactory.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ISqlConnectionFactory.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ISqlConnectionFactory.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/AmbientSettings.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/AmbientSettings.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/AmbientSettings.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/AmbientSettings.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/CachedServerInfo.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/CachedServerInfo.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/CachedServerInfo.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/CachedServerInfo.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/Constants.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/Constants.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/Constants.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/Constants.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/DataSchemaError.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/DataSchemaError.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/DataSchemaError.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/DataSchemaError.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/DbCommandWrapper.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/DbCommandWrapper.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/DbCommandWrapper.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/DbCommandWrapper.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/DbConnectionWrapper.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/DbConnectionWrapper.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/DbConnectionWrapper.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/DbConnectionWrapper.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ErrorSeverity.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ErrorSeverity.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ErrorSeverity.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ErrorSeverity.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/IStackSettingsContext.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/IStackSettingsContext.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/IStackSettingsContext.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/IStackSettingsContext.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ReliableConnectionHelper.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ReliableConnectionHelper.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ReliableConnectionHelper.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ReliableConnectionHelper.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ReliableSqlCommand.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ReliableSqlCommand.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ReliableSqlCommand.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ReliableSqlCommand.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ReliableSqlConnection.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ReliableSqlConnection.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ReliableSqlConnection.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/ReliableSqlConnection.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/Resources.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/Resources.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/Resources.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/Resources.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryCallbackEventArgs.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryCallbackEventArgs.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryCallbackEventArgs.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryCallbackEventArgs.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryLimitExceededException.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryLimitExceededException.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryLimitExceededException.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryLimitExceededException.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.DataTransferDetectionErrorStrategy.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.DataTransferDetectionErrorStrategy.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.DataTransferDetectionErrorStrategy.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.DataTransferDetectionErrorStrategy.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.IErrorDetectionStrategy.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.IErrorDetectionStrategy.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.IErrorDetectionStrategy.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.IErrorDetectionStrategy.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.NetworkConnectivityErrorStrategy.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.NetworkConnectivityErrorStrategy.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.NetworkConnectivityErrorStrategy.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.NetworkConnectivityErrorStrategy.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryAndIgnorableErrorDetectionStrategy.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryAndIgnorableErrorDetectionStrategy.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryAndIgnorableErrorDetectionStrategy.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryAndIgnorableErrorDetectionStrategy.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryErrorDetectionStrategy.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryErrorDetectionStrategy.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryErrorDetectionStrategy.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.SqlAzureTemporaryErrorDetectionStrategy.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.ThrottleReason.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.ThrottleReason.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.ThrottleReason.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.ThrottleReason.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicy.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicyFactory.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicyFactory.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicyFactory.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicyFactory.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicyUtils.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicyUtils.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicyUtils.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryPolicyUtils.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryState.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryState.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryState.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryState.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlConnectionHelperScripts.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlConnectionHelperScripts.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlConnectionHelperScripts.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlConnectionHelperScripts.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlErrorNumbers.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlErrorNumbers.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlErrorNumbers.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlErrorNumbers.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlSchemaModelErrorCodes.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlSchemaModelErrorCodes.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlSchemaModelErrorCodes.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlSchemaModelErrorCodes.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlServerError.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlServerError.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlServerError.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlServerError.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlServerRetryError.cs b/external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlServerRetryError.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlServerRetryError.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/SqlServerRetryError.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Connection/SqlConnectionFactory.cs b/external/Microsoft.SqlTools.CoreServices/Connection/SqlConnectionFactory.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Connection/SqlConnectionFactory.cs rename to external/Microsoft.SqlTools.CoreServices/Connection/SqlConnectionFactory.cs diff --git a/src/Microsoft.SqlTools.CoreServices/LanguageServices/BindingQueue.cs b/external/Microsoft.SqlTools.CoreServices/LanguageServices/BindingQueue.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/LanguageServices/BindingQueue.cs rename to external/Microsoft.SqlTools.CoreServices/LanguageServices/BindingQueue.cs diff --git a/src/Microsoft.SqlTools.CoreServices/LanguageServices/ConnectedBindingContext.cs b/external/Microsoft.SqlTools.CoreServices/LanguageServices/ConnectedBindingContext.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/LanguageServices/ConnectedBindingContext.cs rename to external/Microsoft.SqlTools.CoreServices/LanguageServices/ConnectedBindingContext.cs diff --git a/src/Microsoft.SqlTools.CoreServices/LanguageServices/ConnectedBindingQueue.cs b/external/Microsoft.SqlTools.CoreServices/LanguageServices/ConnectedBindingQueue.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/LanguageServices/ConnectedBindingQueue.cs rename to external/Microsoft.SqlTools.CoreServices/LanguageServices/ConnectedBindingQueue.cs diff --git a/src/Microsoft.SqlTools.CoreServices/LanguageServices/IBindingContext.cs b/external/Microsoft.SqlTools.CoreServices/LanguageServices/IBindingContext.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/LanguageServices/IBindingContext.cs rename to external/Microsoft.SqlTools.CoreServices/LanguageServices/IBindingContext.cs diff --git a/src/Microsoft.SqlTools.CoreServices/LanguageServices/LanguageContants.cs b/external/Microsoft.SqlTools.CoreServices/LanguageServices/LanguageContants.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/LanguageServices/LanguageContants.cs rename to external/Microsoft.SqlTools.CoreServices/LanguageServices/LanguageContants.cs diff --git a/src/Microsoft.SqlTools.CoreServices/LanguageServices/QueueItem.cs b/external/Microsoft.SqlTools.CoreServices/LanguageServices/QueueItem.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/LanguageServices/QueueItem.cs rename to external/Microsoft.SqlTools.CoreServices/LanguageServices/QueueItem.cs diff --git a/src/Microsoft.SqlTools.CoreServices/LanguageServices/TelemetryNotification.cs b/external/Microsoft.SqlTools.CoreServices/LanguageServices/TelemetryNotification.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/LanguageServices/TelemetryNotification.cs rename to external/Microsoft.SqlTools.CoreServices/LanguageServices/TelemetryNotification.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/sr.cs b/external/Microsoft.SqlTools.CoreServices/Localization/sr.cs old mode 100755 new mode 100644 similarity index 96% rename from src/Microsoft.SqlTools.CoreServices/Localization/sr.cs rename to external/Microsoft.SqlTools.CoreServices/Localization/sr.cs index b17a4411..e9202db8 --- a/src/Microsoft.SqlTools.CoreServices/Localization/sr.cs +++ b/external/Microsoft.SqlTools.CoreServices/Localization/sr.cs @@ -1,5183 +1,5183 @@ -// WARNING: -// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0 -// from information in sr.strings -// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN -// -namespace Microsoft.SqlTools.CoreServices -{ - using System; - using System.Reflection; - using System.Resources; - using System.Globalization; - - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class SR - { - protected SR() - { } - - public static CultureInfo Culture - { - get - { - return Keys.Culture; - } - set - { - Keys.Culture = value; - } - } - - - public static string ConnectionServiceConnectErrorNullParams - { - get - { - return Keys.GetString(Keys.ConnectionServiceConnectErrorNullParams); - } - } - - public static string ConnectionServiceListDbErrorNullOwnerUri - { - get - { - return Keys.GetString(Keys.ConnectionServiceListDbErrorNullOwnerUri); - } - } - - public static string ConnectionServiceConnectionCanceled - { - get - { - return Keys.GetString(Keys.ConnectionServiceConnectionCanceled); - } - } - - public static string ConnectionParamsValidateNullOwnerUri - { - get - { - return Keys.GetString(Keys.ConnectionParamsValidateNullOwnerUri); - } - } - - public static string ConnectionParamsValidateNullConnection - { - get - { - return Keys.GetString(Keys.ConnectionParamsValidateNullConnection); - } - } - - public static string ConnectionParamsValidateNullServerName - { - get - { - return Keys.GetString(Keys.ConnectionParamsValidateNullServerName); - } - } - - public static string AzureSqlDbEdition - { - get - { - return Keys.GetString(Keys.AzureSqlDbEdition); - } - } - - public static string AzureSqlDwEdition - { - get - { - return Keys.GetString(Keys.AzureSqlDwEdition); - } - } - - public static string AzureSqlStretchEdition - { - get - { - return Keys.GetString(Keys.AzureSqlStretchEdition); - } - } - - public static string AzureSqlAnalyticsOnDemandEdition - { - get - { - return Keys.GetString(Keys.AzureSqlAnalyticsOnDemandEdition); - } - } - - public static string QueryServiceCancelAlreadyCompleted - { - get - { - return Keys.GetString(Keys.QueryServiceCancelAlreadyCompleted); - } - } - - public static string QueryServiceCancelDisposeFailed - { - get - { - return Keys.GetString(Keys.QueryServiceCancelDisposeFailed); - } - } - - public static string QueryServiceQueryCancelled - { - get - { - return Keys.GetString(Keys.QueryServiceQueryCancelled); - } - } - - public static string QueryServiceSubsetBatchNotCompleted - { - get - { - return Keys.GetString(Keys.QueryServiceSubsetBatchNotCompleted); - } - } - - public static string QueryServiceSubsetBatchOutOfRange - { - get - { - return Keys.GetString(Keys.QueryServiceSubsetBatchOutOfRange); - } - } - - public static string QueryServiceSubsetResultSetOutOfRange - { - get - { - return Keys.GetString(Keys.QueryServiceSubsetResultSetOutOfRange); - } - } - - public static string QueryServiceDataReaderByteCountInvalid - { - get - { - return Keys.GetString(Keys.QueryServiceDataReaderByteCountInvalid); - } - } - - public static string QueryServiceDataReaderCharCountInvalid - { - get - { - return Keys.GetString(Keys.QueryServiceDataReaderCharCountInvalid); - } - } - - public static string QueryServiceDataReaderXmlCountInvalid - { - get - { - return Keys.GetString(Keys.QueryServiceDataReaderXmlCountInvalid); - } - } - - public static string QueryServiceFileWrapperWriteOnly - { - get - { - return Keys.GetString(Keys.QueryServiceFileWrapperWriteOnly); - } - } - - public static string QueryServiceFileWrapperNotInitialized - { - get - { - return Keys.GetString(Keys.QueryServiceFileWrapperNotInitialized); - } - } - - public static string QueryServiceFileWrapperReadOnly - { - get - { - return Keys.GetString(Keys.QueryServiceFileWrapperReadOnly); - } - } - - public static string QueryServiceAffectedOneRow - { - get - { - return Keys.GetString(Keys.QueryServiceAffectedOneRow); - } - } - - public static string QueryServiceCompletedSuccessfully - { - get - { - return Keys.GetString(Keys.QueryServiceCompletedSuccessfully); - } - } - - public static string QueryServiceColumnNull - { - get - { - return Keys.GetString(Keys.QueryServiceColumnNull); - } - } - - public static string QueryServiceCellNull - { - get - { - return Keys.GetString(Keys.QueryServiceCellNull); - } - } - - public static string QueryServiceRequestsNoQuery - { - get - { - return Keys.GetString(Keys.QueryServiceRequestsNoQuery); - } - } - - public static string QueryServiceQueryInvalidOwnerUri - { - get - { - return Keys.GetString(Keys.QueryServiceQueryInvalidOwnerUri); - } - } - - public static string QueryServiceQueryInProgress - { - get - { - return Keys.GetString(Keys.QueryServiceQueryInProgress); - } - } - - public static string QueryServiceMessageSenderNotSql - { - get - { - return Keys.GetString(Keys.QueryServiceMessageSenderNotSql); - } - } - - public static string QueryServiceResultSetAddNoRows - { - get - { - return Keys.GetString(Keys.QueryServiceResultSetAddNoRows); - } - } - - public static string QueryServiceResultSetHasNoResults - { - get - { - return Keys.GetString(Keys.QueryServiceResultSetHasNoResults); - } - } - - public static string QueryServiceResultSetTooLarge - { - get - { - return Keys.GetString(Keys.QueryServiceResultSetTooLarge); - } - } - - public static string QueryServiceSaveAsResultSetNotComplete - { - get - { - return Keys.GetString(Keys.QueryServiceSaveAsResultSetNotComplete); - } - } - - public static string QueryServiceSaveAsMiscStartingError - { - get - { - return Keys.GetString(Keys.QueryServiceSaveAsMiscStartingError); - } - } - - public static string QueryServiceSaveAsInProgress - { - get - { - return Keys.GetString(Keys.QueryServiceSaveAsInProgress); - } - } - - public static string QueryServiceResultSetNotRead - { - get - { - return Keys.GetString(Keys.QueryServiceResultSetNotRead); - } - } - - public static string QueryServiceResultSetStartRowOutOfRange - { - get - { - return Keys.GetString(Keys.QueryServiceResultSetStartRowOutOfRange); - } - } - - public static string QueryServiceResultSetRowCountOutOfRange - { - get - { - return Keys.GetString(Keys.QueryServiceResultSetRowCountOutOfRange); - } - } - - public static string QueryServiceResultSetNoColumnSchema - { - get - { - return Keys.GetString(Keys.QueryServiceResultSetNoColumnSchema); - } - } - - public static string QueryServiceExecutionPlanNotFound - { - get - { - return Keys.GetString(Keys.QueryServiceExecutionPlanNotFound); - } - } - - public static string PeekDefinitionNoResultsError - { - get - { - return Keys.GetString(Keys.PeekDefinitionNoResultsError); - } - } - - public static string PeekDefinitionDatabaseError - { - get - { - return Keys.GetString(Keys.PeekDefinitionDatabaseError); - } - } - - public static string PeekDefinitionNotConnectedError - { - get - { - return Keys.GetString(Keys.PeekDefinitionNotConnectedError); - } - } - - public static string PeekDefinitionTimedoutError - { - get - { - return Keys.GetString(Keys.PeekDefinitionTimedoutError); - } - } - - public static string PeekDefinitionTypeNotSupportedError - { - get - { - return Keys.GetString(Keys.PeekDefinitionTypeNotSupportedError); - } - } - - public static string ErrorEmptyStringReplacement - { - get - { - return Keys.GetString(Keys.ErrorEmptyStringReplacement); - } - } - - public static string WorkspaceServicePositionLineOutOfRange - { - get - { - return Keys.GetString(Keys.WorkspaceServicePositionLineOutOfRange); - } - } - - public static string EditDataObjectNotFound - { - get - { - return Keys.GetString(Keys.EditDataObjectNotFound); - } - } - - public static string EditDataSessionNotFound - { - get - { - return Keys.GetString(Keys.EditDataSessionNotFound); - } - } - - public static string EditDataSessionAlreadyExists - { - get - { - return Keys.GetString(Keys.EditDataSessionAlreadyExists); - } - } - - public static string EditDataSessionNotInitialized - { - get - { - return Keys.GetString(Keys.EditDataSessionNotInitialized); - } - } - - public static string EditDataSessionAlreadyInitialized - { - get - { - return Keys.GetString(Keys.EditDataSessionAlreadyInitialized); - } - } - - public static string EditDataSessionAlreadyInitializing - { - get - { - return Keys.GetString(Keys.EditDataSessionAlreadyInitializing); - } - } - - public static string EditDataMetadataNotExtended - { - get - { - return Keys.GetString(Keys.EditDataMetadataNotExtended); - } - } - - public static string EditDataMetadataObjectNameRequired - { - get - { - return Keys.GetString(Keys.EditDataMetadataObjectNameRequired); - } - } - - public static string EditDataMetadataTooManyIdentifiers - { - get - { - return Keys.GetString(Keys.EditDataMetadataTooManyIdentifiers); - } - } - - public static string EditDataFilteringNegativeLimit - { - get - { - return Keys.GetString(Keys.EditDataFilteringNegativeLimit); - } - } - - public static string EditDataQueryFailed - { - get - { - return Keys.GetString(Keys.EditDataQueryFailed); - } - } - - public static string EditDataQueryNotCompleted - { - get - { - return Keys.GetString(Keys.EditDataQueryNotCompleted); - } - } - - public static string EditDataQueryImproperResultSets - { - get - { - return Keys.GetString(Keys.EditDataQueryImproperResultSets); - } - } - - public static string EditDataFailedAddRow - { - get - { - return Keys.GetString(Keys.EditDataFailedAddRow); - } - } - - public static string EditDataRowOutOfRange - { - get - { - return Keys.GetString(Keys.EditDataRowOutOfRange); - } - } - - public static string EditDataUpdatePending - { - get - { - return Keys.GetString(Keys.EditDataUpdatePending); - } - } - - public static string EditDataUpdateNotPending - { - get - { - return Keys.GetString(Keys.EditDataUpdateNotPending); - } - } - - public static string EditDataObjectMetadataNotFound - { - get - { - return Keys.GetString(Keys.EditDataObjectMetadataNotFound); - } - } - - public static string EditDataInvalidFormatBinary - { - get - { - return Keys.GetString(Keys.EditDataInvalidFormatBinary); - } - } - - public static string EditDataInvalidFormatBoolean - { - get - { - return Keys.GetString(Keys.EditDataInvalidFormatBoolean); - } - } - - public static string EditDataDeleteSetCell - { - get - { - return Keys.GetString(Keys.EditDataDeleteSetCell); - } - } - - public static string EditDataColumnIdOutOfRange - { - get - { - return Keys.GetString(Keys.EditDataColumnIdOutOfRange); - } - } - - public static string EditDataColumnCannotBeEdited - { - get - { - return Keys.GetString(Keys.EditDataColumnCannotBeEdited); - } - } - - public static string EditDataColumnNoKeyColumns - { - get - { - return Keys.GetString(Keys.EditDataColumnNoKeyColumns); - } - } - - public static string EditDataScriptFilePathNull - { - get - { - return Keys.GetString(Keys.EditDataScriptFilePathNull); - } - } - - public static string EditDataCommitInProgress - { - get - { - return Keys.GetString(Keys.EditDataCommitInProgress); - } - } - - public static string EditDataComputedColumnPlaceholder - { - get - { - return Keys.GetString(Keys.EditDataComputedColumnPlaceholder); - } - } - - public static string EditDataTimeOver24Hrs - { - get - { - return Keys.GetString(Keys.EditDataTimeOver24Hrs); - } - } - - public static string EditDataNullNotAllowed - { - get - { - return Keys.GetString(Keys.EditDataNullNotAllowed); - } - } - - public static string EE_BatchSqlMessageNoProcedureInfo - { - get - { - return Keys.GetString(Keys.EE_BatchSqlMessageNoProcedureInfo); - } - } - - public static string EE_BatchSqlMessageWithProcedureInfo - { - get - { - return Keys.GetString(Keys.EE_BatchSqlMessageWithProcedureInfo); - } - } - - public static string EE_BatchSqlMessageNoLineInfo - { - get - { - return Keys.GetString(Keys.EE_BatchSqlMessageNoLineInfo); - } - } - - public static string EE_BatchError_Exception - { - get - { - return Keys.GetString(Keys.EE_BatchError_Exception); - } - } - - public static string EE_BatchExecutionInfo_RowsAffected - { - get - { - return Keys.GetString(Keys.EE_BatchExecutionInfo_RowsAffected); - } - } - - public static string EE_ExecutionNotYetCompleteError - { - get - { - return Keys.GetString(Keys.EE_ExecutionNotYetCompleteError); - } - } - - public static string EE_ScriptError_Error - { - get - { - return Keys.GetString(Keys.EE_ScriptError_Error); - } - } - - public static string EE_ScriptError_ParsingSyntax - { - get - { - return Keys.GetString(Keys.EE_ScriptError_ParsingSyntax); - } - } - - public static string EE_ScriptError_FatalError - { - get - { - return Keys.GetString(Keys.EE_ScriptError_FatalError); - } - } - - public static string EE_ExecutionInfo_FinalizingLoop - { - get - { - return Keys.GetString(Keys.EE_ExecutionInfo_FinalizingLoop); - } - } - - public static string EE_ExecutionInfo_QueryCancelledbyUser - { - get - { - return Keys.GetString(Keys.EE_ExecutionInfo_QueryCancelledbyUser); - } - } - - public static string EE_BatchExecutionError_Halting - { - get - { - return Keys.GetString(Keys.EE_BatchExecutionError_Halting); - } - } - - public static string EE_BatchExecutionError_Ignoring - { - get - { - return Keys.GetString(Keys.EE_BatchExecutionError_Ignoring); - } - } - - public static string EE_ExecutionInfo_InitializingLoop - { - get - { - return Keys.GetString(Keys.EE_ExecutionInfo_InitializingLoop); - } - } - - public static string EE_ExecutionError_CommandNotSupported - { - get - { - return Keys.GetString(Keys.EE_ExecutionError_CommandNotSupported); - } - } - - public static string EE_ExecutionError_VariableNotFound - { - get - { - return Keys.GetString(Keys.EE_ExecutionError_VariableNotFound); - } - } - - public static string BatchParserWrapperExecutionEngineError - { - get - { - return Keys.GetString(Keys.BatchParserWrapperExecutionEngineError); - } - } - - public static string BatchParserWrapperExecutionError - { - get - { - return Keys.GetString(Keys.BatchParserWrapperExecutionError); - } - } - - public static string BatchParserWrapperExecutionEngineBatchMessage - { - get - { - return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchMessage); - } - } - - public static string BatchParserWrapperExecutionEngineBatchResultSetProcessing - { - get - { - return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchResultSetProcessing); - } - } - - public static string BatchParserWrapperExecutionEngineBatchResultSetFinished - { - get - { - return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchResultSetFinished); - } - } - - public static string BatchParserWrapperExecutionEngineBatchCancelling - { - get - { - return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchCancelling); - } - } - - public static string EE_ScriptError_Warning - { - get - { - return Keys.GetString(Keys.EE_ScriptError_Warning); - } - } - - public static string TroubleshootingAssistanceMessage - { - get - { - return Keys.GetString(Keys.TroubleshootingAssistanceMessage); - } - } - - public static string BatchParser_CircularReference - { - get - { - return Keys.GetString(Keys.BatchParser_CircularReference); - } - } - - public static string BatchParser_CommentNotTerminated - { - get - { - return Keys.GetString(Keys.BatchParser_CommentNotTerminated); - } - } - - public static string BatchParser_StringNotTerminated - { - get - { - return Keys.GetString(Keys.BatchParser_StringNotTerminated); - } - } - - public static string BatchParser_IncorrectSyntax - { - get - { - return Keys.GetString(Keys.BatchParser_IncorrectSyntax); - } - } - - public static string BatchParser_VariableNotDefined - { - get - { - return Keys.GetString(Keys.BatchParser_VariableNotDefined); - } - } - - public static string TestLocalizationConstant - { - get - { - return Keys.GetString(Keys.TestLocalizationConstant); - } - } - - public static string SqlScriptFormatterDecimalMissingPrecision - { - get - { - return Keys.GetString(Keys.SqlScriptFormatterDecimalMissingPrecision); - } - } - - public static string SqlScriptFormatterLengthTypeMissingSize - { - get - { - return Keys.GetString(Keys.SqlScriptFormatterLengthTypeMissingSize); - } - } - - public static string SqlScriptFormatterScalarTypeMissingScale - { - get - { - return Keys.GetString(Keys.SqlScriptFormatterScalarTypeMissingScale); - } - } - - public static string TreeNodeError - { - get - { - return Keys.GetString(Keys.TreeNodeError); - } - } - - public static string ServerNodeConnectionError - { - get - { - return Keys.GetString(Keys.ServerNodeConnectionError); - } - } - - public static string SchemaHierarchy_Aggregates - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Aggregates); - } - } - - public static string SchemaHierarchy_ServerRoles - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ServerRoles); - } - } - - public static string SchemaHierarchy_ApplicationRoles - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ApplicationRoles); - } - } - - public static string SchemaHierarchy_Assemblies - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Assemblies); - } - } - - public static string SchemaHierarchy_AssemblyFiles - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_AssemblyFiles); - } - } - - public static string SchemaHierarchy_AsymmetricKeys - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_AsymmetricKeys); - } - } - - public static string SchemaHierarchy_DatabaseAsymmetricKeys - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_DatabaseAsymmetricKeys); - } - } - - public static string SchemaHierarchy_DataCompressionOptions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_DataCompressionOptions); - } - } - - public static string SchemaHierarchy_Certificates - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Certificates); - } - } - - public static string SchemaHierarchy_FileTables - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_FileTables); - } - } - - public static string SchemaHierarchy_DatabaseCertificates - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_DatabaseCertificates); - } - } - - public static string SchemaHierarchy_CheckConstraints - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_CheckConstraints); - } - } - - public static string SchemaHierarchy_Columns - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Columns); - } - } - - public static string SchemaHierarchy_Constraints - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Constraints); - } - } - - public static string SchemaHierarchy_Contracts - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Contracts); - } - } - - public static string SchemaHierarchy_Credentials - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Credentials); - } - } - - public static string SchemaHierarchy_ErrorMessages - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ErrorMessages); - } - } - - public static string SchemaHierarchy_ServerRoleMembership - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ServerRoleMembership); - } - } - - public static string SchemaHierarchy_DatabaseOptions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_DatabaseOptions); - } - } - - public static string SchemaHierarchy_DatabaseRoles - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_DatabaseRoles); - } - } - - public static string SchemaHierarchy_RoleMemberships - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_RoleMemberships); - } - } - - public static string SchemaHierarchy_DatabaseTriggers - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_DatabaseTriggers); - } - } - - public static string SchemaHierarchy_DefaultConstraints - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_DefaultConstraints); - } - } - - public static string SchemaHierarchy_Defaults - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Defaults); - } - } - - public static string SchemaHierarchy_Sequences - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Sequences); - } - } - - public static string SchemaHierarchy_Endpoints - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Endpoints); - } - } - - public static string SchemaHierarchy_EventNotifications - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_EventNotifications); - } - } - - public static string SchemaHierarchy_ServerEventNotifications - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ServerEventNotifications); - } - } - - public static string SchemaHierarchy_ExtendedProperties - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ExtendedProperties); - } - } - - public static string SchemaHierarchy_FileGroups - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_FileGroups); - } - } - - public static string SchemaHierarchy_ForeignKeys - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ForeignKeys); - } - } - - public static string SchemaHierarchy_FullTextCatalogs - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_FullTextCatalogs); - } - } - - public static string SchemaHierarchy_FullTextIndexes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_FullTextIndexes); - } - } - - public static string SchemaHierarchy_Functions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Functions); - } - } - - public static string SchemaHierarchy_Indexes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Indexes); - } - } - - public static string SchemaHierarchy_InlineFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_InlineFunctions); - } - } - - public static string SchemaHierarchy_Keys - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Keys); - } - } - - public static string SchemaHierarchy_LinkedServers - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_LinkedServers); - } - } - - public static string SchemaHierarchy_LinkedServerLogins - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_LinkedServerLogins); - } - } - - public static string SchemaHierarchy_Logins - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Logins); - } - } - - public static string SchemaHierarchy_MasterKey - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_MasterKey); - } - } - - public static string SchemaHierarchy_MasterKeys - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_MasterKeys); - } - } - - public static string SchemaHierarchy_MessageTypes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_MessageTypes); - } - } - - public static string SchemaHierarchy_MultiSelectFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_MultiSelectFunctions); - } - } - - public static string SchemaHierarchy_Parameters - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Parameters); - } - } - - public static string SchemaHierarchy_PartitionFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_PartitionFunctions); - } - } - - public static string SchemaHierarchy_PartitionSchemes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_PartitionSchemes); - } - } - - public static string SchemaHierarchy_Permissions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Permissions); - } - } - - public static string SchemaHierarchy_PrimaryKeys - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_PrimaryKeys); - } - } - - public static string SchemaHierarchy_Programmability - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Programmability); - } - } - - public static string SchemaHierarchy_Queues - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Queues); - } - } - - public static string SchemaHierarchy_RemoteServiceBindings - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_RemoteServiceBindings); - } - } - - public static string SchemaHierarchy_ReturnedColumns - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ReturnedColumns); - } - } - - public static string SchemaHierarchy_Roles - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Roles); - } - } - - public static string SchemaHierarchy_Routes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Routes); - } - } - - public static string SchemaHierarchy_Rules - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Rules); - } - } - - public static string SchemaHierarchy_Schemas - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Schemas); - } - } - - public static string SchemaHierarchy_Security - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Security); - } - } - - public static string SchemaHierarchy_ServerObjects - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ServerObjects); - } - } - - public static string SchemaHierarchy_Management - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Management); - } - } - - public static string SchemaHierarchy_ServerTriggers - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ServerTriggers); - } - } - - public static string SchemaHierarchy_ServiceBroker - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ServiceBroker); - } - } - - public static string SchemaHierarchy_Services - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Services); - } - } - - public static string SchemaHierarchy_Signatures - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Signatures); - } - } - - public static string SchemaHierarchy_LogFiles - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_LogFiles); - } - } - - public static string SchemaHierarchy_Statistics - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Statistics); - } - } - - public static string SchemaHierarchy_Storage - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Storage); - } - } - - public static string SchemaHierarchy_StoredProcedures - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_StoredProcedures); - } - } - - public static string SchemaHierarchy_SymmetricKeys - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SymmetricKeys); - } - } - - public static string SchemaHierarchy_Synonyms - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Synonyms); - } - } - - public static string SchemaHierarchy_Tables - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Tables); - } - } - - public static string SchemaHierarchy_Triggers - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Triggers); - } - } - - public static string SchemaHierarchy_Types - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Types); - } - } - - public static string SchemaHierarchy_UniqueKeys - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_UniqueKeys); - } - } - - public static string SchemaHierarchy_UserDefinedDataTypes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_UserDefinedDataTypes); - } - } - - public static string SchemaHierarchy_UserDefinedTypes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_UserDefinedTypes); - } - } - - public static string SchemaHierarchy_Users - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Users); - } - } - - public static string SchemaHierarchy_Views - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Views); - } - } - - public static string SchemaHierarchy_XmlIndexes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_XmlIndexes); - } - } - - public static string SchemaHierarchy_XMLSchemaCollections - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_XMLSchemaCollections); - } - } - - public static string SchemaHierarchy_UserDefinedTableTypes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_UserDefinedTableTypes); - } - } - - public static string SchemaHierarchy_FilegroupFiles - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_FilegroupFiles); - } - } - - public static string MissingCaption - { - get - { - return Keys.GetString(Keys.MissingCaption); - } - } - - public static string SchemaHierarchy_BrokerPriorities - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_BrokerPriorities); - } - } - - public static string SchemaHierarchy_CryptographicProviders - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_CryptographicProviders); - } - } - - public static string SchemaHierarchy_DatabaseAuditSpecifications - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_DatabaseAuditSpecifications); - } - } - - public static string SchemaHierarchy_DatabaseEncryptionKeys - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_DatabaseEncryptionKeys); - } - } - - public static string SchemaHierarchy_EventSessions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_EventSessions); - } - } - - public static string SchemaHierarchy_FullTextStopLists - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_FullTextStopLists); - } - } - - public static string SchemaHierarchy_ResourcePools - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ResourcePools); - } - } - - public static string SchemaHierarchy_ServerAudits - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ServerAudits); - } - } - - public static string SchemaHierarchy_ServerAuditSpecifications - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ServerAuditSpecifications); - } - } - - public static string SchemaHierarchy_SpatialIndexes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SpatialIndexes); - } - } - - public static string SchemaHierarchy_WorkloadGroups - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_WorkloadGroups); - } - } - - public static string SchemaHierarchy_SqlFiles - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SqlFiles); - } - } - - public static string SchemaHierarchy_ServerFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ServerFunctions); - } - } - - public static string SchemaHierarchy_SqlType - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SqlType); - } - } - - public static string SchemaHierarchy_ServerOptions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ServerOptions); - } - } - - public static string SchemaHierarchy_DatabaseDiagrams - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_DatabaseDiagrams); - } - } - - public static string SchemaHierarchy_SystemTables - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemTables); - } - } - - public static string SchemaHierarchy_Databases - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Databases); - } - } - - public static string SchemaHierarchy_SystemContracts - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemContracts); - } - } - - public static string SchemaHierarchy_SystemDatabases - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemDatabases); - } - } - - public static string SchemaHierarchy_SystemMessageTypes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemMessageTypes); - } - } - - public static string SchemaHierarchy_SystemQueues - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemQueues); - } - } - - public static string SchemaHierarchy_SystemServices - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemServices); - } - } - - public static string SchemaHierarchy_SystemStoredProcedures - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemStoredProcedures); - } - } - - public static string SchemaHierarchy_SystemViews - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemViews); - } - } - - public static string SchemaHierarchy_DataTierApplications - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_DataTierApplications); - } - } - - public static string SchemaHierarchy_ExtendedStoredProcedures - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ExtendedStoredProcedures); - } - } - - public static string SchemaHierarchy_SystemAggregateFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemAggregateFunctions); - } - } - - public static string SchemaHierarchy_SystemApproximateNumerics - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemApproximateNumerics); - } - } - - public static string SchemaHierarchy_SystemBinaryStrings - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemBinaryStrings); - } - } - - public static string SchemaHierarchy_SystemCharacterStrings - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemCharacterStrings); - } - } - - public static string SchemaHierarchy_SystemCLRDataTypes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemCLRDataTypes); - } - } - - public static string SchemaHierarchy_SystemConfigurationFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemConfigurationFunctions); - } - } - - public static string SchemaHierarchy_SystemCursorFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemCursorFunctions); - } - } - - public static string SchemaHierarchy_SystemDataTypes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemDataTypes); - } - } - - public static string SchemaHierarchy_SystemDateAndTime - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemDateAndTime); - } - } - - public static string SchemaHierarchy_SystemDateAndTimeFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemDateAndTimeFunctions); - } - } - - public static string SchemaHierarchy_SystemExactNumerics - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemExactNumerics); - } - } - - public static string SchemaHierarchy_SystemFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemFunctions); - } - } - - public static string SchemaHierarchy_SystemHierarchyIdFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemHierarchyIdFunctions); - } - } - - public static string SchemaHierarchy_SystemMathematicalFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemMathematicalFunctions); - } - } - - public static string SchemaHierarchy_SystemMetadataFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemMetadataFunctions); - } - } - - public static string SchemaHierarchy_SystemOtherDataTypes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemOtherDataTypes); - } - } - - public static string SchemaHierarchy_SystemOtherFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemOtherFunctions); - } - } - - public static string SchemaHierarchy_SystemRowsetFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemRowsetFunctions); - } - } - - public static string SchemaHierarchy_SystemSecurityFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemSecurityFunctions); - } - } - - public static string SchemaHierarchy_SystemSpatialDataTypes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemSpatialDataTypes); - } - } - - public static string SchemaHierarchy_SystemStringFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemStringFunctions); - } - } - - public static string SchemaHierarchy_SystemSystemStatisticalFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemSystemStatisticalFunctions); - } - } - - public static string SchemaHierarchy_SystemTextAndImageFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemTextAndImageFunctions); - } - } - - public static string SchemaHierarchy_SystemUnicodeCharacterStrings - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemUnicodeCharacterStrings); - } - } - - public static string SchemaHierarchy_AggregateFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_AggregateFunctions); - } - } - - public static string SchemaHierarchy_ScalarValuedFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ScalarValuedFunctions); - } - } - - public static string SchemaHierarchy_TableValuedFunctions - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_TableValuedFunctions); - } - } - - public static string SchemaHierarchy_SystemExtendedStoredProcedures - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SystemExtendedStoredProcedures); - } - } - - public static string SchemaHierarchy_BuiltInType - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_BuiltInType); - } - } - - public static string SchemaHierarchy_BuiltInServerRole - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_BuiltInServerRole); - } - } - - public static string SchemaHierarchy_UserWithPassword - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_UserWithPassword); - } - } - - public static string SchemaHierarchy_SearchPropertyList - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SearchPropertyList); - } - } - - public static string SchemaHierarchy_SecurityPolicies - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SecurityPolicies); - } - } - - public static string SchemaHierarchy_SecurityPredicates - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SecurityPredicates); - } - } - - public static string SchemaHierarchy_ServerRole - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ServerRole); - } - } - - public static string SchemaHierarchy_SearchPropertyLists - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SearchPropertyLists); - } - } - - public static string SchemaHierarchy_ColumnStoreIndexes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ColumnStoreIndexes); - } - } - - public static string SchemaHierarchy_TableTypeIndexes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_TableTypeIndexes); - } - } - - public static string SchemaHierarchy_Server - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_Server); - } - } - - public static string SchemaHierarchy_SelectiveXmlIndexes - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SelectiveXmlIndexes); - } - } - - public static string SchemaHierarchy_XmlNamespaces - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_XmlNamespaces); - } - } - - public static string SchemaHierarchy_XmlTypedPromotedPaths - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_XmlTypedPromotedPaths); - } - } - - public static string SchemaHierarchy_SqlTypedPromotedPaths - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SqlTypedPromotedPaths); - } - } - - public static string SchemaHierarchy_DatabaseScopedCredentials - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_DatabaseScopedCredentials); - } - } - - public static string SchemaHierarchy_ExternalDataSources - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ExternalDataSources); - } - } - - public static string SchemaHierarchy_ExternalFileFormats - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ExternalFileFormats); - } - } - - public static string SchemaHierarchy_ExternalResources - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ExternalResources); - } - } - - public static string SchemaHierarchy_ExternalTables - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ExternalTables); - } - } - - public static string SchemaHierarchy_AlwaysEncryptedKeys - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_AlwaysEncryptedKeys); - } - } - - public static string SchemaHierarchy_ColumnMasterKeys - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ColumnMasterKeys); - } - } - - public static string SchemaHierarchy_ColumnEncryptionKeys - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ColumnEncryptionKeys); - } - } - - public static string SchemaHierarchy_SubroutineParameterLabelFormatString - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SubroutineParameterLabelFormatString); - } - } - - public static string SchemaHierarchy_SubroutineParameterNoDefaultLabel - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SubroutineParameterNoDefaultLabel); - } - } - - public static string SchemaHierarchy_SubroutineParameterInputLabel - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SubroutineParameterInputLabel); - } - } - - public static string SchemaHierarchy_SubroutineParameterInputOutputLabel - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SubroutineParameterInputOutputLabel); - } - } - - public static string SchemaHierarchy_SubroutineParameterInputReadOnlyLabel - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SubroutineParameterInputReadOnlyLabel); - } - } - - public static string SchemaHierarchy_SubroutineParameterInputOutputReadOnlyLabel - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SubroutineParameterInputOutputReadOnlyLabel); - } - } - - public static string SchemaHierarchy_SubroutineParameterDefaultLabel - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_SubroutineParameterDefaultLabel); - } - } - - public static string SchemaHierarchy_NullColumn_Label - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_NullColumn_Label); - } - } - - public static string SchemaHierarchy_NotNullColumn_Label - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_NotNullColumn_Label); - } - } - - public static string SchemaHierarchy_UDDTLabelWithType - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_UDDTLabelWithType); - } - } - - public static string SchemaHierarchy_UDDTLabelWithoutType - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_UDDTLabelWithoutType); - } - } - - public static string SchemaHierarchy_ComputedColumnLabelWithType - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ComputedColumnLabelWithType); - } - } - - public static string SchemaHierarchy_ComputedColumnLabelWithoutType - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ComputedColumnLabelWithoutType); - } - } - - public static string SchemaHierarchy_ColumnSetLabelWithoutType - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ColumnSetLabelWithoutType); - } - } - - public static string SchemaHierarchy_ColumnSetLabelWithType - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ColumnSetLabelWithType); - } - } - - public static string SchemaHierarchy_ColumnSetLabelWithTypeAndKeyString - { - get - { - return Keys.GetString(Keys.SchemaHierarchy_ColumnSetLabelWithTypeAndKeyString); - } - } - - public static string UniqueIndex_LabelPart - { - get - { - return Keys.GetString(Keys.UniqueIndex_LabelPart); - } - } - - public static string NonUniqueIndex_LabelPart - { - get - { - return Keys.GetString(Keys.NonUniqueIndex_LabelPart); - } - } - - public static string ClusteredIndex_LabelPart - { - get - { - return Keys.GetString(Keys.ClusteredIndex_LabelPart); - } - } - - public static string NonClusteredIndex_LabelPart - { - get - { - return Keys.GetString(Keys.NonClusteredIndex_LabelPart); - } - } - - public static string History_LabelPart - { - get - { - return Keys.GetString(Keys.History_LabelPart); - } - } - - public static string SystemVersioned_LabelPart - { - get - { - return Keys.GetString(Keys.SystemVersioned_LabelPart); - } - } - - public static string External_LabelPart - { - get - { - return Keys.GetString(Keys.External_LabelPart); - } - } - - public static string FileTable_LabelPart - { - get - { - return Keys.GetString(Keys.FileTable_LabelPart); - } - } - - public static string DatabaseNotAccessible - { - get - { - return Keys.GetString(Keys.DatabaseNotAccessible); - } - } - - public static string ScriptingParams_ConnectionString_Property_Invalid - { - get - { - return Keys.GetString(Keys.ScriptingParams_ConnectionString_Property_Invalid); - } - } - - public static string ScriptingParams_FilePath_Property_Invalid - { - get - { - return Keys.GetString(Keys.ScriptingParams_FilePath_Property_Invalid); - } - } - - public static string ScriptingListObjectsCompleteParams_ConnectionString_Property_Invalid - { - get - { - return Keys.GetString(Keys.ScriptingListObjectsCompleteParams_ConnectionString_Property_Invalid); - } - } - - public static string StoredProcedureScriptParameterComment - { - get - { - return Keys.GetString(Keys.StoredProcedureScriptParameterComment); - } - } - - public static string ScriptingGeneralError - { - get - { - return Keys.GetString(Keys.ScriptingGeneralError); - } - } - - public static string ScriptingExecuteNotSupportedError - { - get - { - return Keys.GetString(Keys.ScriptingExecuteNotSupportedError); - } - } - - public static string unavailable - { - get - { - return Keys.GetString(Keys.unavailable); - } - } - - public static string filegroup_dialog_defaultFilegroup - { - get - { - return Keys.GetString(Keys.filegroup_dialog_defaultFilegroup); - } - } - - public static string filegroup_dialog_title - { - get - { - return Keys.GetString(Keys.filegroup_dialog_title); - } - } - - public static string filegroups_default - { - get - { - return Keys.GetString(Keys.filegroups_default); - } - } - - public static string filegroups_files - { - get - { - return Keys.GetString(Keys.filegroups_files); - } - } - - public static string filegroups_name - { - get - { - return Keys.GetString(Keys.filegroups_name); - } - } - - public static string filegroups_readonly - { - get - { - return Keys.GetString(Keys.filegroups_readonly); - } - } - - public static string general_autogrowth - { - get - { - return Keys.GetString(Keys.general_autogrowth); - } - } - - public static string general_builderText - { - get - { - return Keys.GetString(Keys.general_builderText); - } - } - - public static string general_default - { - get - { - return Keys.GetString(Keys.general_default); - } - } - - public static string general_fileGroup - { - get - { - return Keys.GetString(Keys.general_fileGroup); - } - } - - public static string general_fileName - { - get - { - return Keys.GetString(Keys.general_fileName); - } - } - - public static string general_fileType - { - get - { - return Keys.GetString(Keys.general_fileType); - } - } - - public static string general_initialSize - { - get - { - return Keys.GetString(Keys.general_initialSize); - } - } - - public static string general_newFilegroup - { - get - { - return Keys.GetString(Keys.general_newFilegroup); - } - } - - public static string general_path - { - get - { - return Keys.GetString(Keys.general_path); - } - } - - public static string general_physicalFileName - { - get - { - return Keys.GetString(Keys.general_physicalFileName); - } - } - - public static string general_rawDevice - { - get - { - return Keys.GetString(Keys.general_rawDevice); - } - } - - public static string general_recoveryModel_bulkLogged - { - get - { - return Keys.GetString(Keys.general_recoveryModel_bulkLogged); - } - } - - public static string general_recoveryModel_full - { - get - { - return Keys.GetString(Keys.general_recoveryModel_full); - } - } - - public static string general_recoveryModel_simple - { - get - { - return Keys.GetString(Keys.general_recoveryModel_simple); - } - } - - public static string general_titleSearchOwner - { - get - { - return Keys.GetString(Keys.general_titleSearchOwner); - } - } - - public static string prototype_autogrowth_disabled - { - get - { - return Keys.GetString(Keys.prototype_autogrowth_disabled); - } - } - - public static string prototype_autogrowth_restrictedGrowthByMB - { - get - { - return Keys.GetString(Keys.prototype_autogrowth_restrictedGrowthByMB); - } - } - - public static string prototype_autogrowth_restrictedGrowthByPercent - { - get - { - return Keys.GetString(Keys.prototype_autogrowth_restrictedGrowthByPercent); - } - } - - public static string prototype_autogrowth_unrestrictedGrowthByMB - { - get - { - return Keys.GetString(Keys.prototype_autogrowth_unrestrictedGrowthByMB); - } - } - - public static string prototype_autogrowth_unrestrictedGrowthByPercent - { - get - { - return Keys.GetString(Keys.prototype_autogrowth_unrestrictedGrowthByPercent); - } - } - - public static string prototype_autogrowth_unlimitedfilestream - { - get - { - return Keys.GetString(Keys.prototype_autogrowth_unlimitedfilestream); - } - } - - public static string prototype_autogrowth_limitedfilestream - { - get - { - return Keys.GetString(Keys.prototype_autogrowth_limitedfilestream); - } - } - - public static string prototype_db_category_automatic - { - get - { - return Keys.GetString(Keys.prototype_db_category_automatic); - } - } - - public static string prototype_db_category_servicebroker - { - get - { - return Keys.GetString(Keys.prototype_db_category_servicebroker); - } - } - - public static string prototype_db_category_collation - { - get - { - return Keys.GetString(Keys.prototype_db_category_collation); - } - } - - public static string prototype_db_category_cursor - { - get - { - return Keys.GetString(Keys.prototype_db_category_cursor); - } - } - - public static string prototype_db_category_misc - { - get - { - return Keys.GetString(Keys.prototype_db_category_misc); - } - } - - public static string prototype_db_category_recovery - { - get - { - return Keys.GetString(Keys.prototype_db_category_recovery); - } - } - - public static string prototype_db_category_state - { - get - { - return Keys.GetString(Keys.prototype_db_category_state); - } - } - - public static string prototype_db_prop_ansiNullDefault - { - get - { - return Keys.GetString(Keys.prototype_db_prop_ansiNullDefault); - } - } - - public static string prototype_db_prop_ansiNulls - { - get - { - return Keys.GetString(Keys.prototype_db_prop_ansiNulls); - } - } - - public static string prototype_db_prop_ansiPadding - { - get - { - return Keys.GetString(Keys.prototype_db_prop_ansiPadding); - } - } - - public static string prototype_db_prop_ansiWarnings - { - get - { - return Keys.GetString(Keys.prototype_db_prop_ansiWarnings); - } - } - - public static string prototype_db_prop_arithabort - { - get - { - return Keys.GetString(Keys.prototype_db_prop_arithabort); - } - } - - public static string prototype_db_prop_autoClose - { - get - { - return Keys.GetString(Keys.prototype_db_prop_autoClose); - } - } - - public static string prototype_db_prop_autoCreateStatistics - { - get - { - return Keys.GetString(Keys.prototype_db_prop_autoCreateStatistics); - } - } - - public static string prototype_db_prop_autoShrink - { - get - { - return Keys.GetString(Keys.prototype_db_prop_autoShrink); - } - } - - public static string prototype_db_prop_autoUpdateStatistics - { - get - { - return Keys.GetString(Keys.prototype_db_prop_autoUpdateStatistics); - } - } - - public static string prototype_db_prop_autoUpdateStatisticsAsync - { - get - { - return Keys.GetString(Keys.prototype_db_prop_autoUpdateStatisticsAsync); - } - } - - public static string prototype_db_prop_caseSensitive - { - get - { - return Keys.GetString(Keys.prototype_db_prop_caseSensitive); - } - } - - public static string prototype_db_prop_closeCursorOnCommit - { - get - { - return Keys.GetString(Keys.prototype_db_prop_closeCursorOnCommit); - } - } - - public static string prototype_db_prop_collation - { - get - { - return Keys.GetString(Keys.prototype_db_prop_collation); - } - } - - public static string prototype_db_prop_concatNullYieldsNull - { - get - { - return Keys.GetString(Keys.prototype_db_prop_concatNullYieldsNull); - } - } - - public static string prototype_db_prop_databaseCompatibilityLevel - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databaseCompatibilityLevel); - } - } - - public static string prototype_db_prop_databaseState - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databaseState); - } - } - - public static string prototype_db_prop_defaultCursor - { - get - { - return Keys.GetString(Keys.prototype_db_prop_defaultCursor); - } - } - - public static string prototype_db_prop_fullTextIndexing - { - get - { - return Keys.GetString(Keys.prototype_db_prop_fullTextIndexing); - } - } - - public static string prototype_db_prop_numericRoundAbort - { - get - { - return Keys.GetString(Keys.prototype_db_prop_numericRoundAbort); - } - } - - public static string prototype_db_prop_pageVerify - { - get - { - return Keys.GetString(Keys.prototype_db_prop_pageVerify); - } - } - - public static string prototype_db_prop_quotedIdentifier - { - get - { - return Keys.GetString(Keys.prototype_db_prop_quotedIdentifier); - } - } - - public static string prototype_db_prop_readOnly - { - get - { - return Keys.GetString(Keys.prototype_db_prop_readOnly); - } - } - - public static string prototype_db_prop_recursiveTriggers - { - get - { - return Keys.GetString(Keys.prototype_db_prop_recursiveTriggers); - } - } - - public static string prototype_db_prop_restrictAccess - { - get - { - return Keys.GetString(Keys.prototype_db_prop_restrictAccess); - } - } - - public static string prototype_db_prop_selectIntoBulkCopy - { - get - { - return Keys.GetString(Keys.prototype_db_prop_selectIntoBulkCopy); - } - } - - public static string prototype_db_prop_honorBrokerPriority - { - get - { - return Keys.GetString(Keys.prototype_db_prop_honorBrokerPriority); - } - } - - public static string prototype_db_prop_serviceBrokerGuid - { - get - { - return Keys.GetString(Keys.prototype_db_prop_serviceBrokerGuid); - } - } - - public static string prototype_db_prop_brokerEnabled - { - get - { - return Keys.GetString(Keys.prototype_db_prop_brokerEnabled); - } - } - - public static string prototype_db_prop_truncateLogOnCheckpoint - { - get - { - return Keys.GetString(Keys.prototype_db_prop_truncateLogOnCheckpoint); - } - } - - public static string prototype_db_prop_dbChaining - { - get - { - return Keys.GetString(Keys.prototype_db_prop_dbChaining); - } - } - - public static string prototype_db_prop_trustworthy - { - get - { - return Keys.GetString(Keys.prototype_db_prop_trustworthy); - } - } - - public static string prototype_db_prop_dateCorrelationOptimization - { - get - { - return Keys.GetString(Keys.prototype_db_prop_dateCorrelationOptimization); - } - } - - public static string prototype_db_prop_parameterization - { - get - { - return Keys.GetString(Keys.prototype_db_prop_parameterization); - } - } - - public static string prototype_db_prop_parameterization_value_forced - { - get - { - return Keys.GetString(Keys.prototype_db_prop_parameterization_value_forced); - } - } - - public static string prototype_db_prop_parameterization_value_simple - { - get - { - return Keys.GetString(Keys.prototype_db_prop_parameterization_value_simple); - } - } - - public static string prototype_file_dataFile - { - get - { - return Keys.GetString(Keys.prototype_file_dataFile); - } - } - - public static string prototype_file_logFile - { - get - { - return Keys.GetString(Keys.prototype_file_logFile); - } - } - - public static string prototype_file_filestreamFile - { - get - { - return Keys.GetString(Keys.prototype_file_filestreamFile); - } - } - - public static string prototype_file_noFileGroup - { - get - { - return Keys.GetString(Keys.prototype_file_noFileGroup); - } - } - - public static string prototype_file_defaultpathstring - { - get - { - return Keys.GetString(Keys.prototype_file_defaultpathstring); - } - } - - public static string title_openConnectionsMustBeClosed - { - get - { - return Keys.GetString(Keys.title_openConnectionsMustBeClosed); - } - } - - public static string warning_openConnectionsMustBeClosed - { - get - { - return Keys.GetString(Keys.warning_openConnectionsMustBeClosed); - } - } - - public static string prototype_db_prop_databaseState_value_autoClosed - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databaseState_value_autoClosed); - } - } - - public static string prototype_db_prop_databaseState_value_emergency - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databaseState_value_emergency); - } - } - - public static string prototype_db_prop_databaseState_value_inaccessible - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databaseState_value_inaccessible); - } - } - - public static string prototype_db_prop_databaseState_value_normal - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databaseState_value_normal); - } - } - - public static string prototype_db_prop_databaseState_value_offline - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databaseState_value_offline); - } - } - - public static string prototype_db_prop_databaseState_value_recovering - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databaseState_value_recovering); - } - } - - public static string prototype_db_prop_databaseState_value_recoveryPending - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databaseState_value_recoveryPending); - } - } - - public static string prototype_db_prop_databaseState_value_restoring - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databaseState_value_restoring); - } - } - - public static string prototype_db_prop_databaseState_value_shutdown - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databaseState_value_shutdown); - } - } - - public static string prototype_db_prop_databaseState_value_standby - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databaseState_value_standby); - } - } - - public static string prototype_db_prop_databaseState_value_suspect - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databaseState_value_suspect); - } - } - - public static string prototype_db_prop_defaultCursor_value_global - { - get - { - return Keys.GetString(Keys.prototype_db_prop_defaultCursor_value_global); - } - } - - public static string prototype_db_prop_defaultCursor_value_local - { - get - { - return Keys.GetString(Keys.prototype_db_prop_defaultCursor_value_local); - } - } - - public static string prototype_db_prop_restrictAccess_value_multiple - { - get - { - return Keys.GetString(Keys.prototype_db_prop_restrictAccess_value_multiple); - } - } - - public static string prototype_db_prop_restrictAccess_value_restricted - { - get - { - return Keys.GetString(Keys.prototype_db_prop_restrictAccess_value_restricted); - } - } - - public static string prototype_db_prop_restrictAccess_value_single - { - get - { - return Keys.GetString(Keys.prototype_db_prop_restrictAccess_value_single); - } - } - - public static string prototype_db_prop_pageVerify_value_checksum - { - get - { - return Keys.GetString(Keys.prototype_db_prop_pageVerify_value_checksum); - } - } - - public static string prototype_db_prop_pageVerify_value_none - { - get - { - return Keys.GetString(Keys.prototype_db_prop_pageVerify_value_none); - } - } - - public static string prototype_db_prop_pageVerify_value_tornPageDetection - { - get - { - return Keys.GetString(Keys.prototype_db_prop_pageVerify_value_tornPageDetection); - } - } - - public static string prototype_db_prop_varDecimalEnabled - { - get - { - return Keys.GetString(Keys.prototype_db_prop_varDecimalEnabled); - } - } - - public static string compatibilityLevel_katmai - { - get - { - return Keys.GetString(Keys.compatibilityLevel_katmai); - } - } - - public static string prototype_db_prop_encryptionEnabled - { - get - { - return Keys.GetString(Keys.prototype_db_prop_encryptionEnabled); - } - } - - public static string prototype_db_prop_databasescopedconfig_value_off - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databasescopedconfig_value_off); - } - } - - public static string prototype_db_prop_databasescopedconfig_value_on - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databasescopedconfig_value_on); - } - } - - public static string prototype_db_prop_databasescopedconfig_value_primary - { - get - { - return Keys.GetString(Keys.prototype_db_prop_databasescopedconfig_value_primary); - } - } - - public static string error_db_prop_invalidleadingColumns - { - get - { - return Keys.GetString(Keys.error_db_prop_invalidleadingColumns); - } - } - - public static string compatibilityLevel_denali - { - get - { - return Keys.GetString(Keys.compatibilityLevel_denali); - } - } - - public static string compatibilityLevel_sql14 - { - get - { - return Keys.GetString(Keys.compatibilityLevel_sql14); - } - } - - public static string compatibilityLevel_sql15 - { - get - { - return Keys.GetString(Keys.compatibilityLevel_sql15); - } - } - - public static string compatibilityLevel_sqlvNext - { - get - { - return Keys.GetString(Keys.compatibilityLevel_sqlvNext); - } - } - - public static string general_containmentType_None - { - get - { - return Keys.GetString(Keys.general_containmentType_None); - } - } - - public static string general_containmentType_Partial - { - get - { - return Keys.GetString(Keys.general_containmentType_Partial); - } - } - - public static string filegroups_filestreamFiles - { - get - { - return Keys.GetString(Keys.filegroups_filestreamFiles); - } - } - - public static string prototype_file_noApplicableFileGroup - { - get - { - return Keys.GetString(Keys.prototype_file_noApplicableFileGroup); - } - } - - public static string NeverBackedUp - { - get - { - return Keys.GetString(Keys.NeverBackedUp); - } - } - - public static string Error_InvalidDirectoryName - { - get - { - return Keys.GetString(Keys.Error_InvalidDirectoryName); - } - } - - public static string Error_ExistingDirectoryName - { - get - { - return Keys.GetString(Keys.Error_ExistingDirectoryName); - } - } - - public static string BackupTaskName - { - get - { - return Keys.GetString(Keys.BackupTaskName); - } - } - - public static string BackupPathIsFolderError - { - get - { - return Keys.GetString(Keys.BackupPathIsFolderError); - } - } - - public static string InvalidBackupPathError - { - get - { - return Keys.GetString(Keys.InvalidBackupPathError); - } - } - - public static string TaskInProgress - { - get - { - return Keys.GetString(Keys.TaskInProgress); - } - } - - public static string TaskCompleted - { - get - { - return Keys.GetString(Keys.TaskCompleted); - } - } - - public static string ConflictWithNoRecovery - { - get - { - return Keys.GetString(Keys.ConflictWithNoRecovery); - } - } - - public static string InvalidPathForDatabaseFile - { - get - { - return Keys.GetString(Keys.InvalidPathForDatabaseFile); - } - } - - public static string Log - { - get - { - return Keys.GetString(Keys.Log); - } - } - - public static string RestorePlanFailed - { - get - { - return Keys.GetString(Keys.RestorePlanFailed); - } - } - - public static string RestoreNotSupported - { - get - { - return Keys.GetString(Keys.RestoreNotSupported); - } - } - - public static string RestoreTaskName - { - get - { - return Keys.GetString(Keys.RestoreTaskName); - } - } - - public static string RestoreCopyOnly - { - get - { - return Keys.GetString(Keys.RestoreCopyOnly); - } - } - - public static string RestoreBackupSetComponent - { - get - { - return Keys.GetString(Keys.RestoreBackupSetComponent); - } - } - - public static string RestoreBackupSetName - { - get - { - return Keys.GetString(Keys.RestoreBackupSetName); - } - } - - public static string RestoreBackupSetType - { - get - { - return Keys.GetString(Keys.RestoreBackupSetType); - } - } - - public static string RestoreBackupSetServer - { - get - { - return Keys.GetString(Keys.RestoreBackupSetServer); - } - } - - public static string RestoreBackupSetDatabase - { - get - { - return Keys.GetString(Keys.RestoreBackupSetDatabase); - } - } - - public static string RestoreBackupSetPosition - { - get - { - return Keys.GetString(Keys.RestoreBackupSetPosition); - } - } - - public static string RestoreBackupSetFirstLsn - { - get - { - return Keys.GetString(Keys.RestoreBackupSetFirstLsn); - } - } - - public static string RestoreBackupSetLastLsn - { - get - { - return Keys.GetString(Keys.RestoreBackupSetLastLsn); - } - } - - public static string RestoreBackupSetCheckpointLsn - { - get - { - return Keys.GetString(Keys.RestoreBackupSetCheckpointLsn); - } - } - - public static string RestoreBackupSetFullLsn - { - get - { - return Keys.GetString(Keys.RestoreBackupSetFullLsn); - } - } - - public static string RestoreBackupSetStartDate - { - get - { - return Keys.GetString(Keys.RestoreBackupSetStartDate); - } - } - - public static string RestoreBackupSetFinishDate - { - get - { - return Keys.GetString(Keys.RestoreBackupSetFinishDate); - } - } - - public static string RestoreBackupSetSize - { - get - { - return Keys.GetString(Keys.RestoreBackupSetSize); - } - } - - public static string RestoreBackupSetUserName - { - get - { - return Keys.GetString(Keys.RestoreBackupSetUserName); - } - } - - public static string RestoreBackupSetExpiration - { - get - { - return Keys.GetString(Keys.RestoreBackupSetExpiration); - } - } - - public static string TheLastBackupTaken - { - get - { - return Keys.GetString(Keys.TheLastBackupTaken); - } - } - - public static string NoBackupsetsToRestore - { - get - { - return Keys.GetString(Keys.NoBackupsetsToRestore); - } - } - - public static string ScriptTaskName - { - get - { - return Keys.GetString(Keys.ScriptTaskName); - } - } - - public static string InvalidPathError - { - get - { - return Keys.GetString(Keys.InvalidPathError); - } - } - - public static string ProfilerConnectionNotFound - { - get - { - return Keys.GetString(Keys.ProfilerConnectionNotFound); - } - } - - public static string ConnectionServiceListDbErrorNotConnected(string uri) - { - return Keys.GetString(Keys.ConnectionServiceListDbErrorNotConnected, uri); - } - - public static string ConnectionServiceDbErrorDefaultNotConnected(string uri) - { - return Keys.GetString(Keys.ConnectionServiceDbErrorDefaultNotConnected, uri); - } - - public static string ConnectionServiceConnStringInvalidAuthType(string authType) - { - return Keys.GetString(Keys.ConnectionServiceConnStringInvalidAuthType, authType); - } - - public static string ConnectionServiceConnStringInvalidIntent(string intent) - { - return Keys.GetString(Keys.ConnectionServiceConnStringInvalidIntent, intent); - } - - public static string ConnectionParamsValidateNullSqlAuth(string component) - { - return Keys.GetString(Keys.ConnectionParamsValidateNullSqlAuth, component); - } - - public static string QueryServiceAffectedRows(long rows) - { - return Keys.GetString(Keys.QueryServiceAffectedRows, rows); - } - - public static string QueryServiceErrorFormat(int msg, int lvl, int state, int line, string newLine, string message) - { - return Keys.GetString(Keys.QueryServiceErrorFormat, msg, lvl, state, line, newLine, message); - } - - public static string QueryServiceQueryFailed(string message) - { - return Keys.GetString(Keys.QueryServiceQueryFailed, message); - } - - public static string QueryServiceSaveAsFail(string fileName, string message) - { - return Keys.GetString(Keys.QueryServiceSaveAsFail, fileName, message); - } - - public static string PeekDefinitionAzureError(string errorMessage) - { - return Keys.GetString(Keys.PeekDefinitionAzureError, errorMessage); - } - - public static string PeekDefinitionError(string errorMessage) - { - return Keys.GetString(Keys.PeekDefinitionError, errorMessage); - } - - public static string WorkspaceServicePositionColumnOutOfRange(int line) - { - return Keys.GetString(Keys.WorkspaceServicePositionColumnOutOfRange, line); - } - - public static string WorkspaceServiceBufferPositionOutOfOrder(int sLine, int sCol, int eLine, int eCol) - { - return Keys.GetString(Keys.WorkspaceServiceBufferPositionOutOfOrder, sLine, sCol, eLine, eCol); - } - - public static string EditDataUnsupportedObjectType(string typeName) - { - return Keys.GetString(Keys.EditDataUnsupportedObjectType, typeName); - } - - public static string EditDataInvalidFormat(string colName, string colType) - { - return Keys.GetString(Keys.EditDataInvalidFormat, colName, colType); - } - - public static string EditDataCreateScriptMissingValue(string colName) - { - return Keys.GetString(Keys.EditDataCreateScriptMissingValue, colName); - } - - public static string EditDataValueTooLarge(string value, string columnType) - { - return Keys.GetString(Keys.EditDataValueTooLarge, value, columnType); - } - - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - public class Keys - { - static ResourceManager resourceManager = new ResourceManager("Microsoft.SqlTools.CoreServices.Localization.SR", typeof(SR).GetTypeInfo().Assembly); - - static CultureInfo _culture = null; - - - public const string ConnectionServiceConnectErrorNullParams = "ConnectionServiceConnectErrorNullParams"; - - - public const string ConnectionServiceListDbErrorNullOwnerUri = "ConnectionServiceListDbErrorNullOwnerUri"; - - - public const string ConnectionServiceListDbErrorNotConnected = "ConnectionServiceListDbErrorNotConnected"; - - - public const string ConnectionServiceDbErrorDefaultNotConnected = "ConnectionServiceDbErrorDefaultNotConnected"; - - - public const string ConnectionServiceConnStringInvalidAuthType = "ConnectionServiceConnStringInvalidAuthType"; - - - public const string ConnectionServiceConnStringInvalidIntent = "ConnectionServiceConnStringInvalidIntent"; - - - public const string ConnectionServiceConnectionCanceled = "ConnectionServiceConnectionCanceled"; - - - public const string ConnectionParamsValidateNullOwnerUri = "ConnectionParamsValidateNullOwnerUri"; - - - public const string ConnectionParamsValidateNullConnection = "ConnectionParamsValidateNullConnection"; - - - public const string ConnectionParamsValidateNullServerName = "ConnectionParamsValidateNullServerName"; - - - public const string ConnectionParamsValidateNullSqlAuth = "ConnectionParamsValidateNullSqlAuth"; - - - public const string AzureSqlDbEdition = "AzureSqlDbEdition"; - - - public const string AzureSqlDwEdition = "AzureSqlDwEdition"; - - - public const string AzureSqlStretchEdition = "AzureSqlStretchEdition"; - - - public const string AzureSqlAnalyticsOnDemandEdition = "AzureSqlAnalyticsOnDemandEdition"; - - - public const string QueryServiceCancelAlreadyCompleted = "QueryServiceCancelAlreadyCompleted"; - - - public const string QueryServiceCancelDisposeFailed = "QueryServiceCancelDisposeFailed"; - - - public const string QueryServiceQueryCancelled = "QueryServiceQueryCancelled"; - - - public const string QueryServiceSubsetBatchNotCompleted = "QueryServiceSubsetBatchNotCompleted"; - - - public const string QueryServiceSubsetBatchOutOfRange = "QueryServiceSubsetBatchOutOfRange"; - - - public const string QueryServiceSubsetResultSetOutOfRange = "QueryServiceSubsetResultSetOutOfRange"; - - - public const string QueryServiceDataReaderByteCountInvalid = "QueryServiceDataReaderByteCountInvalid"; - - - public const string QueryServiceDataReaderCharCountInvalid = "QueryServiceDataReaderCharCountInvalid"; - - - public const string QueryServiceDataReaderXmlCountInvalid = "QueryServiceDataReaderXmlCountInvalid"; - - - public const string QueryServiceFileWrapperWriteOnly = "QueryServiceFileWrapperWriteOnly"; - - - public const string QueryServiceFileWrapperNotInitialized = "QueryServiceFileWrapperNotInitialized"; - - - public const string QueryServiceFileWrapperReadOnly = "QueryServiceFileWrapperReadOnly"; - - - public const string QueryServiceAffectedOneRow = "QueryServiceAffectedOneRow"; - - - public const string QueryServiceAffectedRows = "QueryServiceAffectedRows"; - - - public const string QueryServiceCompletedSuccessfully = "QueryServiceCompletedSuccessfully"; - - - public const string QueryServiceErrorFormat = "QueryServiceErrorFormat"; - - - public const string QueryServiceQueryFailed = "QueryServiceQueryFailed"; - - - public const string QueryServiceColumnNull = "QueryServiceColumnNull"; - - - public const string QueryServiceCellNull = "QueryServiceCellNull"; - - - public const string QueryServiceRequestsNoQuery = "QueryServiceRequestsNoQuery"; - - - public const string QueryServiceQueryInvalidOwnerUri = "QueryServiceQueryInvalidOwnerUri"; - - - public const string QueryServiceQueryInProgress = "QueryServiceQueryInProgress"; - - - public const string QueryServiceMessageSenderNotSql = "QueryServiceMessageSenderNotSql"; - - - public const string QueryServiceResultSetAddNoRows = "QueryServiceResultSetAddNoRows"; - - - public const string QueryServiceResultSetHasNoResults = "QueryServiceResultSetHasNoResults"; - - - public const string QueryServiceResultSetTooLarge = "QueryServiceResultSetTooLarge"; - - - public const string QueryServiceSaveAsResultSetNotComplete = "QueryServiceSaveAsResultSetNotComplete"; - - - public const string QueryServiceSaveAsMiscStartingError = "QueryServiceSaveAsMiscStartingError"; - - - public const string QueryServiceSaveAsInProgress = "QueryServiceSaveAsInProgress"; - - - public const string QueryServiceSaveAsFail = "QueryServiceSaveAsFail"; - - - public const string QueryServiceResultSetNotRead = "QueryServiceResultSetNotRead"; - - - public const string QueryServiceResultSetStartRowOutOfRange = "QueryServiceResultSetStartRowOutOfRange"; - - - public const string QueryServiceResultSetRowCountOutOfRange = "QueryServiceResultSetRowCountOutOfRange"; - - - public const string QueryServiceResultSetNoColumnSchema = "QueryServiceResultSetNoColumnSchema"; - - - public const string QueryServiceExecutionPlanNotFound = "QueryServiceExecutionPlanNotFound"; - - - public const string PeekDefinitionAzureError = "PeekDefinitionAzureError"; - - - public const string PeekDefinitionError = "PeekDefinitionError"; - - - public const string PeekDefinitionNoResultsError = "PeekDefinitionNoResultsError"; - - - public const string PeekDefinitionDatabaseError = "PeekDefinitionDatabaseError"; - - - public const string PeekDefinitionNotConnectedError = "PeekDefinitionNotConnectedError"; - - - public const string PeekDefinitionTimedoutError = "PeekDefinitionTimedoutError"; - - - public const string PeekDefinitionTypeNotSupportedError = "PeekDefinitionTypeNotSupportedError"; - - - public const string ErrorEmptyStringReplacement = "ErrorEmptyStringReplacement"; - - - public const string WorkspaceServicePositionLineOutOfRange = "WorkspaceServicePositionLineOutOfRange"; - - - public const string WorkspaceServicePositionColumnOutOfRange = "WorkspaceServicePositionColumnOutOfRange"; - - - public const string WorkspaceServiceBufferPositionOutOfOrder = "WorkspaceServiceBufferPositionOutOfOrder"; - - - public const string EditDataObjectNotFound = "EditDataObjectNotFound"; - - - public const string EditDataSessionNotFound = "EditDataSessionNotFound"; - - - public const string EditDataSessionAlreadyExists = "EditDataSessionAlreadyExists"; - - - public const string EditDataSessionNotInitialized = "EditDataSessionNotInitialized"; - - - public const string EditDataSessionAlreadyInitialized = "EditDataSessionAlreadyInitialized"; - - - public const string EditDataSessionAlreadyInitializing = "EditDataSessionAlreadyInitializing"; - - - public const string EditDataMetadataNotExtended = "EditDataMetadataNotExtended"; - - - public const string EditDataMetadataObjectNameRequired = "EditDataMetadataObjectNameRequired"; - - - public const string EditDataMetadataTooManyIdentifiers = "EditDataMetadataTooManyIdentifiers"; - - - public const string EditDataFilteringNegativeLimit = "EditDataFilteringNegativeLimit"; - - - public const string EditDataUnsupportedObjectType = "EditDataUnsupportedObjectType"; - - - public const string EditDataQueryFailed = "EditDataQueryFailed"; - - - public const string EditDataQueryNotCompleted = "EditDataQueryNotCompleted"; - - - public const string EditDataQueryImproperResultSets = "EditDataQueryImproperResultSets"; - - - public const string EditDataFailedAddRow = "EditDataFailedAddRow"; - - - public const string EditDataRowOutOfRange = "EditDataRowOutOfRange"; - - - public const string EditDataUpdatePending = "EditDataUpdatePending"; - - - public const string EditDataUpdateNotPending = "EditDataUpdateNotPending"; - - - public const string EditDataObjectMetadataNotFound = "EditDataObjectMetadataNotFound"; - - - public const string EditDataInvalidFormat = "EditDataInvalidFormat"; - - - public const string EditDataInvalidFormatBinary = "EditDataInvalidFormatBinary"; - - - public const string EditDataInvalidFormatBoolean = "EditDataInvalidFormatBoolean"; - - - public const string EditDataCreateScriptMissingValue = "EditDataCreateScriptMissingValue"; - - - public const string EditDataDeleteSetCell = "EditDataDeleteSetCell"; - - - public const string EditDataColumnIdOutOfRange = "EditDataColumnIdOutOfRange"; - - - public const string EditDataColumnCannotBeEdited = "EditDataColumnCannotBeEdited"; - - - public const string EditDataColumnNoKeyColumns = "EditDataColumnNoKeyColumns"; - - - public const string EditDataScriptFilePathNull = "EditDataScriptFilePathNull"; - - - public const string EditDataCommitInProgress = "EditDataCommitInProgress"; - - - public const string EditDataComputedColumnPlaceholder = "EditDataComputedColumnPlaceholder"; - - - public const string EditDataTimeOver24Hrs = "EditDataTimeOver24Hrs"; - - - public const string EditDataNullNotAllowed = "EditDataNullNotAllowed"; - - - public const string EditDataValueTooLarge = "EditDataValueTooLarge"; - - - public const string EE_BatchSqlMessageNoProcedureInfo = "EE_BatchSqlMessageNoProcedureInfo"; - - - public const string EE_BatchSqlMessageWithProcedureInfo = "EE_BatchSqlMessageWithProcedureInfo"; - - - public const string EE_BatchSqlMessageNoLineInfo = "EE_BatchSqlMessageNoLineInfo"; - - - public const string EE_BatchError_Exception = "EE_BatchError_Exception"; - - - public const string EE_BatchExecutionInfo_RowsAffected = "EE_BatchExecutionInfo_RowsAffected"; - - - public const string EE_ExecutionNotYetCompleteError = "EE_ExecutionNotYetCompleteError"; - - - public const string EE_ScriptError_Error = "EE_ScriptError_Error"; - - - public const string EE_ScriptError_ParsingSyntax = "EE_ScriptError_ParsingSyntax"; - - - public const string EE_ScriptError_FatalError = "EE_ScriptError_FatalError"; - - - public const string EE_ExecutionInfo_FinalizingLoop = "EE_ExecutionInfo_FinalizingLoop"; - - - public const string EE_ExecutionInfo_QueryCancelledbyUser = "EE_ExecutionInfo_QueryCancelledbyUser"; - - - public const string EE_BatchExecutionError_Halting = "EE_BatchExecutionError_Halting"; - - - public const string EE_BatchExecutionError_Ignoring = "EE_BatchExecutionError_Ignoring"; - - - public const string EE_ExecutionInfo_InitializingLoop = "EE_ExecutionInfo_InitializingLoop"; - - - public const string EE_ExecutionError_CommandNotSupported = "EE_ExecutionError_CommandNotSupported"; - - - public const string EE_ExecutionError_VariableNotFound = "EE_ExecutionError_VariableNotFound"; - - - public const string BatchParserWrapperExecutionEngineError = "BatchParserWrapperExecutionEngineError"; - - - public const string BatchParserWrapperExecutionError = "BatchParserWrapperExecutionError"; - - - public const string BatchParserWrapperExecutionEngineBatchMessage = "BatchParserWrapperExecutionEngineBatchMessage"; - - - public const string BatchParserWrapperExecutionEngineBatchResultSetProcessing = "BatchParserWrapperExecutionEngineBatchResultSetProcessing"; - - - public const string BatchParserWrapperExecutionEngineBatchResultSetFinished = "BatchParserWrapperExecutionEngineBatchResultSetFinished"; - - - public const string BatchParserWrapperExecutionEngineBatchCancelling = "BatchParserWrapperExecutionEngineBatchCancelling"; - - - public const string EE_ScriptError_Warning = "EE_ScriptError_Warning"; - - - public const string TroubleshootingAssistanceMessage = "TroubleshootingAssistanceMessage"; - - - public const string BatchParser_CircularReference = "BatchParser_CircularReference"; - - - public const string BatchParser_CommentNotTerminated = "BatchParser_CommentNotTerminated"; - - - public const string BatchParser_StringNotTerminated = "BatchParser_StringNotTerminated"; - - - public const string BatchParser_IncorrectSyntax = "BatchParser_IncorrectSyntax"; - - - public const string BatchParser_VariableNotDefined = "BatchParser_VariableNotDefined"; - - - public const string TestLocalizationConstant = "TestLocalizationConstant"; - - - public const string SqlScriptFormatterDecimalMissingPrecision = "SqlScriptFormatterDecimalMissingPrecision"; - - - public const string SqlScriptFormatterLengthTypeMissingSize = "SqlScriptFormatterLengthTypeMissingSize"; - - - public const string SqlScriptFormatterScalarTypeMissingScale = "SqlScriptFormatterScalarTypeMissingScale"; - - - public const string TreeNodeError = "TreeNodeError"; - - - public const string ServerNodeConnectionError = "ServerNodeConnectionError"; - - - public const string SchemaHierarchy_Aggregates = "SchemaHierarchy_Aggregates"; - - - public const string SchemaHierarchy_ServerRoles = "SchemaHierarchy_ServerRoles"; - - - public const string SchemaHierarchy_ApplicationRoles = "SchemaHierarchy_ApplicationRoles"; - - - public const string SchemaHierarchy_Assemblies = "SchemaHierarchy_Assemblies"; - - - public const string SchemaHierarchy_AssemblyFiles = "SchemaHierarchy_AssemblyFiles"; - - - public const string SchemaHierarchy_AsymmetricKeys = "SchemaHierarchy_AsymmetricKeys"; - - - public const string SchemaHierarchy_DatabaseAsymmetricKeys = "SchemaHierarchy_DatabaseAsymmetricKeys"; - - - public const string SchemaHierarchy_DataCompressionOptions = "SchemaHierarchy_DataCompressionOptions"; - - - public const string SchemaHierarchy_Certificates = "SchemaHierarchy_Certificates"; - - - public const string SchemaHierarchy_FileTables = "SchemaHierarchy_FileTables"; - - - public const string SchemaHierarchy_DatabaseCertificates = "SchemaHierarchy_DatabaseCertificates"; - - - public const string SchemaHierarchy_CheckConstraints = "SchemaHierarchy_CheckConstraints"; - - - public const string SchemaHierarchy_Columns = "SchemaHierarchy_Columns"; - - - public const string SchemaHierarchy_Constraints = "SchemaHierarchy_Constraints"; - - - public const string SchemaHierarchy_Contracts = "SchemaHierarchy_Contracts"; - - - public const string SchemaHierarchy_Credentials = "SchemaHierarchy_Credentials"; - - - public const string SchemaHierarchy_ErrorMessages = "SchemaHierarchy_ErrorMessages"; - - - public const string SchemaHierarchy_ServerRoleMembership = "SchemaHierarchy_ServerRoleMembership"; - - - public const string SchemaHierarchy_DatabaseOptions = "SchemaHierarchy_DatabaseOptions"; - - - public const string SchemaHierarchy_DatabaseRoles = "SchemaHierarchy_DatabaseRoles"; - - - public const string SchemaHierarchy_RoleMemberships = "SchemaHierarchy_RoleMemberships"; - - - public const string SchemaHierarchy_DatabaseTriggers = "SchemaHierarchy_DatabaseTriggers"; - - - public const string SchemaHierarchy_DefaultConstraints = "SchemaHierarchy_DefaultConstraints"; - - - public const string SchemaHierarchy_Defaults = "SchemaHierarchy_Defaults"; - - - public const string SchemaHierarchy_Sequences = "SchemaHierarchy_Sequences"; - - - public const string SchemaHierarchy_Endpoints = "SchemaHierarchy_Endpoints"; - - - public const string SchemaHierarchy_EventNotifications = "SchemaHierarchy_EventNotifications"; - - - public const string SchemaHierarchy_ServerEventNotifications = "SchemaHierarchy_ServerEventNotifications"; - - - public const string SchemaHierarchy_ExtendedProperties = "SchemaHierarchy_ExtendedProperties"; - - - public const string SchemaHierarchy_FileGroups = "SchemaHierarchy_FileGroups"; - - - public const string SchemaHierarchy_ForeignKeys = "SchemaHierarchy_ForeignKeys"; - - - public const string SchemaHierarchy_FullTextCatalogs = "SchemaHierarchy_FullTextCatalogs"; - - - public const string SchemaHierarchy_FullTextIndexes = "SchemaHierarchy_FullTextIndexes"; - - - public const string SchemaHierarchy_Functions = "SchemaHierarchy_Functions"; - - - public const string SchemaHierarchy_Indexes = "SchemaHierarchy_Indexes"; - - - public const string SchemaHierarchy_InlineFunctions = "SchemaHierarchy_InlineFunctions"; - - - public const string SchemaHierarchy_Keys = "SchemaHierarchy_Keys"; - - - public const string SchemaHierarchy_LinkedServers = "SchemaHierarchy_LinkedServers"; - - - public const string SchemaHierarchy_LinkedServerLogins = "SchemaHierarchy_LinkedServerLogins"; - - - public const string SchemaHierarchy_Logins = "SchemaHierarchy_Logins"; - - - public const string SchemaHierarchy_MasterKey = "SchemaHierarchy_MasterKey"; - - - public const string SchemaHierarchy_MasterKeys = "SchemaHierarchy_MasterKeys"; - - - public const string SchemaHierarchy_MessageTypes = "SchemaHierarchy_MessageTypes"; - - - public const string SchemaHierarchy_MultiSelectFunctions = "SchemaHierarchy_MultiSelectFunctions"; - - - public const string SchemaHierarchy_Parameters = "SchemaHierarchy_Parameters"; - - - public const string SchemaHierarchy_PartitionFunctions = "SchemaHierarchy_PartitionFunctions"; - - - public const string SchemaHierarchy_PartitionSchemes = "SchemaHierarchy_PartitionSchemes"; - - - public const string SchemaHierarchy_Permissions = "SchemaHierarchy_Permissions"; - - - public const string SchemaHierarchy_PrimaryKeys = "SchemaHierarchy_PrimaryKeys"; - - - public const string SchemaHierarchy_Programmability = "SchemaHierarchy_Programmability"; - - - public const string SchemaHierarchy_Queues = "SchemaHierarchy_Queues"; - - - public const string SchemaHierarchy_RemoteServiceBindings = "SchemaHierarchy_RemoteServiceBindings"; - - - public const string SchemaHierarchy_ReturnedColumns = "SchemaHierarchy_ReturnedColumns"; - - - public const string SchemaHierarchy_Roles = "SchemaHierarchy_Roles"; - - - public const string SchemaHierarchy_Routes = "SchemaHierarchy_Routes"; - - - public const string SchemaHierarchy_Rules = "SchemaHierarchy_Rules"; - - - public const string SchemaHierarchy_Schemas = "SchemaHierarchy_Schemas"; - - - public const string SchemaHierarchy_Security = "SchemaHierarchy_Security"; - - - public const string SchemaHierarchy_ServerObjects = "SchemaHierarchy_ServerObjects"; - - - public const string SchemaHierarchy_Management = "SchemaHierarchy_Management"; - - - public const string SchemaHierarchy_ServerTriggers = "SchemaHierarchy_ServerTriggers"; - - - public const string SchemaHierarchy_ServiceBroker = "SchemaHierarchy_ServiceBroker"; - - - public const string SchemaHierarchy_Services = "SchemaHierarchy_Services"; - - - public const string SchemaHierarchy_Signatures = "SchemaHierarchy_Signatures"; - - - public const string SchemaHierarchy_LogFiles = "SchemaHierarchy_LogFiles"; - - - public const string SchemaHierarchy_Statistics = "SchemaHierarchy_Statistics"; - - - public const string SchemaHierarchy_Storage = "SchemaHierarchy_Storage"; - - - public const string SchemaHierarchy_StoredProcedures = "SchemaHierarchy_StoredProcedures"; - - - public const string SchemaHierarchy_SymmetricKeys = "SchemaHierarchy_SymmetricKeys"; - - - public const string SchemaHierarchy_Synonyms = "SchemaHierarchy_Synonyms"; - - - public const string SchemaHierarchy_Tables = "SchemaHierarchy_Tables"; - - - public const string SchemaHierarchy_Triggers = "SchemaHierarchy_Triggers"; - - - public const string SchemaHierarchy_Types = "SchemaHierarchy_Types"; - - - public const string SchemaHierarchy_UniqueKeys = "SchemaHierarchy_UniqueKeys"; - - - public const string SchemaHierarchy_UserDefinedDataTypes = "SchemaHierarchy_UserDefinedDataTypes"; - - - public const string SchemaHierarchy_UserDefinedTypes = "SchemaHierarchy_UserDefinedTypes"; - - - public const string SchemaHierarchy_Users = "SchemaHierarchy_Users"; - - - public const string SchemaHierarchy_Views = "SchemaHierarchy_Views"; - - - public const string SchemaHierarchy_XmlIndexes = "SchemaHierarchy_XmlIndexes"; - - - public const string SchemaHierarchy_XMLSchemaCollections = "SchemaHierarchy_XMLSchemaCollections"; - - - public const string SchemaHierarchy_UserDefinedTableTypes = "SchemaHierarchy_UserDefinedTableTypes"; - - - public const string SchemaHierarchy_FilegroupFiles = "SchemaHierarchy_FilegroupFiles"; - - - public const string MissingCaption = "MissingCaption"; - - - public const string SchemaHierarchy_BrokerPriorities = "SchemaHierarchy_BrokerPriorities"; - - - public const string SchemaHierarchy_CryptographicProviders = "SchemaHierarchy_CryptographicProviders"; - - - public const string SchemaHierarchy_DatabaseAuditSpecifications = "SchemaHierarchy_DatabaseAuditSpecifications"; - - - public const string SchemaHierarchy_DatabaseEncryptionKeys = "SchemaHierarchy_DatabaseEncryptionKeys"; - - - public const string SchemaHierarchy_EventSessions = "SchemaHierarchy_EventSessions"; - - - public const string SchemaHierarchy_FullTextStopLists = "SchemaHierarchy_FullTextStopLists"; - - - public const string SchemaHierarchy_ResourcePools = "SchemaHierarchy_ResourcePools"; - - - public const string SchemaHierarchy_ServerAudits = "SchemaHierarchy_ServerAudits"; - - - public const string SchemaHierarchy_ServerAuditSpecifications = "SchemaHierarchy_ServerAuditSpecifications"; - - - public const string SchemaHierarchy_SpatialIndexes = "SchemaHierarchy_SpatialIndexes"; - - - public const string SchemaHierarchy_WorkloadGroups = "SchemaHierarchy_WorkloadGroups"; - - - public const string SchemaHierarchy_SqlFiles = "SchemaHierarchy_SqlFiles"; - - - public const string SchemaHierarchy_ServerFunctions = "SchemaHierarchy_ServerFunctions"; - - - public const string SchemaHierarchy_SqlType = "SchemaHierarchy_SqlType"; - - - public const string SchemaHierarchy_ServerOptions = "SchemaHierarchy_ServerOptions"; - - - public const string SchemaHierarchy_DatabaseDiagrams = "SchemaHierarchy_DatabaseDiagrams"; - - - public const string SchemaHierarchy_SystemTables = "SchemaHierarchy_SystemTables"; - - - public const string SchemaHierarchy_Databases = "SchemaHierarchy_Databases"; - - - public const string SchemaHierarchy_SystemContracts = "SchemaHierarchy_SystemContracts"; - - - public const string SchemaHierarchy_SystemDatabases = "SchemaHierarchy_SystemDatabases"; - - - public const string SchemaHierarchy_SystemMessageTypes = "SchemaHierarchy_SystemMessageTypes"; - - - public const string SchemaHierarchy_SystemQueues = "SchemaHierarchy_SystemQueues"; - - - public const string SchemaHierarchy_SystemServices = "SchemaHierarchy_SystemServices"; - - - public const string SchemaHierarchy_SystemStoredProcedures = "SchemaHierarchy_SystemStoredProcedures"; - - - public const string SchemaHierarchy_SystemViews = "SchemaHierarchy_SystemViews"; - - - public const string SchemaHierarchy_DataTierApplications = "SchemaHierarchy_DataTierApplications"; - - - public const string SchemaHierarchy_ExtendedStoredProcedures = "SchemaHierarchy_ExtendedStoredProcedures"; - - - public const string SchemaHierarchy_SystemAggregateFunctions = "SchemaHierarchy_SystemAggregateFunctions"; - - - public const string SchemaHierarchy_SystemApproximateNumerics = "SchemaHierarchy_SystemApproximateNumerics"; - - - public const string SchemaHierarchy_SystemBinaryStrings = "SchemaHierarchy_SystemBinaryStrings"; - - - public const string SchemaHierarchy_SystemCharacterStrings = "SchemaHierarchy_SystemCharacterStrings"; - - - public const string SchemaHierarchy_SystemCLRDataTypes = "SchemaHierarchy_SystemCLRDataTypes"; - - - public const string SchemaHierarchy_SystemConfigurationFunctions = "SchemaHierarchy_SystemConfigurationFunctions"; - - - public const string SchemaHierarchy_SystemCursorFunctions = "SchemaHierarchy_SystemCursorFunctions"; - - - public const string SchemaHierarchy_SystemDataTypes = "SchemaHierarchy_SystemDataTypes"; - - - public const string SchemaHierarchy_SystemDateAndTime = "SchemaHierarchy_SystemDateAndTime"; - - - public const string SchemaHierarchy_SystemDateAndTimeFunctions = "SchemaHierarchy_SystemDateAndTimeFunctions"; - - - public const string SchemaHierarchy_SystemExactNumerics = "SchemaHierarchy_SystemExactNumerics"; - - - public const string SchemaHierarchy_SystemFunctions = "SchemaHierarchy_SystemFunctions"; - - - public const string SchemaHierarchy_SystemHierarchyIdFunctions = "SchemaHierarchy_SystemHierarchyIdFunctions"; - - - public const string SchemaHierarchy_SystemMathematicalFunctions = "SchemaHierarchy_SystemMathematicalFunctions"; - - - public const string SchemaHierarchy_SystemMetadataFunctions = "SchemaHierarchy_SystemMetadataFunctions"; - - - public const string SchemaHierarchy_SystemOtherDataTypes = "SchemaHierarchy_SystemOtherDataTypes"; - - - public const string SchemaHierarchy_SystemOtherFunctions = "SchemaHierarchy_SystemOtherFunctions"; - - - public const string SchemaHierarchy_SystemRowsetFunctions = "SchemaHierarchy_SystemRowsetFunctions"; - - - public const string SchemaHierarchy_SystemSecurityFunctions = "SchemaHierarchy_SystemSecurityFunctions"; - - - public const string SchemaHierarchy_SystemSpatialDataTypes = "SchemaHierarchy_SystemSpatialDataTypes"; - - - public const string SchemaHierarchy_SystemStringFunctions = "SchemaHierarchy_SystemStringFunctions"; - - - public const string SchemaHierarchy_SystemSystemStatisticalFunctions = "SchemaHierarchy_SystemSystemStatisticalFunctions"; - - - public const string SchemaHierarchy_SystemTextAndImageFunctions = "SchemaHierarchy_SystemTextAndImageFunctions"; - - - public const string SchemaHierarchy_SystemUnicodeCharacterStrings = "SchemaHierarchy_SystemUnicodeCharacterStrings"; - - - public const string SchemaHierarchy_AggregateFunctions = "SchemaHierarchy_AggregateFunctions"; - - - public const string SchemaHierarchy_ScalarValuedFunctions = "SchemaHierarchy_ScalarValuedFunctions"; - - - public const string SchemaHierarchy_TableValuedFunctions = "SchemaHierarchy_TableValuedFunctions"; - - - public const string SchemaHierarchy_SystemExtendedStoredProcedures = "SchemaHierarchy_SystemExtendedStoredProcedures"; - - - public const string SchemaHierarchy_BuiltInType = "SchemaHierarchy_BuiltInType"; - - - public const string SchemaHierarchy_BuiltInServerRole = "SchemaHierarchy_BuiltInServerRole"; - - - public const string SchemaHierarchy_UserWithPassword = "SchemaHierarchy_UserWithPassword"; - - - public const string SchemaHierarchy_SearchPropertyList = "SchemaHierarchy_SearchPropertyList"; - - - public const string SchemaHierarchy_SecurityPolicies = "SchemaHierarchy_SecurityPolicies"; - - - public const string SchemaHierarchy_SecurityPredicates = "SchemaHierarchy_SecurityPredicates"; - - - public const string SchemaHierarchy_ServerRole = "SchemaHierarchy_ServerRole"; - - - public const string SchemaHierarchy_SearchPropertyLists = "SchemaHierarchy_SearchPropertyLists"; - - - public const string SchemaHierarchy_ColumnStoreIndexes = "SchemaHierarchy_ColumnStoreIndexes"; - - - public const string SchemaHierarchy_TableTypeIndexes = "SchemaHierarchy_TableTypeIndexes"; - - - public const string SchemaHierarchy_Server = "SchemaHierarchy_Server"; - - - public const string SchemaHierarchy_SelectiveXmlIndexes = "SchemaHierarchy_SelectiveXmlIndexes"; - - - public const string SchemaHierarchy_XmlNamespaces = "SchemaHierarchy_XmlNamespaces"; - - - public const string SchemaHierarchy_XmlTypedPromotedPaths = "SchemaHierarchy_XmlTypedPromotedPaths"; - - - public const string SchemaHierarchy_SqlTypedPromotedPaths = "SchemaHierarchy_SqlTypedPromotedPaths"; - - - public const string SchemaHierarchy_DatabaseScopedCredentials = "SchemaHierarchy_DatabaseScopedCredentials"; - - - public const string SchemaHierarchy_ExternalDataSources = "SchemaHierarchy_ExternalDataSources"; - - - public const string SchemaHierarchy_ExternalFileFormats = "SchemaHierarchy_ExternalFileFormats"; - - - public const string SchemaHierarchy_ExternalResources = "SchemaHierarchy_ExternalResources"; - - - public const string SchemaHierarchy_ExternalTables = "SchemaHierarchy_ExternalTables"; - - - public const string SchemaHierarchy_AlwaysEncryptedKeys = "SchemaHierarchy_AlwaysEncryptedKeys"; - - - public const string SchemaHierarchy_ColumnMasterKeys = "SchemaHierarchy_ColumnMasterKeys"; - - - public const string SchemaHierarchy_ColumnEncryptionKeys = "SchemaHierarchy_ColumnEncryptionKeys"; - - - public const string SchemaHierarchy_SubroutineParameterLabelFormatString = "SchemaHierarchy_SubroutineParameterLabelFormatString"; - - - public const string SchemaHierarchy_SubroutineParameterNoDefaultLabel = "SchemaHierarchy_SubroutineParameterNoDefaultLabel"; - - - public const string SchemaHierarchy_SubroutineParameterInputLabel = "SchemaHierarchy_SubroutineParameterInputLabel"; - - - public const string SchemaHierarchy_SubroutineParameterInputOutputLabel = "SchemaHierarchy_SubroutineParameterInputOutputLabel"; - - - public const string SchemaHierarchy_SubroutineParameterInputReadOnlyLabel = "SchemaHierarchy_SubroutineParameterInputReadOnlyLabel"; - - - public const string SchemaHierarchy_SubroutineParameterInputOutputReadOnlyLabel = "SchemaHierarchy_SubroutineParameterInputOutputReadOnlyLabel"; - - - public const string SchemaHierarchy_SubroutineParameterDefaultLabel = "SchemaHierarchy_SubroutineParameterDefaultLabel"; - - - public const string SchemaHierarchy_NullColumn_Label = "SchemaHierarchy_NullColumn_Label"; - - - public const string SchemaHierarchy_NotNullColumn_Label = "SchemaHierarchy_NotNullColumn_Label"; - - - public const string SchemaHierarchy_UDDTLabelWithType = "SchemaHierarchy_UDDTLabelWithType"; - - - public const string SchemaHierarchy_UDDTLabelWithoutType = "SchemaHierarchy_UDDTLabelWithoutType"; - - - public const string SchemaHierarchy_ComputedColumnLabelWithType = "SchemaHierarchy_ComputedColumnLabelWithType"; - - - public const string SchemaHierarchy_ComputedColumnLabelWithoutType = "SchemaHierarchy_ComputedColumnLabelWithoutType"; - - - public const string SchemaHierarchy_ColumnSetLabelWithoutType = "SchemaHierarchy_ColumnSetLabelWithoutType"; - - - public const string SchemaHierarchy_ColumnSetLabelWithType = "SchemaHierarchy_ColumnSetLabelWithType"; - - - public const string SchemaHierarchy_ColumnSetLabelWithTypeAndKeyString = "SchemaHierarchy_ColumnSetLabelWithTypeAndKeyString"; - - - public const string UniqueIndex_LabelPart = "UniqueIndex_LabelPart"; - - - public const string NonUniqueIndex_LabelPart = "NonUniqueIndex_LabelPart"; - - - public const string ClusteredIndex_LabelPart = "ClusteredIndex_LabelPart"; - - - public const string NonClusteredIndex_LabelPart = "NonClusteredIndex_LabelPart"; - - - public const string History_LabelPart = "History_LabelPart"; - - - public const string SystemVersioned_LabelPart = "SystemVersioned_LabelPart"; - - - public const string External_LabelPart = "External_LabelPart"; - - - public const string FileTable_LabelPart = "FileTable_LabelPart"; - - - public const string DatabaseNotAccessible = "DatabaseNotAccessible"; - - - public const string ScriptingParams_ConnectionString_Property_Invalid = "ScriptingParams_ConnectionString_Property_Invalid"; - - - public const string ScriptingParams_FilePath_Property_Invalid = "ScriptingParams_FilePath_Property_Invalid"; - - - public const string ScriptingListObjectsCompleteParams_ConnectionString_Property_Invalid = "ScriptingListObjectsCompleteParams_ConnectionString_Property_Invalid"; - - - public const string StoredProcedureScriptParameterComment = "StoredProcedureScriptParameterComment"; - - - public const string ScriptingGeneralError = "ScriptingGeneralError"; - - - public const string ScriptingExecuteNotSupportedError = "ScriptingExecuteNotSupportedError"; - - - public const string unavailable = "unavailable"; - - - public const string filegroup_dialog_defaultFilegroup = "filegroup_dialog_defaultFilegroup"; - - - public const string filegroup_dialog_title = "filegroup_dialog_title"; - - - public const string filegroups_default = "filegroups_default"; - - - public const string filegroups_files = "filegroups_files"; - - - public const string filegroups_name = "filegroups_name"; - - - public const string filegroups_readonly = "filegroups_readonly"; - - - public const string general_autogrowth = "general_autogrowth"; - - - public const string general_builderText = "general_builderText"; - - - public const string general_default = "general_default"; - - - public const string general_fileGroup = "general_fileGroup"; - - - public const string general_fileName = "general_fileName"; - - - public const string general_fileType = "general_fileType"; - - - public const string general_initialSize = "general_initialSize"; - - - public const string general_newFilegroup = "general_newFilegroup"; - - - public const string general_path = "general_path"; - - - public const string general_physicalFileName = "general_physicalFileName"; - - - public const string general_rawDevice = "general_rawDevice"; - - - public const string general_recoveryModel_bulkLogged = "general_recoveryModel_bulkLogged"; - - - public const string general_recoveryModel_full = "general_recoveryModel_full"; - - - public const string general_recoveryModel_simple = "general_recoveryModel_simple"; - - - public const string general_titleSearchOwner = "general_titleSearchOwner"; - - - public const string prototype_autogrowth_disabled = "prototype_autogrowth_disabled"; - - - public const string prototype_autogrowth_restrictedGrowthByMB = "prototype_autogrowth_restrictedGrowthByMB"; - - - public const string prototype_autogrowth_restrictedGrowthByPercent = "prototype_autogrowth_restrictedGrowthByPercent"; - - - public const string prototype_autogrowth_unrestrictedGrowthByMB = "prototype_autogrowth_unrestrictedGrowthByMB"; - - - public const string prototype_autogrowth_unrestrictedGrowthByPercent = "prototype_autogrowth_unrestrictedGrowthByPercent"; - - - public const string prototype_autogrowth_unlimitedfilestream = "prototype_autogrowth_unlimitedfilestream"; - - - public const string prototype_autogrowth_limitedfilestream = "prototype_autogrowth_limitedfilestream"; - - - public const string prototype_db_category_automatic = "prototype_db_category_automatic"; - - - public const string prototype_db_category_servicebroker = "prototype_db_category_servicebroker"; - - - public const string prototype_db_category_collation = "prototype_db_category_collation"; - - - public const string prototype_db_category_cursor = "prototype_db_category_cursor"; - - - public const string prototype_db_category_misc = "prototype_db_category_misc"; - - - public const string prototype_db_category_recovery = "prototype_db_category_recovery"; - - - public const string prototype_db_category_state = "prototype_db_category_state"; - - - public const string prototype_db_prop_ansiNullDefault = "prototype_db_prop_ansiNullDefault"; - - - public const string prototype_db_prop_ansiNulls = "prototype_db_prop_ansiNulls"; - - - public const string prototype_db_prop_ansiPadding = "prototype_db_prop_ansiPadding"; - - - public const string prototype_db_prop_ansiWarnings = "prototype_db_prop_ansiWarnings"; - - - public const string prototype_db_prop_arithabort = "prototype_db_prop_arithabort"; - - - public const string prototype_db_prop_autoClose = "prototype_db_prop_autoClose"; - - - public const string prototype_db_prop_autoCreateStatistics = "prototype_db_prop_autoCreateStatistics"; - - - public const string prototype_db_prop_autoShrink = "prototype_db_prop_autoShrink"; - - - public const string prototype_db_prop_autoUpdateStatistics = "prototype_db_prop_autoUpdateStatistics"; - - - public const string prototype_db_prop_autoUpdateStatisticsAsync = "prototype_db_prop_autoUpdateStatisticsAsync"; - - - public const string prototype_db_prop_caseSensitive = "prototype_db_prop_caseSensitive"; - - - public const string prototype_db_prop_closeCursorOnCommit = "prototype_db_prop_closeCursorOnCommit"; - - - public const string prototype_db_prop_collation = "prototype_db_prop_collation"; - - - public const string prototype_db_prop_concatNullYieldsNull = "prototype_db_prop_concatNullYieldsNull"; - - - public const string prototype_db_prop_databaseCompatibilityLevel = "prototype_db_prop_databaseCompatibilityLevel"; - - - public const string prototype_db_prop_databaseState = "prototype_db_prop_databaseState"; - - - public const string prototype_db_prop_defaultCursor = "prototype_db_prop_defaultCursor"; - - - public const string prototype_db_prop_fullTextIndexing = "prototype_db_prop_fullTextIndexing"; - - - public const string prototype_db_prop_numericRoundAbort = "prototype_db_prop_numericRoundAbort"; - - - public const string prototype_db_prop_pageVerify = "prototype_db_prop_pageVerify"; - - - public const string prototype_db_prop_quotedIdentifier = "prototype_db_prop_quotedIdentifier"; - - - public const string prototype_db_prop_readOnly = "prototype_db_prop_readOnly"; - - - public const string prototype_db_prop_recursiveTriggers = "prototype_db_prop_recursiveTriggers"; - - - public const string prototype_db_prop_restrictAccess = "prototype_db_prop_restrictAccess"; - - - public const string prototype_db_prop_selectIntoBulkCopy = "prototype_db_prop_selectIntoBulkCopy"; - - - public const string prototype_db_prop_honorBrokerPriority = "prototype_db_prop_honorBrokerPriority"; - - - public const string prototype_db_prop_serviceBrokerGuid = "prototype_db_prop_serviceBrokerGuid"; - - - public const string prototype_db_prop_brokerEnabled = "prototype_db_prop_brokerEnabled"; - - - public const string prototype_db_prop_truncateLogOnCheckpoint = "prototype_db_prop_truncateLogOnCheckpoint"; - - - public const string prototype_db_prop_dbChaining = "prototype_db_prop_dbChaining"; - - - public const string prototype_db_prop_trustworthy = "prototype_db_prop_trustworthy"; - - - public const string prototype_db_prop_dateCorrelationOptimization = "prototype_db_prop_dateCorrelationOptimization"; - - - public const string prototype_db_prop_parameterization = "prototype_db_prop_parameterization"; - - - public const string prototype_db_prop_parameterization_value_forced = "prototype_db_prop_parameterization_value_forced"; - - - public const string prototype_db_prop_parameterization_value_simple = "prototype_db_prop_parameterization_value_simple"; - - - public const string prototype_file_dataFile = "prototype_file_dataFile"; - - - public const string prototype_file_logFile = "prototype_file_logFile"; - - - public const string prototype_file_filestreamFile = "prototype_file_filestreamFile"; - - - public const string prototype_file_noFileGroup = "prototype_file_noFileGroup"; - - - public const string prototype_file_defaultpathstring = "prototype_file_defaultpathstring"; - - - public const string title_openConnectionsMustBeClosed = "title_openConnectionsMustBeClosed"; - - - public const string warning_openConnectionsMustBeClosed = "warning_openConnectionsMustBeClosed"; - - - public const string prototype_db_prop_databaseState_value_autoClosed = "prototype_db_prop_databaseState_value_autoClosed"; - - - public const string prototype_db_prop_databaseState_value_emergency = "prototype_db_prop_databaseState_value_emergency"; - - - public const string prototype_db_prop_databaseState_value_inaccessible = "prototype_db_prop_databaseState_value_inaccessible"; - - - public const string prototype_db_prop_databaseState_value_normal = "prototype_db_prop_databaseState_value_normal"; - - - public const string prototype_db_prop_databaseState_value_offline = "prototype_db_prop_databaseState_value_offline"; - - - public const string prototype_db_prop_databaseState_value_recovering = "prototype_db_prop_databaseState_value_recovering"; - - - public const string prototype_db_prop_databaseState_value_recoveryPending = "prototype_db_prop_databaseState_value_recoveryPending"; - - - public const string prototype_db_prop_databaseState_value_restoring = "prototype_db_prop_databaseState_value_restoring"; - - - public const string prototype_db_prop_databaseState_value_shutdown = "prototype_db_prop_databaseState_value_shutdown"; - - - public const string prototype_db_prop_databaseState_value_standby = "prototype_db_prop_databaseState_value_standby"; - - - public const string prototype_db_prop_databaseState_value_suspect = "prototype_db_prop_databaseState_value_suspect"; - - - public const string prototype_db_prop_defaultCursor_value_global = "prototype_db_prop_defaultCursor_value_global"; - - - public const string prototype_db_prop_defaultCursor_value_local = "prototype_db_prop_defaultCursor_value_local"; - - - public const string prototype_db_prop_restrictAccess_value_multiple = "prototype_db_prop_restrictAccess_value_multiple"; - - - public const string prototype_db_prop_restrictAccess_value_restricted = "prototype_db_prop_restrictAccess_value_restricted"; - - - public const string prototype_db_prop_restrictAccess_value_single = "prototype_db_prop_restrictAccess_value_single"; - - - public const string prototype_db_prop_pageVerify_value_checksum = "prototype_db_prop_pageVerify_value_checksum"; - - - public const string prototype_db_prop_pageVerify_value_none = "prototype_db_prop_pageVerify_value_none"; - - - public const string prototype_db_prop_pageVerify_value_tornPageDetection = "prototype_db_prop_pageVerify_value_tornPageDetection"; - - - public const string prototype_db_prop_varDecimalEnabled = "prototype_db_prop_varDecimalEnabled"; - - - public const string compatibilityLevel_katmai = "compatibilityLevel_katmai"; - - - public const string prototype_db_prop_encryptionEnabled = "prototype_db_prop_encryptionEnabled"; - - - public const string prototype_db_prop_databasescopedconfig_value_off = "prototype_db_prop_databasescopedconfig_value_off"; - - - public const string prototype_db_prop_databasescopedconfig_value_on = "prototype_db_prop_databasescopedconfig_value_on"; - - - public const string prototype_db_prop_databasescopedconfig_value_primary = "prototype_db_prop_databasescopedconfig_value_primary"; - - - public const string error_db_prop_invalidleadingColumns = "error_db_prop_invalidleadingColumns"; - - - public const string compatibilityLevel_denali = "compatibilityLevel_denali"; - - - public const string compatibilityLevel_sql14 = "compatibilityLevel_sql14"; - - - public const string compatibilityLevel_sql15 = "compatibilityLevel_sql15"; - - - public const string compatibilityLevel_sqlvNext = "compatibilityLevel_sqlvNext"; - - - public const string general_containmentType_None = "general_containmentType_None"; - - - public const string general_containmentType_Partial = "general_containmentType_Partial"; - - - public const string filegroups_filestreamFiles = "filegroups_filestreamFiles"; - - - public const string prototype_file_noApplicableFileGroup = "prototype_file_noApplicableFileGroup"; - - - public const string NeverBackedUp = "NeverBackedUp"; - - - public const string Error_InvalidDirectoryName = "Error_InvalidDirectoryName"; - - - public const string Error_ExistingDirectoryName = "Error_ExistingDirectoryName"; - - - public const string BackupTaskName = "BackupTaskName"; - - - public const string BackupPathIsFolderError = "BackupPathIsFolderError"; - - - public const string InvalidBackupPathError = "InvalidBackupPathError"; - - - public const string TaskInProgress = "TaskInProgress"; - - - public const string TaskCompleted = "TaskCompleted"; - - - public const string ConflictWithNoRecovery = "ConflictWithNoRecovery"; - - - public const string InvalidPathForDatabaseFile = "InvalidPathForDatabaseFile"; - - - public const string Log = "Log"; - - - public const string RestorePlanFailed = "RestorePlanFailed"; - - - public const string RestoreNotSupported = "RestoreNotSupported"; - - - public const string RestoreTaskName = "RestoreTaskName"; - - - public const string RestoreCopyOnly = "RestoreCopyOnly"; - - - public const string RestoreBackupSetComponent = "RestoreBackupSetComponent"; - - - public const string RestoreBackupSetName = "RestoreBackupSetName"; - - - public const string RestoreBackupSetType = "RestoreBackupSetType"; - - - public const string RestoreBackupSetServer = "RestoreBackupSetServer"; - - - public const string RestoreBackupSetDatabase = "RestoreBackupSetDatabase"; - - - public const string RestoreBackupSetPosition = "RestoreBackupSetPosition"; - - - public const string RestoreBackupSetFirstLsn = "RestoreBackupSetFirstLsn"; - - - public const string RestoreBackupSetLastLsn = "RestoreBackupSetLastLsn"; - - - public const string RestoreBackupSetCheckpointLsn = "RestoreBackupSetCheckpointLsn"; - - - public const string RestoreBackupSetFullLsn = "RestoreBackupSetFullLsn"; - - - public const string RestoreBackupSetStartDate = "RestoreBackupSetStartDate"; - - - public const string RestoreBackupSetFinishDate = "RestoreBackupSetFinishDate"; - - - public const string RestoreBackupSetSize = "RestoreBackupSetSize"; - - - public const string RestoreBackupSetUserName = "RestoreBackupSetUserName"; - - - public const string RestoreBackupSetExpiration = "RestoreBackupSetExpiration"; - - - public const string TheLastBackupTaken = "TheLastBackupTaken"; - - - public const string NoBackupsetsToRestore = "NoBackupsetsToRestore"; - - - public const string ScriptTaskName = "ScriptTaskName"; - - - public const string InvalidPathError = "InvalidPathError"; - - - public const string ProfilerConnectionNotFound = "ProfilerConnectionNotFound"; - - - private Keys() - { } - - public static CultureInfo Culture - { - get - { - return _culture; - } - set - { - _culture = value; - } - } - - public static string GetString(string key) - { - return resourceManager.GetString(key, _culture); - } - - - public static string GetString(string key, object arg0) - { - return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0); - } - - - public static string GetString(string key, object arg0, object arg1) - { - return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0, arg1); - } - - - public static string GetString(string key, object arg0, object arg1, object arg2, object arg3) - { - return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0, arg1, arg2, arg3); - } - - - public static string GetString(string key, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5) - { - return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0, arg1, arg2, arg3, arg4, arg5); - } - - } - } -} +// WARNING: +// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0 +// from information in sr.strings +// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN +// +namespace Microsoft.SqlTools.CoreServices +{ + using System; + using System.Reflection; + using System.Resources; + using System.Globalization; + + [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class SR + { + protected SR() + { } + + public static CultureInfo Culture + { + get + { + return Keys.Culture; + } + set + { + Keys.Culture = value; + } + } + + + public static string ConnectionServiceConnectErrorNullParams + { + get + { + return Keys.GetString(Keys.ConnectionServiceConnectErrorNullParams); + } + } + + public static string ConnectionServiceListDbErrorNullOwnerUri + { + get + { + return Keys.GetString(Keys.ConnectionServiceListDbErrorNullOwnerUri); + } + } + + public static string ConnectionServiceConnectionCanceled + { + get + { + return Keys.GetString(Keys.ConnectionServiceConnectionCanceled); + } + } + + public static string ConnectionParamsValidateNullOwnerUri + { + get + { + return Keys.GetString(Keys.ConnectionParamsValidateNullOwnerUri); + } + } + + public static string ConnectionParamsValidateNullConnection + { + get + { + return Keys.GetString(Keys.ConnectionParamsValidateNullConnection); + } + } + + public static string ConnectionParamsValidateNullServerName + { + get + { + return Keys.GetString(Keys.ConnectionParamsValidateNullServerName); + } + } + + public static string AzureSqlDbEdition + { + get + { + return Keys.GetString(Keys.AzureSqlDbEdition); + } + } + + public static string AzureSqlDwEdition + { + get + { + return Keys.GetString(Keys.AzureSqlDwEdition); + } + } + + public static string AzureSqlStretchEdition + { + get + { + return Keys.GetString(Keys.AzureSqlStretchEdition); + } + } + + public static string AzureSqlAnalyticsOnDemandEdition + { + get + { + return Keys.GetString(Keys.AzureSqlAnalyticsOnDemandEdition); + } + } + + public static string QueryServiceCancelAlreadyCompleted + { + get + { + return Keys.GetString(Keys.QueryServiceCancelAlreadyCompleted); + } + } + + public static string QueryServiceCancelDisposeFailed + { + get + { + return Keys.GetString(Keys.QueryServiceCancelDisposeFailed); + } + } + + public static string QueryServiceQueryCancelled + { + get + { + return Keys.GetString(Keys.QueryServiceQueryCancelled); + } + } + + public static string QueryServiceSubsetBatchNotCompleted + { + get + { + return Keys.GetString(Keys.QueryServiceSubsetBatchNotCompleted); + } + } + + public static string QueryServiceSubsetBatchOutOfRange + { + get + { + return Keys.GetString(Keys.QueryServiceSubsetBatchOutOfRange); + } + } + + public static string QueryServiceSubsetResultSetOutOfRange + { + get + { + return Keys.GetString(Keys.QueryServiceSubsetResultSetOutOfRange); + } + } + + public static string QueryServiceDataReaderByteCountInvalid + { + get + { + return Keys.GetString(Keys.QueryServiceDataReaderByteCountInvalid); + } + } + + public static string QueryServiceDataReaderCharCountInvalid + { + get + { + return Keys.GetString(Keys.QueryServiceDataReaderCharCountInvalid); + } + } + + public static string QueryServiceDataReaderXmlCountInvalid + { + get + { + return Keys.GetString(Keys.QueryServiceDataReaderXmlCountInvalid); + } + } + + public static string QueryServiceFileWrapperWriteOnly + { + get + { + return Keys.GetString(Keys.QueryServiceFileWrapperWriteOnly); + } + } + + public static string QueryServiceFileWrapperNotInitialized + { + get + { + return Keys.GetString(Keys.QueryServiceFileWrapperNotInitialized); + } + } + + public static string QueryServiceFileWrapperReadOnly + { + get + { + return Keys.GetString(Keys.QueryServiceFileWrapperReadOnly); + } + } + + public static string QueryServiceAffectedOneRow + { + get + { + return Keys.GetString(Keys.QueryServiceAffectedOneRow); + } + } + + public static string QueryServiceCompletedSuccessfully + { + get + { + return Keys.GetString(Keys.QueryServiceCompletedSuccessfully); + } + } + + public static string QueryServiceColumnNull + { + get + { + return Keys.GetString(Keys.QueryServiceColumnNull); + } + } + + public static string QueryServiceCellNull + { + get + { + return Keys.GetString(Keys.QueryServiceCellNull); + } + } + + public static string QueryServiceRequestsNoQuery + { + get + { + return Keys.GetString(Keys.QueryServiceRequestsNoQuery); + } + } + + public static string QueryServiceQueryInvalidOwnerUri + { + get + { + return Keys.GetString(Keys.QueryServiceQueryInvalidOwnerUri); + } + } + + public static string QueryServiceQueryInProgress + { + get + { + return Keys.GetString(Keys.QueryServiceQueryInProgress); + } + } + + public static string QueryServiceMessageSenderNotSql + { + get + { + return Keys.GetString(Keys.QueryServiceMessageSenderNotSql); + } + } + + public static string QueryServiceResultSetAddNoRows + { + get + { + return Keys.GetString(Keys.QueryServiceResultSetAddNoRows); + } + } + + public static string QueryServiceResultSetHasNoResults + { + get + { + return Keys.GetString(Keys.QueryServiceResultSetHasNoResults); + } + } + + public static string QueryServiceResultSetTooLarge + { + get + { + return Keys.GetString(Keys.QueryServiceResultSetTooLarge); + } + } + + public static string QueryServiceSaveAsResultSetNotComplete + { + get + { + return Keys.GetString(Keys.QueryServiceSaveAsResultSetNotComplete); + } + } + + public static string QueryServiceSaveAsMiscStartingError + { + get + { + return Keys.GetString(Keys.QueryServiceSaveAsMiscStartingError); + } + } + + public static string QueryServiceSaveAsInProgress + { + get + { + return Keys.GetString(Keys.QueryServiceSaveAsInProgress); + } + } + + public static string QueryServiceResultSetNotRead + { + get + { + return Keys.GetString(Keys.QueryServiceResultSetNotRead); + } + } + + public static string QueryServiceResultSetStartRowOutOfRange + { + get + { + return Keys.GetString(Keys.QueryServiceResultSetStartRowOutOfRange); + } + } + + public static string QueryServiceResultSetRowCountOutOfRange + { + get + { + return Keys.GetString(Keys.QueryServiceResultSetRowCountOutOfRange); + } + } + + public static string QueryServiceResultSetNoColumnSchema + { + get + { + return Keys.GetString(Keys.QueryServiceResultSetNoColumnSchema); + } + } + + public static string QueryServiceExecutionPlanNotFound + { + get + { + return Keys.GetString(Keys.QueryServiceExecutionPlanNotFound); + } + } + + public static string PeekDefinitionNoResultsError + { + get + { + return Keys.GetString(Keys.PeekDefinitionNoResultsError); + } + } + + public static string PeekDefinitionDatabaseError + { + get + { + return Keys.GetString(Keys.PeekDefinitionDatabaseError); + } + } + + public static string PeekDefinitionNotConnectedError + { + get + { + return Keys.GetString(Keys.PeekDefinitionNotConnectedError); + } + } + + public static string PeekDefinitionTimedoutError + { + get + { + return Keys.GetString(Keys.PeekDefinitionTimedoutError); + } + } + + public static string PeekDefinitionTypeNotSupportedError + { + get + { + return Keys.GetString(Keys.PeekDefinitionTypeNotSupportedError); + } + } + + public static string ErrorEmptyStringReplacement + { + get + { + return Keys.GetString(Keys.ErrorEmptyStringReplacement); + } + } + + public static string WorkspaceServicePositionLineOutOfRange + { + get + { + return Keys.GetString(Keys.WorkspaceServicePositionLineOutOfRange); + } + } + + public static string EditDataObjectNotFound + { + get + { + return Keys.GetString(Keys.EditDataObjectNotFound); + } + } + + public static string EditDataSessionNotFound + { + get + { + return Keys.GetString(Keys.EditDataSessionNotFound); + } + } + + public static string EditDataSessionAlreadyExists + { + get + { + return Keys.GetString(Keys.EditDataSessionAlreadyExists); + } + } + + public static string EditDataSessionNotInitialized + { + get + { + return Keys.GetString(Keys.EditDataSessionNotInitialized); + } + } + + public static string EditDataSessionAlreadyInitialized + { + get + { + return Keys.GetString(Keys.EditDataSessionAlreadyInitialized); + } + } + + public static string EditDataSessionAlreadyInitializing + { + get + { + return Keys.GetString(Keys.EditDataSessionAlreadyInitializing); + } + } + + public static string EditDataMetadataNotExtended + { + get + { + return Keys.GetString(Keys.EditDataMetadataNotExtended); + } + } + + public static string EditDataMetadataObjectNameRequired + { + get + { + return Keys.GetString(Keys.EditDataMetadataObjectNameRequired); + } + } + + public static string EditDataMetadataTooManyIdentifiers + { + get + { + return Keys.GetString(Keys.EditDataMetadataTooManyIdentifiers); + } + } + + public static string EditDataFilteringNegativeLimit + { + get + { + return Keys.GetString(Keys.EditDataFilteringNegativeLimit); + } + } + + public static string EditDataQueryFailed + { + get + { + return Keys.GetString(Keys.EditDataQueryFailed); + } + } + + public static string EditDataQueryNotCompleted + { + get + { + return Keys.GetString(Keys.EditDataQueryNotCompleted); + } + } + + public static string EditDataQueryImproperResultSets + { + get + { + return Keys.GetString(Keys.EditDataQueryImproperResultSets); + } + } + + public static string EditDataFailedAddRow + { + get + { + return Keys.GetString(Keys.EditDataFailedAddRow); + } + } + + public static string EditDataRowOutOfRange + { + get + { + return Keys.GetString(Keys.EditDataRowOutOfRange); + } + } + + public static string EditDataUpdatePending + { + get + { + return Keys.GetString(Keys.EditDataUpdatePending); + } + } + + public static string EditDataUpdateNotPending + { + get + { + return Keys.GetString(Keys.EditDataUpdateNotPending); + } + } + + public static string EditDataObjectMetadataNotFound + { + get + { + return Keys.GetString(Keys.EditDataObjectMetadataNotFound); + } + } + + public static string EditDataInvalidFormatBinary + { + get + { + return Keys.GetString(Keys.EditDataInvalidFormatBinary); + } + } + + public static string EditDataInvalidFormatBoolean + { + get + { + return Keys.GetString(Keys.EditDataInvalidFormatBoolean); + } + } + + public static string EditDataDeleteSetCell + { + get + { + return Keys.GetString(Keys.EditDataDeleteSetCell); + } + } + + public static string EditDataColumnIdOutOfRange + { + get + { + return Keys.GetString(Keys.EditDataColumnIdOutOfRange); + } + } + + public static string EditDataColumnCannotBeEdited + { + get + { + return Keys.GetString(Keys.EditDataColumnCannotBeEdited); + } + } + + public static string EditDataColumnNoKeyColumns + { + get + { + return Keys.GetString(Keys.EditDataColumnNoKeyColumns); + } + } + + public static string EditDataScriptFilePathNull + { + get + { + return Keys.GetString(Keys.EditDataScriptFilePathNull); + } + } + + public static string EditDataCommitInProgress + { + get + { + return Keys.GetString(Keys.EditDataCommitInProgress); + } + } + + public static string EditDataComputedColumnPlaceholder + { + get + { + return Keys.GetString(Keys.EditDataComputedColumnPlaceholder); + } + } + + public static string EditDataTimeOver24Hrs + { + get + { + return Keys.GetString(Keys.EditDataTimeOver24Hrs); + } + } + + public static string EditDataNullNotAllowed + { + get + { + return Keys.GetString(Keys.EditDataNullNotAllowed); + } + } + + public static string EE_BatchSqlMessageNoProcedureInfo + { + get + { + return Keys.GetString(Keys.EE_BatchSqlMessageNoProcedureInfo); + } + } + + public static string EE_BatchSqlMessageWithProcedureInfo + { + get + { + return Keys.GetString(Keys.EE_BatchSqlMessageWithProcedureInfo); + } + } + + public static string EE_BatchSqlMessageNoLineInfo + { + get + { + return Keys.GetString(Keys.EE_BatchSqlMessageNoLineInfo); + } + } + + public static string EE_BatchError_Exception + { + get + { + return Keys.GetString(Keys.EE_BatchError_Exception); + } + } + + public static string EE_BatchExecutionInfo_RowsAffected + { + get + { + return Keys.GetString(Keys.EE_BatchExecutionInfo_RowsAffected); + } + } + + public static string EE_ExecutionNotYetCompleteError + { + get + { + return Keys.GetString(Keys.EE_ExecutionNotYetCompleteError); + } + } + + public static string EE_ScriptError_Error + { + get + { + return Keys.GetString(Keys.EE_ScriptError_Error); + } + } + + public static string EE_ScriptError_ParsingSyntax + { + get + { + return Keys.GetString(Keys.EE_ScriptError_ParsingSyntax); + } + } + + public static string EE_ScriptError_FatalError + { + get + { + return Keys.GetString(Keys.EE_ScriptError_FatalError); + } + } + + public static string EE_ExecutionInfo_FinalizingLoop + { + get + { + return Keys.GetString(Keys.EE_ExecutionInfo_FinalizingLoop); + } + } + + public static string EE_ExecutionInfo_QueryCancelledbyUser + { + get + { + return Keys.GetString(Keys.EE_ExecutionInfo_QueryCancelledbyUser); + } + } + + public static string EE_BatchExecutionError_Halting + { + get + { + return Keys.GetString(Keys.EE_BatchExecutionError_Halting); + } + } + + public static string EE_BatchExecutionError_Ignoring + { + get + { + return Keys.GetString(Keys.EE_BatchExecutionError_Ignoring); + } + } + + public static string EE_ExecutionInfo_InitializingLoop + { + get + { + return Keys.GetString(Keys.EE_ExecutionInfo_InitializingLoop); + } + } + + public static string EE_ExecutionError_CommandNotSupported + { + get + { + return Keys.GetString(Keys.EE_ExecutionError_CommandNotSupported); + } + } + + public static string EE_ExecutionError_VariableNotFound + { + get + { + return Keys.GetString(Keys.EE_ExecutionError_VariableNotFound); + } + } + + public static string BatchParserWrapperExecutionEngineError + { + get + { + return Keys.GetString(Keys.BatchParserWrapperExecutionEngineError); + } + } + + public static string BatchParserWrapperExecutionError + { + get + { + return Keys.GetString(Keys.BatchParserWrapperExecutionError); + } + } + + public static string BatchParserWrapperExecutionEngineBatchMessage + { + get + { + return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchMessage); + } + } + + public static string BatchParserWrapperExecutionEngineBatchResultSetProcessing + { + get + { + return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchResultSetProcessing); + } + } + + public static string BatchParserWrapperExecutionEngineBatchResultSetFinished + { + get + { + return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchResultSetFinished); + } + } + + public static string BatchParserWrapperExecutionEngineBatchCancelling + { + get + { + return Keys.GetString(Keys.BatchParserWrapperExecutionEngineBatchCancelling); + } + } + + public static string EE_ScriptError_Warning + { + get + { + return Keys.GetString(Keys.EE_ScriptError_Warning); + } + } + + public static string TroubleshootingAssistanceMessage + { + get + { + return Keys.GetString(Keys.TroubleshootingAssistanceMessage); + } + } + + public static string BatchParser_CircularReference + { + get + { + return Keys.GetString(Keys.BatchParser_CircularReference); + } + } + + public static string BatchParser_CommentNotTerminated + { + get + { + return Keys.GetString(Keys.BatchParser_CommentNotTerminated); + } + } + + public static string BatchParser_StringNotTerminated + { + get + { + return Keys.GetString(Keys.BatchParser_StringNotTerminated); + } + } + + public static string BatchParser_IncorrectSyntax + { + get + { + return Keys.GetString(Keys.BatchParser_IncorrectSyntax); + } + } + + public static string BatchParser_VariableNotDefined + { + get + { + return Keys.GetString(Keys.BatchParser_VariableNotDefined); + } + } + + public static string TestLocalizationConstant + { + get + { + return Keys.GetString(Keys.TestLocalizationConstant); + } + } + + public static string SqlScriptFormatterDecimalMissingPrecision + { + get + { + return Keys.GetString(Keys.SqlScriptFormatterDecimalMissingPrecision); + } + } + + public static string SqlScriptFormatterLengthTypeMissingSize + { + get + { + return Keys.GetString(Keys.SqlScriptFormatterLengthTypeMissingSize); + } + } + + public static string SqlScriptFormatterScalarTypeMissingScale + { + get + { + return Keys.GetString(Keys.SqlScriptFormatterScalarTypeMissingScale); + } + } + + public static string TreeNodeError + { + get + { + return Keys.GetString(Keys.TreeNodeError); + } + } + + public static string ServerNodeConnectionError + { + get + { + return Keys.GetString(Keys.ServerNodeConnectionError); + } + } + + public static string SchemaHierarchy_Aggregates + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Aggregates); + } + } + + public static string SchemaHierarchy_ServerRoles + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ServerRoles); + } + } + + public static string SchemaHierarchy_ApplicationRoles + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ApplicationRoles); + } + } + + public static string SchemaHierarchy_Assemblies + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Assemblies); + } + } + + public static string SchemaHierarchy_AssemblyFiles + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_AssemblyFiles); + } + } + + public static string SchemaHierarchy_AsymmetricKeys + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_AsymmetricKeys); + } + } + + public static string SchemaHierarchy_DatabaseAsymmetricKeys + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_DatabaseAsymmetricKeys); + } + } + + public static string SchemaHierarchy_DataCompressionOptions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_DataCompressionOptions); + } + } + + public static string SchemaHierarchy_Certificates + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Certificates); + } + } + + public static string SchemaHierarchy_FileTables + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_FileTables); + } + } + + public static string SchemaHierarchy_DatabaseCertificates + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_DatabaseCertificates); + } + } + + public static string SchemaHierarchy_CheckConstraints + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_CheckConstraints); + } + } + + public static string SchemaHierarchy_Columns + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Columns); + } + } + + public static string SchemaHierarchy_Constraints + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Constraints); + } + } + + public static string SchemaHierarchy_Contracts + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Contracts); + } + } + + public static string SchemaHierarchy_Credentials + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Credentials); + } + } + + public static string SchemaHierarchy_ErrorMessages + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ErrorMessages); + } + } + + public static string SchemaHierarchy_ServerRoleMembership + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ServerRoleMembership); + } + } + + public static string SchemaHierarchy_DatabaseOptions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_DatabaseOptions); + } + } + + public static string SchemaHierarchy_DatabaseRoles + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_DatabaseRoles); + } + } + + public static string SchemaHierarchy_RoleMemberships + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_RoleMemberships); + } + } + + public static string SchemaHierarchy_DatabaseTriggers + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_DatabaseTriggers); + } + } + + public static string SchemaHierarchy_DefaultConstraints + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_DefaultConstraints); + } + } + + public static string SchemaHierarchy_Defaults + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Defaults); + } + } + + public static string SchemaHierarchy_Sequences + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Sequences); + } + } + + public static string SchemaHierarchy_Endpoints + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Endpoints); + } + } + + public static string SchemaHierarchy_EventNotifications + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_EventNotifications); + } + } + + public static string SchemaHierarchy_ServerEventNotifications + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ServerEventNotifications); + } + } + + public static string SchemaHierarchy_ExtendedProperties + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ExtendedProperties); + } + } + + public static string SchemaHierarchy_FileGroups + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_FileGroups); + } + } + + public static string SchemaHierarchy_ForeignKeys + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ForeignKeys); + } + } + + public static string SchemaHierarchy_FullTextCatalogs + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_FullTextCatalogs); + } + } + + public static string SchemaHierarchy_FullTextIndexes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_FullTextIndexes); + } + } + + public static string SchemaHierarchy_Functions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Functions); + } + } + + public static string SchemaHierarchy_Indexes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Indexes); + } + } + + public static string SchemaHierarchy_InlineFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_InlineFunctions); + } + } + + public static string SchemaHierarchy_Keys + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Keys); + } + } + + public static string SchemaHierarchy_LinkedServers + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_LinkedServers); + } + } + + public static string SchemaHierarchy_LinkedServerLogins + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_LinkedServerLogins); + } + } + + public static string SchemaHierarchy_Logins + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Logins); + } + } + + public static string SchemaHierarchy_MasterKey + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_MasterKey); + } + } + + public static string SchemaHierarchy_MasterKeys + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_MasterKeys); + } + } + + public static string SchemaHierarchy_MessageTypes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_MessageTypes); + } + } + + public static string SchemaHierarchy_MultiSelectFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_MultiSelectFunctions); + } + } + + public static string SchemaHierarchy_Parameters + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Parameters); + } + } + + public static string SchemaHierarchy_PartitionFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_PartitionFunctions); + } + } + + public static string SchemaHierarchy_PartitionSchemes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_PartitionSchemes); + } + } + + public static string SchemaHierarchy_Permissions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Permissions); + } + } + + public static string SchemaHierarchy_PrimaryKeys + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_PrimaryKeys); + } + } + + public static string SchemaHierarchy_Programmability + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Programmability); + } + } + + public static string SchemaHierarchy_Queues + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Queues); + } + } + + public static string SchemaHierarchy_RemoteServiceBindings + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_RemoteServiceBindings); + } + } + + public static string SchemaHierarchy_ReturnedColumns + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ReturnedColumns); + } + } + + public static string SchemaHierarchy_Roles + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Roles); + } + } + + public static string SchemaHierarchy_Routes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Routes); + } + } + + public static string SchemaHierarchy_Rules + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Rules); + } + } + + public static string SchemaHierarchy_Schemas + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Schemas); + } + } + + public static string SchemaHierarchy_Security + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Security); + } + } + + public static string SchemaHierarchy_ServerObjects + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ServerObjects); + } + } + + public static string SchemaHierarchy_Management + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Management); + } + } + + public static string SchemaHierarchy_ServerTriggers + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ServerTriggers); + } + } + + public static string SchemaHierarchy_ServiceBroker + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ServiceBroker); + } + } + + public static string SchemaHierarchy_Services + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Services); + } + } + + public static string SchemaHierarchy_Signatures + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Signatures); + } + } + + public static string SchemaHierarchy_LogFiles + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_LogFiles); + } + } + + public static string SchemaHierarchy_Statistics + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Statistics); + } + } + + public static string SchemaHierarchy_Storage + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Storage); + } + } + + public static string SchemaHierarchy_StoredProcedures + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_StoredProcedures); + } + } + + public static string SchemaHierarchy_SymmetricKeys + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SymmetricKeys); + } + } + + public static string SchemaHierarchy_Synonyms + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Synonyms); + } + } + + public static string SchemaHierarchy_Tables + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Tables); + } + } + + public static string SchemaHierarchy_Triggers + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Triggers); + } + } + + public static string SchemaHierarchy_Types + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Types); + } + } + + public static string SchemaHierarchy_UniqueKeys + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_UniqueKeys); + } + } + + public static string SchemaHierarchy_UserDefinedDataTypes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_UserDefinedDataTypes); + } + } + + public static string SchemaHierarchy_UserDefinedTypes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_UserDefinedTypes); + } + } + + public static string SchemaHierarchy_Users + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Users); + } + } + + public static string SchemaHierarchy_Views + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Views); + } + } + + public static string SchemaHierarchy_XmlIndexes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_XmlIndexes); + } + } + + public static string SchemaHierarchy_XMLSchemaCollections + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_XMLSchemaCollections); + } + } + + public static string SchemaHierarchy_UserDefinedTableTypes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_UserDefinedTableTypes); + } + } + + public static string SchemaHierarchy_FilegroupFiles + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_FilegroupFiles); + } + } + + public static string MissingCaption + { + get + { + return Keys.GetString(Keys.MissingCaption); + } + } + + public static string SchemaHierarchy_BrokerPriorities + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_BrokerPriorities); + } + } + + public static string SchemaHierarchy_CryptographicProviders + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_CryptographicProviders); + } + } + + public static string SchemaHierarchy_DatabaseAuditSpecifications + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_DatabaseAuditSpecifications); + } + } + + public static string SchemaHierarchy_DatabaseEncryptionKeys + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_DatabaseEncryptionKeys); + } + } + + public static string SchemaHierarchy_EventSessions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_EventSessions); + } + } + + public static string SchemaHierarchy_FullTextStopLists + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_FullTextStopLists); + } + } + + public static string SchemaHierarchy_ResourcePools + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ResourcePools); + } + } + + public static string SchemaHierarchy_ServerAudits + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ServerAudits); + } + } + + public static string SchemaHierarchy_ServerAuditSpecifications + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ServerAuditSpecifications); + } + } + + public static string SchemaHierarchy_SpatialIndexes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SpatialIndexes); + } + } + + public static string SchemaHierarchy_WorkloadGroups + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_WorkloadGroups); + } + } + + public static string SchemaHierarchy_SqlFiles + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SqlFiles); + } + } + + public static string SchemaHierarchy_ServerFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ServerFunctions); + } + } + + public static string SchemaHierarchy_SqlType + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SqlType); + } + } + + public static string SchemaHierarchy_ServerOptions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ServerOptions); + } + } + + public static string SchemaHierarchy_DatabaseDiagrams + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_DatabaseDiagrams); + } + } + + public static string SchemaHierarchy_SystemTables + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemTables); + } + } + + public static string SchemaHierarchy_Databases + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Databases); + } + } + + public static string SchemaHierarchy_SystemContracts + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemContracts); + } + } + + public static string SchemaHierarchy_SystemDatabases + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemDatabases); + } + } + + public static string SchemaHierarchy_SystemMessageTypes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemMessageTypes); + } + } + + public static string SchemaHierarchy_SystemQueues + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemQueues); + } + } + + public static string SchemaHierarchy_SystemServices + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemServices); + } + } + + public static string SchemaHierarchy_SystemStoredProcedures + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemStoredProcedures); + } + } + + public static string SchemaHierarchy_SystemViews + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemViews); + } + } + + public static string SchemaHierarchy_DataTierApplications + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_DataTierApplications); + } + } + + public static string SchemaHierarchy_ExtendedStoredProcedures + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ExtendedStoredProcedures); + } + } + + public static string SchemaHierarchy_SystemAggregateFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemAggregateFunctions); + } + } + + public static string SchemaHierarchy_SystemApproximateNumerics + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemApproximateNumerics); + } + } + + public static string SchemaHierarchy_SystemBinaryStrings + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemBinaryStrings); + } + } + + public static string SchemaHierarchy_SystemCharacterStrings + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemCharacterStrings); + } + } + + public static string SchemaHierarchy_SystemCLRDataTypes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemCLRDataTypes); + } + } + + public static string SchemaHierarchy_SystemConfigurationFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemConfigurationFunctions); + } + } + + public static string SchemaHierarchy_SystemCursorFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemCursorFunctions); + } + } + + public static string SchemaHierarchy_SystemDataTypes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemDataTypes); + } + } + + public static string SchemaHierarchy_SystemDateAndTime + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemDateAndTime); + } + } + + public static string SchemaHierarchy_SystemDateAndTimeFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemDateAndTimeFunctions); + } + } + + public static string SchemaHierarchy_SystemExactNumerics + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemExactNumerics); + } + } + + public static string SchemaHierarchy_SystemFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemFunctions); + } + } + + public static string SchemaHierarchy_SystemHierarchyIdFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemHierarchyIdFunctions); + } + } + + public static string SchemaHierarchy_SystemMathematicalFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemMathematicalFunctions); + } + } + + public static string SchemaHierarchy_SystemMetadataFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemMetadataFunctions); + } + } + + public static string SchemaHierarchy_SystemOtherDataTypes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemOtherDataTypes); + } + } + + public static string SchemaHierarchy_SystemOtherFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemOtherFunctions); + } + } + + public static string SchemaHierarchy_SystemRowsetFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemRowsetFunctions); + } + } + + public static string SchemaHierarchy_SystemSecurityFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemSecurityFunctions); + } + } + + public static string SchemaHierarchy_SystemSpatialDataTypes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemSpatialDataTypes); + } + } + + public static string SchemaHierarchy_SystemStringFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemStringFunctions); + } + } + + public static string SchemaHierarchy_SystemSystemStatisticalFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemSystemStatisticalFunctions); + } + } + + public static string SchemaHierarchy_SystemTextAndImageFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemTextAndImageFunctions); + } + } + + public static string SchemaHierarchy_SystemUnicodeCharacterStrings + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemUnicodeCharacterStrings); + } + } + + public static string SchemaHierarchy_AggregateFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_AggregateFunctions); + } + } + + public static string SchemaHierarchy_ScalarValuedFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ScalarValuedFunctions); + } + } + + public static string SchemaHierarchy_TableValuedFunctions + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_TableValuedFunctions); + } + } + + public static string SchemaHierarchy_SystemExtendedStoredProcedures + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SystemExtendedStoredProcedures); + } + } + + public static string SchemaHierarchy_BuiltInType + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_BuiltInType); + } + } + + public static string SchemaHierarchy_BuiltInServerRole + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_BuiltInServerRole); + } + } + + public static string SchemaHierarchy_UserWithPassword + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_UserWithPassword); + } + } + + public static string SchemaHierarchy_SearchPropertyList + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SearchPropertyList); + } + } + + public static string SchemaHierarchy_SecurityPolicies + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SecurityPolicies); + } + } + + public static string SchemaHierarchy_SecurityPredicates + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SecurityPredicates); + } + } + + public static string SchemaHierarchy_ServerRole + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ServerRole); + } + } + + public static string SchemaHierarchy_SearchPropertyLists + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SearchPropertyLists); + } + } + + public static string SchemaHierarchy_ColumnStoreIndexes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ColumnStoreIndexes); + } + } + + public static string SchemaHierarchy_TableTypeIndexes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_TableTypeIndexes); + } + } + + public static string SchemaHierarchy_Server + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_Server); + } + } + + public static string SchemaHierarchy_SelectiveXmlIndexes + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SelectiveXmlIndexes); + } + } + + public static string SchemaHierarchy_XmlNamespaces + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_XmlNamespaces); + } + } + + public static string SchemaHierarchy_XmlTypedPromotedPaths + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_XmlTypedPromotedPaths); + } + } + + public static string SchemaHierarchy_SqlTypedPromotedPaths + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SqlTypedPromotedPaths); + } + } + + public static string SchemaHierarchy_DatabaseScopedCredentials + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_DatabaseScopedCredentials); + } + } + + public static string SchemaHierarchy_ExternalDataSources + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ExternalDataSources); + } + } + + public static string SchemaHierarchy_ExternalFileFormats + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ExternalFileFormats); + } + } + + public static string SchemaHierarchy_ExternalResources + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ExternalResources); + } + } + + public static string SchemaHierarchy_ExternalTables + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ExternalTables); + } + } + + public static string SchemaHierarchy_AlwaysEncryptedKeys + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_AlwaysEncryptedKeys); + } + } + + public static string SchemaHierarchy_ColumnMasterKeys + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ColumnMasterKeys); + } + } + + public static string SchemaHierarchy_ColumnEncryptionKeys + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ColumnEncryptionKeys); + } + } + + public static string SchemaHierarchy_SubroutineParameterLabelFormatString + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SubroutineParameterLabelFormatString); + } + } + + public static string SchemaHierarchy_SubroutineParameterNoDefaultLabel + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SubroutineParameterNoDefaultLabel); + } + } + + public static string SchemaHierarchy_SubroutineParameterInputLabel + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SubroutineParameterInputLabel); + } + } + + public static string SchemaHierarchy_SubroutineParameterInputOutputLabel + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SubroutineParameterInputOutputLabel); + } + } + + public static string SchemaHierarchy_SubroutineParameterInputReadOnlyLabel + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SubroutineParameterInputReadOnlyLabel); + } + } + + public static string SchemaHierarchy_SubroutineParameterInputOutputReadOnlyLabel + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SubroutineParameterInputOutputReadOnlyLabel); + } + } + + public static string SchemaHierarchy_SubroutineParameterDefaultLabel + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_SubroutineParameterDefaultLabel); + } + } + + public static string SchemaHierarchy_NullColumn_Label + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_NullColumn_Label); + } + } + + public static string SchemaHierarchy_NotNullColumn_Label + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_NotNullColumn_Label); + } + } + + public static string SchemaHierarchy_UDDTLabelWithType + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_UDDTLabelWithType); + } + } + + public static string SchemaHierarchy_UDDTLabelWithoutType + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_UDDTLabelWithoutType); + } + } + + public static string SchemaHierarchy_ComputedColumnLabelWithType + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ComputedColumnLabelWithType); + } + } + + public static string SchemaHierarchy_ComputedColumnLabelWithoutType + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ComputedColumnLabelWithoutType); + } + } + + public static string SchemaHierarchy_ColumnSetLabelWithoutType + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ColumnSetLabelWithoutType); + } + } + + public static string SchemaHierarchy_ColumnSetLabelWithType + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ColumnSetLabelWithType); + } + } + + public static string SchemaHierarchy_ColumnSetLabelWithTypeAndKeyString + { + get + { + return Keys.GetString(Keys.SchemaHierarchy_ColumnSetLabelWithTypeAndKeyString); + } + } + + public static string UniqueIndex_LabelPart + { + get + { + return Keys.GetString(Keys.UniqueIndex_LabelPart); + } + } + + public static string NonUniqueIndex_LabelPart + { + get + { + return Keys.GetString(Keys.NonUniqueIndex_LabelPart); + } + } + + public static string ClusteredIndex_LabelPart + { + get + { + return Keys.GetString(Keys.ClusteredIndex_LabelPart); + } + } + + public static string NonClusteredIndex_LabelPart + { + get + { + return Keys.GetString(Keys.NonClusteredIndex_LabelPart); + } + } + + public static string History_LabelPart + { + get + { + return Keys.GetString(Keys.History_LabelPart); + } + } + + public static string SystemVersioned_LabelPart + { + get + { + return Keys.GetString(Keys.SystemVersioned_LabelPart); + } + } + + public static string External_LabelPart + { + get + { + return Keys.GetString(Keys.External_LabelPart); + } + } + + public static string FileTable_LabelPart + { + get + { + return Keys.GetString(Keys.FileTable_LabelPart); + } + } + + public static string DatabaseNotAccessible + { + get + { + return Keys.GetString(Keys.DatabaseNotAccessible); + } + } + + public static string ScriptingParams_ConnectionString_Property_Invalid + { + get + { + return Keys.GetString(Keys.ScriptingParams_ConnectionString_Property_Invalid); + } + } + + public static string ScriptingParams_FilePath_Property_Invalid + { + get + { + return Keys.GetString(Keys.ScriptingParams_FilePath_Property_Invalid); + } + } + + public static string ScriptingListObjectsCompleteParams_ConnectionString_Property_Invalid + { + get + { + return Keys.GetString(Keys.ScriptingListObjectsCompleteParams_ConnectionString_Property_Invalid); + } + } + + public static string StoredProcedureScriptParameterComment + { + get + { + return Keys.GetString(Keys.StoredProcedureScriptParameterComment); + } + } + + public static string ScriptingGeneralError + { + get + { + return Keys.GetString(Keys.ScriptingGeneralError); + } + } + + public static string ScriptingExecuteNotSupportedError + { + get + { + return Keys.GetString(Keys.ScriptingExecuteNotSupportedError); + } + } + + public static string unavailable + { + get + { + return Keys.GetString(Keys.unavailable); + } + } + + public static string filegroup_dialog_defaultFilegroup + { + get + { + return Keys.GetString(Keys.filegroup_dialog_defaultFilegroup); + } + } + + public static string filegroup_dialog_title + { + get + { + return Keys.GetString(Keys.filegroup_dialog_title); + } + } + + public static string filegroups_default + { + get + { + return Keys.GetString(Keys.filegroups_default); + } + } + + public static string filegroups_files + { + get + { + return Keys.GetString(Keys.filegroups_files); + } + } + + public static string filegroups_name + { + get + { + return Keys.GetString(Keys.filegroups_name); + } + } + + public static string filegroups_readonly + { + get + { + return Keys.GetString(Keys.filegroups_readonly); + } + } + + public static string general_autogrowth + { + get + { + return Keys.GetString(Keys.general_autogrowth); + } + } + + public static string general_builderText + { + get + { + return Keys.GetString(Keys.general_builderText); + } + } + + public static string general_default + { + get + { + return Keys.GetString(Keys.general_default); + } + } + + public static string general_fileGroup + { + get + { + return Keys.GetString(Keys.general_fileGroup); + } + } + + public static string general_fileName + { + get + { + return Keys.GetString(Keys.general_fileName); + } + } + + public static string general_fileType + { + get + { + return Keys.GetString(Keys.general_fileType); + } + } + + public static string general_initialSize + { + get + { + return Keys.GetString(Keys.general_initialSize); + } + } + + public static string general_newFilegroup + { + get + { + return Keys.GetString(Keys.general_newFilegroup); + } + } + + public static string general_path + { + get + { + return Keys.GetString(Keys.general_path); + } + } + + public static string general_physicalFileName + { + get + { + return Keys.GetString(Keys.general_physicalFileName); + } + } + + public static string general_rawDevice + { + get + { + return Keys.GetString(Keys.general_rawDevice); + } + } + + public static string general_recoveryModel_bulkLogged + { + get + { + return Keys.GetString(Keys.general_recoveryModel_bulkLogged); + } + } + + public static string general_recoveryModel_full + { + get + { + return Keys.GetString(Keys.general_recoveryModel_full); + } + } + + public static string general_recoveryModel_simple + { + get + { + return Keys.GetString(Keys.general_recoveryModel_simple); + } + } + + public static string general_titleSearchOwner + { + get + { + return Keys.GetString(Keys.general_titleSearchOwner); + } + } + + public static string prototype_autogrowth_disabled + { + get + { + return Keys.GetString(Keys.prototype_autogrowth_disabled); + } + } + + public static string prototype_autogrowth_restrictedGrowthByMB + { + get + { + return Keys.GetString(Keys.prototype_autogrowth_restrictedGrowthByMB); + } + } + + public static string prototype_autogrowth_restrictedGrowthByPercent + { + get + { + return Keys.GetString(Keys.prototype_autogrowth_restrictedGrowthByPercent); + } + } + + public static string prototype_autogrowth_unrestrictedGrowthByMB + { + get + { + return Keys.GetString(Keys.prototype_autogrowth_unrestrictedGrowthByMB); + } + } + + public static string prototype_autogrowth_unrestrictedGrowthByPercent + { + get + { + return Keys.GetString(Keys.prototype_autogrowth_unrestrictedGrowthByPercent); + } + } + + public static string prototype_autogrowth_unlimitedfilestream + { + get + { + return Keys.GetString(Keys.prototype_autogrowth_unlimitedfilestream); + } + } + + public static string prototype_autogrowth_limitedfilestream + { + get + { + return Keys.GetString(Keys.prototype_autogrowth_limitedfilestream); + } + } + + public static string prototype_db_category_automatic + { + get + { + return Keys.GetString(Keys.prototype_db_category_automatic); + } + } + + public static string prototype_db_category_servicebroker + { + get + { + return Keys.GetString(Keys.prototype_db_category_servicebroker); + } + } + + public static string prototype_db_category_collation + { + get + { + return Keys.GetString(Keys.prototype_db_category_collation); + } + } + + public static string prototype_db_category_cursor + { + get + { + return Keys.GetString(Keys.prototype_db_category_cursor); + } + } + + public static string prototype_db_category_misc + { + get + { + return Keys.GetString(Keys.prototype_db_category_misc); + } + } + + public static string prototype_db_category_recovery + { + get + { + return Keys.GetString(Keys.prototype_db_category_recovery); + } + } + + public static string prototype_db_category_state + { + get + { + return Keys.GetString(Keys.prototype_db_category_state); + } + } + + public static string prototype_db_prop_ansiNullDefault + { + get + { + return Keys.GetString(Keys.prototype_db_prop_ansiNullDefault); + } + } + + public static string prototype_db_prop_ansiNulls + { + get + { + return Keys.GetString(Keys.prototype_db_prop_ansiNulls); + } + } + + public static string prototype_db_prop_ansiPadding + { + get + { + return Keys.GetString(Keys.prototype_db_prop_ansiPadding); + } + } + + public static string prototype_db_prop_ansiWarnings + { + get + { + return Keys.GetString(Keys.prototype_db_prop_ansiWarnings); + } + } + + public static string prototype_db_prop_arithabort + { + get + { + return Keys.GetString(Keys.prototype_db_prop_arithabort); + } + } + + public static string prototype_db_prop_autoClose + { + get + { + return Keys.GetString(Keys.prototype_db_prop_autoClose); + } + } + + public static string prototype_db_prop_autoCreateStatistics + { + get + { + return Keys.GetString(Keys.prototype_db_prop_autoCreateStatistics); + } + } + + public static string prototype_db_prop_autoShrink + { + get + { + return Keys.GetString(Keys.prototype_db_prop_autoShrink); + } + } + + public static string prototype_db_prop_autoUpdateStatistics + { + get + { + return Keys.GetString(Keys.prototype_db_prop_autoUpdateStatistics); + } + } + + public static string prototype_db_prop_autoUpdateStatisticsAsync + { + get + { + return Keys.GetString(Keys.prototype_db_prop_autoUpdateStatisticsAsync); + } + } + + public static string prototype_db_prop_caseSensitive + { + get + { + return Keys.GetString(Keys.prototype_db_prop_caseSensitive); + } + } + + public static string prototype_db_prop_closeCursorOnCommit + { + get + { + return Keys.GetString(Keys.prototype_db_prop_closeCursorOnCommit); + } + } + + public static string prototype_db_prop_collation + { + get + { + return Keys.GetString(Keys.prototype_db_prop_collation); + } + } + + public static string prototype_db_prop_concatNullYieldsNull + { + get + { + return Keys.GetString(Keys.prototype_db_prop_concatNullYieldsNull); + } + } + + public static string prototype_db_prop_databaseCompatibilityLevel + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databaseCompatibilityLevel); + } + } + + public static string prototype_db_prop_databaseState + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databaseState); + } + } + + public static string prototype_db_prop_defaultCursor + { + get + { + return Keys.GetString(Keys.prototype_db_prop_defaultCursor); + } + } + + public static string prototype_db_prop_fullTextIndexing + { + get + { + return Keys.GetString(Keys.prototype_db_prop_fullTextIndexing); + } + } + + public static string prototype_db_prop_numericRoundAbort + { + get + { + return Keys.GetString(Keys.prototype_db_prop_numericRoundAbort); + } + } + + public static string prototype_db_prop_pageVerify + { + get + { + return Keys.GetString(Keys.prototype_db_prop_pageVerify); + } + } + + public static string prototype_db_prop_quotedIdentifier + { + get + { + return Keys.GetString(Keys.prototype_db_prop_quotedIdentifier); + } + } + + public static string prototype_db_prop_readOnly + { + get + { + return Keys.GetString(Keys.prototype_db_prop_readOnly); + } + } + + public static string prototype_db_prop_recursiveTriggers + { + get + { + return Keys.GetString(Keys.prototype_db_prop_recursiveTriggers); + } + } + + public static string prototype_db_prop_restrictAccess + { + get + { + return Keys.GetString(Keys.prototype_db_prop_restrictAccess); + } + } + + public static string prototype_db_prop_selectIntoBulkCopy + { + get + { + return Keys.GetString(Keys.prototype_db_prop_selectIntoBulkCopy); + } + } + + public static string prototype_db_prop_honorBrokerPriority + { + get + { + return Keys.GetString(Keys.prototype_db_prop_honorBrokerPriority); + } + } + + public static string prototype_db_prop_serviceBrokerGuid + { + get + { + return Keys.GetString(Keys.prototype_db_prop_serviceBrokerGuid); + } + } + + public static string prototype_db_prop_brokerEnabled + { + get + { + return Keys.GetString(Keys.prototype_db_prop_brokerEnabled); + } + } + + public static string prototype_db_prop_truncateLogOnCheckpoint + { + get + { + return Keys.GetString(Keys.prototype_db_prop_truncateLogOnCheckpoint); + } + } + + public static string prototype_db_prop_dbChaining + { + get + { + return Keys.GetString(Keys.prototype_db_prop_dbChaining); + } + } + + public static string prototype_db_prop_trustworthy + { + get + { + return Keys.GetString(Keys.prototype_db_prop_trustworthy); + } + } + + public static string prototype_db_prop_dateCorrelationOptimization + { + get + { + return Keys.GetString(Keys.prototype_db_prop_dateCorrelationOptimization); + } + } + + public static string prototype_db_prop_parameterization + { + get + { + return Keys.GetString(Keys.prototype_db_prop_parameterization); + } + } + + public static string prototype_db_prop_parameterization_value_forced + { + get + { + return Keys.GetString(Keys.prototype_db_prop_parameterization_value_forced); + } + } + + public static string prototype_db_prop_parameterization_value_simple + { + get + { + return Keys.GetString(Keys.prototype_db_prop_parameterization_value_simple); + } + } + + public static string prototype_file_dataFile + { + get + { + return Keys.GetString(Keys.prototype_file_dataFile); + } + } + + public static string prototype_file_logFile + { + get + { + return Keys.GetString(Keys.prototype_file_logFile); + } + } + + public static string prototype_file_filestreamFile + { + get + { + return Keys.GetString(Keys.prototype_file_filestreamFile); + } + } + + public static string prototype_file_noFileGroup + { + get + { + return Keys.GetString(Keys.prototype_file_noFileGroup); + } + } + + public static string prototype_file_defaultpathstring + { + get + { + return Keys.GetString(Keys.prototype_file_defaultpathstring); + } + } + + public static string title_openConnectionsMustBeClosed + { + get + { + return Keys.GetString(Keys.title_openConnectionsMustBeClosed); + } + } + + public static string warning_openConnectionsMustBeClosed + { + get + { + return Keys.GetString(Keys.warning_openConnectionsMustBeClosed); + } + } + + public static string prototype_db_prop_databaseState_value_autoClosed + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databaseState_value_autoClosed); + } + } + + public static string prototype_db_prop_databaseState_value_emergency + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databaseState_value_emergency); + } + } + + public static string prototype_db_prop_databaseState_value_inaccessible + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databaseState_value_inaccessible); + } + } + + public static string prototype_db_prop_databaseState_value_normal + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databaseState_value_normal); + } + } + + public static string prototype_db_prop_databaseState_value_offline + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databaseState_value_offline); + } + } + + public static string prototype_db_prop_databaseState_value_recovering + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databaseState_value_recovering); + } + } + + public static string prototype_db_prop_databaseState_value_recoveryPending + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databaseState_value_recoveryPending); + } + } + + public static string prototype_db_prop_databaseState_value_restoring + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databaseState_value_restoring); + } + } + + public static string prototype_db_prop_databaseState_value_shutdown + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databaseState_value_shutdown); + } + } + + public static string prototype_db_prop_databaseState_value_standby + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databaseState_value_standby); + } + } + + public static string prototype_db_prop_databaseState_value_suspect + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databaseState_value_suspect); + } + } + + public static string prototype_db_prop_defaultCursor_value_global + { + get + { + return Keys.GetString(Keys.prototype_db_prop_defaultCursor_value_global); + } + } + + public static string prototype_db_prop_defaultCursor_value_local + { + get + { + return Keys.GetString(Keys.prototype_db_prop_defaultCursor_value_local); + } + } + + public static string prototype_db_prop_restrictAccess_value_multiple + { + get + { + return Keys.GetString(Keys.prototype_db_prop_restrictAccess_value_multiple); + } + } + + public static string prototype_db_prop_restrictAccess_value_restricted + { + get + { + return Keys.GetString(Keys.prototype_db_prop_restrictAccess_value_restricted); + } + } + + public static string prototype_db_prop_restrictAccess_value_single + { + get + { + return Keys.GetString(Keys.prototype_db_prop_restrictAccess_value_single); + } + } + + public static string prototype_db_prop_pageVerify_value_checksum + { + get + { + return Keys.GetString(Keys.prototype_db_prop_pageVerify_value_checksum); + } + } + + public static string prototype_db_prop_pageVerify_value_none + { + get + { + return Keys.GetString(Keys.prototype_db_prop_pageVerify_value_none); + } + } + + public static string prototype_db_prop_pageVerify_value_tornPageDetection + { + get + { + return Keys.GetString(Keys.prototype_db_prop_pageVerify_value_tornPageDetection); + } + } + + public static string prototype_db_prop_varDecimalEnabled + { + get + { + return Keys.GetString(Keys.prototype_db_prop_varDecimalEnabled); + } + } + + public static string compatibilityLevel_katmai + { + get + { + return Keys.GetString(Keys.compatibilityLevel_katmai); + } + } + + public static string prototype_db_prop_encryptionEnabled + { + get + { + return Keys.GetString(Keys.prototype_db_prop_encryptionEnabled); + } + } + + public static string prototype_db_prop_databasescopedconfig_value_off + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databasescopedconfig_value_off); + } + } + + public static string prototype_db_prop_databasescopedconfig_value_on + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databasescopedconfig_value_on); + } + } + + public static string prototype_db_prop_databasescopedconfig_value_primary + { + get + { + return Keys.GetString(Keys.prototype_db_prop_databasescopedconfig_value_primary); + } + } + + public static string error_db_prop_invalidleadingColumns + { + get + { + return Keys.GetString(Keys.error_db_prop_invalidleadingColumns); + } + } + + public static string compatibilityLevel_denali + { + get + { + return Keys.GetString(Keys.compatibilityLevel_denali); + } + } + + public static string compatibilityLevel_sql14 + { + get + { + return Keys.GetString(Keys.compatibilityLevel_sql14); + } + } + + public static string compatibilityLevel_sql15 + { + get + { + return Keys.GetString(Keys.compatibilityLevel_sql15); + } + } + + public static string compatibilityLevel_sqlvNext + { + get + { + return Keys.GetString(Keys.compatibilityLevel_sqlvNext); + } + } + + public static string general_containmentType_None + { + get + { + return Keys.GetString(Keys.general_containmentType_None); + } + } + + public static string general_containmentType_Partial + { + get + { + return Keys.GetString(Keys.general_containmentType_Partial); + } + } + + public static string filegroups_filestreamFiles + { + get + { + return Keys.GetString(Keys.filegroups_filestreamFiles); + } + } + + public static string prototype_file_noApplicableFileGroup + { + get + { + return Keys.GetString(Keys.prototype_file_noApplicableFileGroup); + } + } + + public static string NeverBackedUp + { + get + { + return Keys.GetString(Keys.NeverBackedUp); + } + } + + public static string Error_InvalidDirectoryName + { + get + { + return Keys.GetString(Keys.Error_InvalidDirectoryName); + } + } + + public static string Error_ExistingDirectoryName + { + get + { + return Keys.GetString(Keys.Error_ExistingDirectoryName); + } + } + + public static string BackupTaskName + { + get + { + return Keys.GetString(Keys.BackupTaskName); + } + } + + public static string BackupPathIsFolderError + { + get + { + return Keys.GetString(Keys.BackupPathIsFolderError); + } + } + + public static string InvalidBackupPathError + { + get + { + return Keys.GetString(Keys.InvalidBackupPathError); + } + } + + public static string TaskInProgress + { + get + { + return Keys.GetString(Keys.TaskInProgress); + } + } + + public static string TaskCompleted + { + get + { + return Keys.GetString(Keys.TaskCompleted); + } + } + + public static string ConflictWithNoRecovery + { + get + { + return Keys.GetString(Keys.ConflictWithNoRecovery); + } + } + + public static string InvalidPathForDatabaseFile + { + get + { + return Keys.GetString(Keys.InvalidPathForDatabaseFile); + } + } + + public static string Log + { + get + { + return Keys.GetString(Keys.Log); + } + } + + public static string RestorePlanFailed + { + get + { + return Keys.GetString(Keys.RestorePlanFailed); + } + } + + public static string RestoreNotSupported + { + get + { + return Keys.GetString(Keys.RestoreNotSupported); + } + } + + public static string RestoreTaskName + { + get + { + return Keys.GetString(Keys.RestoreTaskName); + } + } + + public static string RestoreCopyOnly + { + get + { + return Keys.GetString(Keys.RestoreCopyOnly); + } + } + + public static string RestoreBackupSetComponent + { + get + { + return Keys.GetString(Keys.RestoreBackupSetComponent); + } + } + + public static string RestoreBackupSetName + { + get + { + return Keys.GetString(Keys.RestoreBackupSetName); + } + } + + public static string RestoreBackupSetType + { + get + { + return Keys.GetString(Keys.RestoreBackupSetType); + } + } + + public static string RestoreBackupSetServer + { + get + { + return Keys.GetString(Keys.RestoreBackupSetServer); + } + } + + public static string RestoreBackupSetDatabase + { + get + { + return Keys.GetString(Keys.RestoreBackupSetDatabase); + } + } + + public static string RestoreBackupSetPosition + { + get + { + return Keys.GetString(Keys.RestoreBackupSetPosition); + } + } + + public static string RestoreBackupSetFirstLsn + { + get + { + return Keys.GetString(Keys.RestoreBackupSetFirstLsn); + } + } + + public static string RestoreBackupSetLastLsn + { + get + { + return Keys.GetString(Keys.RestoreBackupSetLastLsn); + } + } + + public static string RestoreBackupSetCheckpointLsn + { + get + { + return Keys.GetString(Keys.RestoreBackupSetCheckpointLsn); + } + } + + public static string RestoreBackupSetFullLsn + { + get + { + return Keys.GetString(Keys.RestoreBackupSetFullLsn); + } + } + + public static string RestoreBackupSetStartDate + { + get + { + return Keys.GetString(Keys.RestoreBackupSetStartDate); + } + } + + public static string RestoreBackupSetFinishDate + { + get + { + return Keys.GetString(Keys.RestoreBackupSetFinishDate); + } + } + + public static string RestoreBackupSetSize + { + get + { + return Keys.GetString(Keys.RestoreBackupSetSize); + } + } + + public static string RestoreBackupSetUserName + { + get + { + return Keys.GetString(Keys.RestoreBackupSetUserName); + } + } + + public static string RestoreBackupSetExpiration + { + get + { + return Keys.GetString(Keys.RestoreBackupSetExpiration); + } + } + + public static string TheLastBackupTaken + { + get + { + return Keys.GetString(Keys.TheLastBackupTaken); + } + } + + public static string NoBackupsetsToRestore + { + get + { + return Keys.GetString(Keys.NoBackupsetsToRestore); + } + } + + public static string ScriptTaskName + { + get + { + return Keys.GetString(Keys.ScriptTaskName); + } + } + + public static string InvalidPathError + { + get + { + return Keys.GetString(Keys.InvalidPathError); + } + } + + public static string ProfilerConnectionNotFound + { + get + { + return Keys.GetString(Keys.ProfilerConnectionNotFound); + } + } + + public static string ConnectionServiceListDbErrorNotConnected(string uri) + { + return Keys.GetString(Keys.ConnectionServiceListDbErrorNotConnected, uri); + } + + public static string ConnectionServiceDbErrorDefaultNotConnected(string uri) + { + return Keys.GetString(Keys.ConnectionServiceDbErrorDefaultNotConnected, uri); + } + + public static string ConnectionServiceConnStringInvalidAuthType(string authType) + { + return Keys.GetString(Keys.ConnectionServiceConnStringInvalidAuthType, authType); + } + + public static string ConnectionServiceConnStringInvalidIntent(string intent) + { + return Keys.GetString(Keys.ConnectionServiceConnStringInvalidIntent, intent); + } + + public static string ConnectionParamsValidateNullSqlAuth(string component) + { + return Keys.GetString(Keys.ConnectionParamsValidateNullSqlAuth, component); + } + + public static string QueryServiceAffectedRows(long rows) + { + return Keys.GetString(Keys.QueryServiceAffectedRows, rows); + } + + public static string QueryServiceErrorFormat(int msg, int lvl, int state, int line, string newLine, string message) + { + return Keys.GetString(Keys.QueryServiceErrorFormat, msg, lvl, state, line, newLine, message); + } + + public static string QueryServiceQueryFailed(string message) + { + return Keys.GetString(Keys.QueryServiceQueryFailed, message); + } + + public static string QueryServiceSaveAsFail(string fileName, string message) + { + return Keys.GetString(Keys.QueryServiceSaveAsFail, fileName, message); + } + + public static string PeekDefinitionAzureError(string errorMessage) + { + return Keys.GetString(Keys.PeekDefinitionAzureError, errorMessage); + } + + public static string PeekDefinitionError(string errorMessage) + { + return Keys.GetString(Keys.PeekDefinitionError, errorMessage); + } + + public static string WorkspaceServicePositionColumnOutOfRange(int line) + { + return Keys.GetString(Keys.WorkspaceServicePositionColumnOutOfRange, line); + } + + public static string WorkspaceServiceBufferPositionOutOfOrder(int sLine, int sCol, int eLine, int eCol) + { + return Keys.GetString(Keys.WorkspaceServiceBufferPositionOutOfOrder, sLine, sCol, eLine, eCol); + } + + public static string EditDataUnsupportedObjectType(string typeName) + { + return Keys.GetString(Keys.EditDataUnsupportedObjectType, typeName); + } + + public static string EditDataInvalidFormat(string colName, string colType) + { + return Keys.GetString(Keys.EditDataInvalidFormat, colName, colType); + } + + public static string EditDataCreateScriptMissingValue(string colName) + { + return Keys.GetString(Keys.EditDataCreateScriptMissingValue, colName); + } + + public static string EditDataValueTooLarge(string value, string columnType) + { + return Keys.GetString(Keys.EditDataValueTooLarge, value, columnType); + } + + [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Keys + { + static ResourceManager resourceManager = new ResourceManager("Microsoft.SqlTools.CoreServices.Localization.SR", typeof(SR).GetTypeInfo().Assembly); + + static CultureInfo _culture = null; + + + public const string ConnectionServiceConnectErrorNullParams = "ConnectionServiceConnectErrorNullParams"; + + + public const string ConnectionServiceListDbErrorNullOwnerUri = "ConnectionServiceListDbErrorNullOwnerUri"; + + + public const string ConnectionServiceListDbErrorNotConnected = "ConnectionServiceListDbErrorNotConnected"; + + + public const string ConnectionServiceDbErrorDefaultNotConnected = "ConnectionServiceDbErrorDefaultNotConnected"; + + + public const string ConnectionServiceConnStringInvalidAuthType = "ConnectionServiceConnStringInvalidAuthType"; + + + public const string ConnectionServiceConnStringInvalidIntent = "ConnectionServiceConnStringInvalidIntent"; + + + public const string ConnectionServiceConnectionCanceled = "ConnectionServiceConnectionCanceled"; + + + public const string ConnectionParamsValidateNullOwnerUri = "ConnectionParamsValidateNullOwnerUri"; + + + public const string ConnectionParamsValidateNullConnection = "ConnectionParamsValidateNullConnection"; + + + public const string ConnectionParamsValidateNullServerName = "ConnectionParamsValidateNullServerName"; + + + public const string ConnectionParamsValidateNullSqlAuth = "ConnectionParamsValidateNullSqlAuth"; + + + public const string AzureSqlDbEdition = "AzureSqlDbEdition"; + + + public const string AzureSqlDwEdition = "AzureSqlDwEdition"; + + + public const string AzureSqlStretchEdition = "AzureSqlStretchEdition"; + + + public const string AzureSqlAnalyticsOnDemandEdition = "AzureSqlAnalyticsOnDemandEdition"; + + + public const string QueryServiceCancelAlreadyCompleted = "QueryServiceCancelAlreadyCompleted"; + + + public const string QueryServiceCancelDisposeFailed = "QueryServiceCancelDisposeFailed"; + + + public const string QueryServiceQueryCancelled = "QueryServiceQueryCancelled"; + + + public const string QueryServiceSubsetBatchNotCompleted = "QueryServiceSubsetBatchNotCompleted"; + + + public const string QueryServiceSubsetBatchOutOfRange = "QueryServiceSubsetBatchOutOfRange"; + + + public const string QueryServiceSubsetResultSetOutOfRange = "QueryServiceSubsetResultSetOutOfRange"; + + + public const string QueryServiceDataReaderByteCountInvalid = "QueryServiceDataReaderByteCountInvalid"; + + + public const string QueryServiceDataReaderCharCountInvalid = "QueryServiceDataReaderCharCountInvalid"; + + + public const string QueryServiceDataReaderXmlCountInvalid = "QueryServiceDataReaderXmlCountInvalid"; + + + public const string QueryServiceFileWrapperWriteOnly = "QueryServiceFileWrapperWriteOnly"; + + + public const string QueryServiceFileWrapperNotInitialized = "QueryServiceFileWrapperNotInitialized"; + + + public const string QueryServiceFileWrapperReadOnly = "QueryServiceFileWrapperReadOnly"; + + + public const string QueryServiceAffectedOneRow = "QueryServiceAffectedOneRow"; + + + public const string QueryServiceAffectedRows = "QueryServiceAffectedRows"; + + + public const string QueryServiceCompletedSuccessfully = "QueryServiceCompletedSuccessfully"; + + + public const string QueryServiceErrorFormat = "QueryServiceErrorFormat"; + + + public const string QueryServiceQueryFailed = "QueryServiceQueryFailed"; + + + public const string QueryServiceColumnNull = "QueryServiceColumnNull"; + + + public const string QueryServiceCellNull = "QueryServiceCellNull"; + + + public const string QueryServiceRequestsNoQuery = "QueryServiceRequestsNoQuery"; + + + public const string QueryServiceQueryInvalidOwnerUri = "QueryServiceQueryInvalidOwnerUri"; + + + public const string QueryServiceQueryInProgress = "QueryServiceQueryInProgress"; + + + public const string QueryServiceMessageSenderNotSql = "QueryServiceMessageSenderNotSql"; + + + public const string QueryServiceResultSetAddNoRows = "QueryServiceResultSetAddNoRows"; + + + public const string QueryServiceResultSetHasNoResults = "QueryServiceResultSetHasNoResults"; + + + public const string QueryServiceResultSetTooLarge = "QueryServiceResultSetTooLarge"; + + + public const string QueryServiceSaveAsResultSetNotComplete = "QueryServiceSaveAsResultSetNotComplete"; + + + public const string QueryServiceSaveAsMiscStartingError = "QueryServiceSaveAsMiscStartingError"; + + + public const string QueryServiceSaveAsInProgress = "QueryServiceSaveAsInProgress"; + + + public const string QueryServiceSaveAsFail = "QueryServiceSaveAsFail"; + + + public const string QueryServiceResultSetNotRead = "QueryServiceResultSetNotRead"; + + + public const string QueryServiceResultSetStartRowOutOfRange = "QueryServiceResultSetStartRowOutOfRange"; + + + public const string QueryServiceResultSetRowCountOutOfRange = "QueryServiceResultSetRowCountOutOfRange"; + + + public const string QueryServiceResultSetNoColumnSchema = "QueryServiceResultSetNoColumnSchema"; + + + public const string QueryServiceExecutionPlanNotFound = "QueryServiceExecutionPlanNotFound"; + + + public const string PeekDefinitionAzureError = "PeekDefinitionAzureError"; + + + public const string PeekDefinitionError = "PeekDefinitionError"; + + + public const string PeekDefinitionNoResultsError = "PeekDefinitionNoResultsError"; + + + public const string PeekDefinitionDatabaseError = "PeekDefinitionDatabaseError"; + + + public const string PeekDefinitionNotConnectedError = "PeekDefinitionNotConnectedError"; + + + public const string PeekDefinitionTimedoutError = "PeekDefinitionTimedoutError"; + + + public const string PeekDefinitionTypeNotSupportedError = "PeekDefinitionTypeNotSupportedError"; + + + public const string ErrorEmptyStringReplacement = "ErrorEmptyStringReplacement"; + + + public const string WorkspaceServicePositionLineOutOfRange = "WorkspaceServicePositionLineOutOfRange"; + + + public const string WorkspaceServicePositionColumnOutOfRange = "WorkspaceServicePositionColumnOutOfRange"; + + + public const string WorkspaceServiceBufferPositionOutOfOrder = "WorkspaceServiceBufferPositionOutOfOrder"; + + + public const string EditDataObjectNotFound = "EditDataObjectNotFound"; + + + public const string EditDataSessionNotFound = "EditDataSessionNotFound"; + + + public const string EditDataSessionAlreadyExists = "EditDataSessionAlreadyExists"; + + + public const string EditDataSessionNotInitialized = "EditDataSessionNotInitialized"; + + + public const string EditDataSessionAlreadyInitialized = "EditDataSessionAlreadyInitialized"; + + + public const string EditDataSessionAlreadyInitializing = "EditDataSessionAlreadyInitializing"; + + + public const string EditDataMetadataNotExtended = "EditDataMetadataNotExtended"; + + + public const string EditDataMetadataObjectNameRequired = "EditDataMetadataObjectNameRequired"; + + + public const string EditDataMetadataTooManyIdentifiers = "EditDataMetadataTooManyIdentifiers"; + + + public const string EditDataFilteringNegativeLimit = "EditDataFilteringNegativeLimit"; + + + public const string EditDataUnsupportedObjectType = "EditDataUnsupportedObjectType"; + + + public const string EditDataQueryFailed = "EditDataQueryFailed"; + + + public const string EditDataQueryNotCompleted = "EditDataQueryNotCompleted"; + + + public const string EditDataQueryImproperResultSets = "EditDataQueryImproperResultSets"; + + + public const string EditDataFailedAddRow = "EditDataFailedAddRow"; + + + public const string EditDataRowOutOfRange = "EditDataRowOutOfRange"; + + + public const string EditDataUpdatePending = "EditDataUpdatePending"; + + + public const string EditDataUpdateNotPending = "EditDataUpdateNotPending"; + + + public const string EditDataObjectMetadataNotFound = "EditDataObjectMetadataNotFound"; + + + public const string EditDataInvalidFormat = "EditDataInvalidFormat"; + + + public const string EditDataInvalidFormatBinary = "EditDataInvalidFormatBinary"; + + + public const string EditDataInvalidFormatBoolean = "EditDataInvalidFormatBoolean"; + + + public const string EditDataCreateScriptMissingValue = "EditDataCreateScriptMissingValue"; + + + public const string EditDataDeleteSetCell = "EditDataDeleteSetCell"; + + + public const string EditDataColumnIdOutOfRange = "EditDataColumnIdOutOfRange"; + + + public const string EditDataColumnCannotBeEdited = "EditDataColumnCannotBeEdited"; + + + public const string EditDataColumnNoKeyColumns = "EditDataColumnNoKeyColumns"; + + + public const string EditDataScriptFilePathNull = "EditDataScriptFilePathNull"; + + + public const string EditDataCommitInProgress = "EditDataCommitInProgress"; + + + public const string EditDataComputedColumnPlaceholder = "EditDataComputedColumnPlaceholder"; + + + public const string EditDataTimeOver24Hrs = "EditDataTimeOver24Hrs"; + + + public const string EditDataNullNotAllowed = "EditDataNullNotAllowed"; + + + public const string EditDataValueTooLarge = "EditDataValueTooLarge"; + + + public const string EE_BatchSqlMessageNoProcedureInfo = "EE_BatchSqlMessageNoProcedureInfo"; + + + public const string EE_BatchSqlMessageWithProcedureInfo = "EE_BatchSqlMessageWithProcedureInfo"; + + + public const string EE_BatchSqlMessageNoLineInfo = "EE_BatchSqlMessageNoLineInfo"; + + + public const string EE_BatchError_Exception = "EE_BatchError_Exception"; + + + public const string EE_BatchExecutionInfo_RowsAffected = "EE_BatchExecutionInfo_RowsAffected"; + + + public const string EE_ExecutionNotYetCompleteError = "EE_ExecutionNotYetCompleteError"; + + + public const string EE_ScriptError_Error = "EE_ScriptError_Error"; + + + public const string EE_ScriptError_ParsingSyntax = "EE_ScriptError_ParsingSyntax"; + + + public const string EE_ScriptError_FatalError = "EE_ScriptError_FatalError"; + + + public const string EE_ExecutionInfo_FinalizingLoop = "EE_ExecutionInfo_FinalizingLoop"; + + + public const string EE_ExecutionInfo_QueryCancelledbyUser = "EE_ExecutionInfo_QueryCancelledbyUser"; + + + public const string EE_BatchExecutionError_Halting = "EE_BatchExecutionError_Halting"; + + + public const string EE_BatchExecutionError_Ignoring = "EE_BatchExecutionError_Ignoring"; + + + public const string EE_ExecutionInfo_InitializingLoop = "EE_ExecutionInfo_InitializingLoop"; + + + public const string EE_ExecutionError_CommandNotSupported = "EE_ExecutionError_CommandNotSupported"; + + + public const string EE_ExecutionError_VariableNotFound = "EE_ExecutionError_VariableNotFound"; + + + public const string BatchParserWrapperExecutionEngineError = "BatchParserWrapperExecutionEngineError"; + + + public const string BatchParserWrapperExecutionError = "BatchParserWrapperExecutionError"; + + + public const string BatchParserWrapperExecutionEngineBatchMessage = "BatchParserWrapperExecutionEngineBatchMessage"; + + + public const string BatchParserWrapperExecutionEngineBatchResultSetProcessing = "BatchParserWrapperExecutionEngineBatchResultSetProcessing"; + + + public const string BatchParserWrapperExecutionEngineBatchResultSetFinished = "BatchParserWrapperExecutionEngineBatchResultSetFinished"; + + + public const string BatchParserWrapperExecutionEngineBatchCancelling = "BatchParserWrapperExecutionEngineBatchCancelling"; + + + public const string EE_ScriptError_Warning = "EE_ScriptError_Warning"; + + + public const string TroubleshootingAssistanceMessage = "TroubleshootingAssistanceMessage"; + + + public const string BatchParser_CircularReference = "BatchParser_CircularReference"; + + + public const string BatchParser_CommentNotTerminated = "BatchParser_CommentNotTerminated"; + + + public const string BatchParser_StringNotTerminated = "BatchParser_StringNotTerminated"; + + + public const string BatchParser_IncorrectSyntax = "BatchParser_IncorrectSyntax"; + + + public const string BatchParser_VariableNotDefined = "BatchParser_VariableNotDefined"; + + + public const string TestLocalizationConstant = "TestLocalizationConstant"; + + + public const string SqlScriptFormatterDecimalMissingPrecision = "SqlScriptFormatterDecimalMissingPrecision"; + + + public const string SqlScriptFormatterLengthTypeMissingSize = "SqlScriptFormatterLengthTypeMissingSize"; + + + public const string SqlScriptFormatterScalarTypeMissingScale = "SqlScriptFormatterScalarTypeMissingScale"; + + + public const string TreeNodeError = "TreeNodeError"; + + + public const string ServerNodeConnectionError = "ServerNodeConnectionError"; + + + public const string SchemaHierarchy_Aggregates = "SchemaHierarchy_Aggregates"; + + + public const string SchemaHierarchy_ServerRoles = "SchemaHierarchy_ServerRoles"; + + + public const string SchemaHierarchy_ApplicationRoles = "SchemaHierarchy_ApplicationRoles"; + + + public const string SchemaHierarchy_Assemblies = "SchemaHierarchy_Assemblies"; + + + public const string SchemaHierarchy_AssemblyFiles = "SchemaHierarchy_AssemblyFiles"; + + + public const string SchemaHierarchy_AsymmetricKeys = "SchemaHierarchy_AsymmetricKeys"; + + + public const string SchemaHierarchy_DatabaseAsymmetricKeys = "SchemaHierarchy_DatabaseAsymmetricKeys"; + + + public const string SchemaHierarchy_DataCompressionOptions = "SchemaHierarchy_DataCompressionOptions"; + + + public const string SchemaHierarchy_Certificates = "SchemaHierarchy_Certificates"; + + + public const string SchemaHierarchy_FileTables = "SchemaHierarchy_FileTables"; + + + public const string SchemaHierarchy_DatabaseCertificates = "SchemaHierarchy_DatabaseCertificates"; + + + public const string SchemaHierarchy_CheckConstraints = "SchemaHierarchy_CheckConstraints"; + + + public const string SchemaHierarchy_Columns = "SchemaHierarchy_Columns"; + + + public const string SchemaHierarchy_Constraints = "SchemaHierarchy_Constraints"; + + + public const string SchemaHierarchy_Contracts = "SchemaHierarchy_Contracts"; + + + public const string SchemaHierarchy_Credentials = "SchemaHierarchy_Credentials"; + + + public const string SchemaHierarchy_ErrorMessages = "SchemaHierarchy_ErrorMessages"; + + + public const string SchemaHierarchy_ServerRoleMembership = "SchemaHierarchy_ServerRoleMembership"; + + + public const string SchemaHierarchy_DatabaseOptions = "SchemaHierarchy_DatabaseOptions"; + + + public const string SchemaHierarchy_DatabaseRoles = "SchemaHierarchy_DatabaseRoles"; + + + public const string SchemaHierarchy_RoleMemberships = "SchemaHierarchy_RoleMemberships"; + + + public const string SchemaHierarchy_DatabaseTriggers = "SchemaHierarchy_DatabaseTriggers"; + + + public const string SchemaHierarchy_DefaultConstraints = "SchemaHierarchy_DefaultConstraints"; + + + public const string SchemaHierarchy_Defaults = "SchemaHierarchy_Defaults"; + + + public const string SchemaHierarchy_Sequences = "SchemaHierarchy_Sequences"; + + + public const string SchemaHierarchy_Endpoints = "SchemaHierarchy_Endpoints"; + + + public const string SchemaHierarchy_EventNotifications = "SchemaHierarchy_EventNotifications"; + + + public const string SchemaHierarchy_ServerEventNotifications = "SchemaHierarchy_ServerEventNotifications"; + + + public const string SchemaHierarchy_ExtendedProperties = "SchemaHierarchy_ExtendedProperties"; + + + public const string SchemaHierarchy_FileGroups = "SchemaHierarchy_FileGroups"; + + + public const string SchemaHierarchy_ForeignKeys = "SchemaHierarchy_ForeignKeys"; + + + public const string SchemaHierarchy_FullTextCatalogs = "SchemaHierarchy_FullTextCatalogs"; + + + public const string SchemaHierarchy_FullTextIndexes = "SchemaHierarchy_FullTextIndexes"; + + + public const string SchemaHierarchy_Functions = "SchemaHierarchy_Functions"; + + + public const string SchemaHierarchy_Indexes = "SchemaHierarchy_Indexes"; + + + public const string SchemaHierarchy_InlineFunctions = "SchemaHierarchy_InlineFunctions"; + + + public const string SchemaHierarchy_Keys = "SchemaHierarchy_Keys"; + + + public const string SchemaHierarchy_LinkedServers = "SchemaHierarchy_LinkedServers"; + + + public const string SchemaHierarchy_LinkedServerLogins = "SchemaHierarchy_LinkedServerLogins"; + + + public const string SchemaHierarchy_Logins = "SchemaHierarchy_Logins"; + + + public const string SchemaHierarchy_MasterKey = "SchemaHierarchy_MasterKey"; + + + public const string SchemaHierarchy_MasterKeys = "SchemaHierarchy_MasterKeys"; + + + public const string SchemaHierarchy_MessageTypes = "SchemaHierarchy_MessageTypes"; + + + public const string SchemaHierarchy_MultiSelectFunctions = "SchemaHierarchy_MultiSelectFunctions"; + + + public const string SchemaHierarchy_Parameters = "SchemaHierarchy_Parameters"; + + + public const string SchemaHierarchy_PartitionFunctions = "SchemaHierarchy_PartitionFunctions"; + + + public const string SchemaHierarchy_PartitionSchemes = "SchemaHierarchy_PartitionSchemes"; + + + public const string SchemaHierarchy_Permissions = "SchemaHierarchy_Permissions"; + + + public const string SchemaHierarchy_PrimaryKeys = "SchemaHierarchy_PrimaryKeys"; + + + public const string SchemaHierarchy_Programmability = "SchemaHierarchy_Programmability"; + + + public const string SchemaHierarchy_Queues = "SchemaHierarchy_Queues"; + + + public const string SchemaHierarchy_RemoteServiceBindings = "SchemaHierarchy_RemoteServiceBindings"; + + + public const string SchemaHierarchy_ReturnedColumns = "SchemaHierarchy_ReturnedColumns"; + + + public const string SchemaHierarchy_Roles = "SchemaHierarchy_Roles"; + + + public const string SchemaHierarchy_Routes = "SchemaHierarchy_Routes"; + + + public const string SchemaHierarchy_Rules = "SchemaHierarchy_Rules"; + + + public const string SchemaHierarchy_Schemas = "SchemaHierarchy_Schemas"; + + + public const string SchemaHierarchy_Security = "SchemaHierarchy_Security"; + + + public const string SchemaHierarchy_ServerObjects = "SchemaHierarchy_ServerObjects"; + + + public const string SchemaHierarchy_Management = "SchemaHierarchy_Management"; + + + public const string SchemaHierarchy_ServerTriggers = "SchemaHierarchy_ServerTriggers"; + + + public const string SchemaHierarchy_ServiceBroker = "SchemaHierarchy_ServiceBroker"; + + + public const string SchemaHierarchy_Services = "SchemaHierarchy_Services"; + + + public const string SchemaHierarchy_Signatures = "SchemaHierarchy_Signatures"; + + + public const string SchemaHierarchy_LogFiles = "SchemaHierarchy_LogFiles"; + + + public const string SchemaHierarchy_Statistics = "SchemaHierarchy_Statistics"; + + + public const string SchemaHierarchy_Storage = "SchemaHierarchy_Storage"; + + + public const string SchemaHierarchy_StoredProcedures = "SchemaHierarchy_StoredProcedures"; + + + public const string SchemaHierarchy_SymmetricKeys = "SchemaHierarchy_SymmetricKeys"; + + + public const string SchemaHierarchy_Synonyms = "SchemaHierarchy_Synonyms"; + + + public const string SchemaHierarchy_Tables = "SchemaHierarchy_Tables"; + + + public const string SchemaHierarchy_Triggers = "SchemaHierarchy_Triggers"; + + + public const string SchemaHierarchy_Types = "SchemaHierarchy_Types"; + + + public const string SchemaHierarchy_UniqueKeys = "SchemaHierarchy_UniqueKeys"; + + + public const string SchemaHierarchy_UserDefinedDataTypes = "SchemaHierarchy_UserDefinedDataTypes"; + + + public const string SchemaHierarchy_UserDefinedTypes = "SchemaHierarchy_UserDefinedTypes"; + + + public const string SchemaHierarchy_Users = "SchemaHierarchy_Users"; + + + public const string SchemaHierarchy_Views = "SchemaHierarchy_Views"; + + + public const string SchemaHierarchy_XmlIndexes = "SchemaHierarchy_XmlIndexes"; + + + public const string SchemaHierarchy_XMLSchemaCollections = "SchemaHierarchy_XMLSchemaCollections"; + + + public const string SchemaHierarchy_UserDefinedTableTypes = "SchemaHierarchy_UserDefinedTableTypes"; + + + public const string SchemaHierarchy_FilegroupFiles = "SchemaHierarchy_FilegroupFiles"; + + + public const string MissingCaption = "MissingCaption"; + + + public const string SchemaHierarchy_BrokerPriorities = "SchemaHierarchy_BrokerPriorities"; + + + public const string SchemaHierarchy_CryptographicProviders = "SchemaHierarchy_CryptographicProviders"; + + + public const string SchemaHierarchy_DatabaseAuditSpecifications = "SchemaHierarchy_DatabaseAuditSpecifications"; + + + public const string SchemaHierarchy_DatabaseEncryptionKeys = "SchemaHierarchy_DatabaseEncryptionKeys"; + + + public const string SchemaHierarchy_EventSessions = "SchemaHierarchy_EventSessions"; + + + public const string SchemaHierarchy_FullTextStopLists = "SchemaHierarchy_FullTextStopLists"; + + + public const string SchemaHierarchy_ResourcePools = "SchemaHierarchy_ResourcePools"; + + + public const string SchemaHierarchy_ServerAudits = "SchemaHierarchy_ServerAudits"; + + + public const string SchemaHierarchy_ServerAuditSpecifications = "SchemaHierarchy_ServerAuditSpecifications"; + + + public const string SchemaHierarchy_SpatialIndexes = "SchemaHierarchy_SpatialIndexes"; + + + public const string SchemaHierarchy_WorkloadGroups = "SchemaHierarchy_WorkloadGroups"; + + + public const string SchemaHierarchy_SqlFiles = "SchemaHierarchy_SqlFiles"; + + + public const string SchemaHierarchy_ServerFunctions = "SchemaHierarchy_ServerFunctions"; + + + public const string SchemaHierarchy_SqlType = "SchemaHierarchy_SqlType"; + + + public const string SchemaHierarchy_ServerOptions = "SchemaHierarchy_ServerOptions"; + + + public const string SchemaHierarchy_DatabaseDiagrams = "SchemaHierarchy_DatabaseDiagrams"; + + + public const string SchemaHierarchy_SystemTables = "SchemaHierarchy_SystemTables"; + + + public const string SchemaHierarchy_Databases = "SchemaHierarchy_Databases"; + + + public const string SchemaHierarchy_SystemContracts = "SchemaHierarchy_SystemContracts"; + + + public const string SchemaHierarchy_SystemDatabases = "SchemaHierarchy_SystemDatabases"; + + + public const string SchemaHierarchy_SystemMessageTypes = "SchemaHierarchy_SystemMessageTypes"; + + + public const string SchemaHierarchy_SystemQueues = "SchemaHierarchy_SystemQueues"; + + + public const string SchemaHierarchy_SystemServices = "SchemaHierarchy_SystemServices"; + + + public const string SchemaHierarchy_SystemStoredProcedures = "SchemaHierarchy_SystemStoredProcedures"; + + + public const string SchemaHierarchy_SystemViews = "SchemaHierarchy_SystemViews"; + + + public const string SchemaHierarchy_DataTierApplications = "SchemaHierarchy_DataTierApplications"; + + + public const string SchemaHierarchy_ExtendedStoredProcedures = "SchemaHierarchy_ExtendedStoredProcedures"; + + + public const string SchemaHierarchy_SystemAggregateFunctions = "SchemaHierarchy_SystemAggregateFunctions"; + + + public const string SchemaHierarchy_SystemApproximateNumerics = "SchemaHierarchy_SystemApproximateNumerics"; + + + public const string SchemaHierarchy_SystemBinaryStrings = "SchemaHierarchy_SystemBinaryStrings"; + + + public const string SchemaHierarchy_SystemCharacterStrings = "SchemaHierarchy_SystemCharacterStrings"; + + + public const string SchemaHierarchy_SystemCLRDataTypes = "SchemaHierarchy_SystemCLRDataTypes"; + + + public const string SchemaHierarchy_SystemConfigurationFunctions = "SchemaHierarchy_SystemConfigurationFunctions"; + + + public const string SchemaHierarchy_SystemCursorFunctions = "SchemaHierarchy_SystemCursorFunctions"; + + + public const string SchemaHierarchy_SystemDataTypes = "SchemaHierarchy_SystemDataTypes"; + + + public const string SchemaHierarchy_SystemDateAndTime = "SchemaHierarchy_SystemDateAndTime"; + + + public const string SchemaHierarchy_SystemDateAndTimeFunctions = "SchemaHierarchy_SystemDateAndTimeFunctions"; + + + public const string SchemaHierarchy_SystemExactNumerics = "SchemaHierarchy_SystemExactNumerics"; + + + public const string SchemaHierarchy_SystemFunctions = "SchemaHierarchy_SystemFunctions"; + + + public const string SchemaHierarchy_SystemHierarchyIdFunctions = "SchemaHierarchy_SystemHierarchyIdFunctions"; + + + public const string SchemaHierarchy_SystemMathematicalFunctions = "SchemaHierarchy_SystemMathematicalFunctions"; + + + public const string SchemaHierarchy_SystemMetadataFunctions = "SchemaHierarchy_SystemMetadataFunctions"; + + + public const string SchemaHierarchy_SystemOtherDataTypes = "SchemaHierarchy_SystemOtherDataTypes"; + + + public const string SchemaHierarchy_SystemOtherFunctions = "SchemaHierarchy_SystemOtherFunctions"; + + + public const string SchemaHierarchy_SystemRowsetFunctions = "SchemaHierarchy_SystemRowsetFunctions"; + + + public const string SchemaHierarchy_SystemSecurityFunctions = "SchemaHierarchy_SystemSecurityFunctions"; + + + public const string SchemaHierarchy_SystemSpatialDataTypes = "SchemaHierarchy_SystemSpatialDataTypes"; + + + public const string SchemaHierarchy_SystemStringFunctions = "SchemaHierarchy_SystemStringFunctions"; + + + public const string SchemaHierarchy_SystemSystemStatisticalFunctions = "SchemaHierarchy_SystemSystemStatisticalFunctions"; + + + public const string SchemaHierarchy_SystemTextAndImageFunctions = "SchemaHierarchy_SystemTextAndImageFunctions"; + + + public const string SchemaHierarchy_SystemUnicodeCharacterStrings = "SchemaHierarchy_SystemUnicodeCharacterStrings"; + + + public const string SchemaHierarchy_AggregateFunctions = "SchemaHierarchy_AggregateFunctions"; + + + public const string SchemaHierarchy_ScalarValuedFunctions = "SchemaHierarchy_ScalarValuedFunctions"; + + + public const string SchemaHierarchy_TableValuedFunctions = "SchemaHierarchy_TableValuedFunctions"; + + + public const string SchemaHierarchy_SystemExtendedStoredProcedures = "SchemaHierarchy_SystemExtendedStoredProcedures"; + + + public const string SchemaHierarchy_BuiltInType = "SchemaHierarchy_BuiltInType"; + + + public const string SchemaHierarchy_BuiltInServerRole = "SchemaHierarchy_BuiltInServerRole"; + + + public const string SchemaHierarchy_UserWithPassword = "SchemaHierarchy_UserWithPassword"; + + + public const string SchemaHierarchy_SearchPropertyList = "SchemaHierarchy_SearchPropertyList"; + + + public const string SchemaHierarchy_SecurityPolicies = "SchemaHierarchy_SecurityPolicies"; + + + public const string SchemaHierarchy_SecurityPredicates = "SchemaHierarchy_SecurityPredicates"; + + + public const string SchemaHierarchy_ServerRole = "SchemaHierarchy_ServerRole"; + + + public const string SchemaHierarchy_SearchPropertyLists = "SchemaHierarchy_SearchPropertyLists"; + + + public const string SchemaHierarchy_ColumnStoreIndexes = "SchemaHierarchy_ColumnStoreIndexes"; + + + public const string SchemaHierarchy_TableTypeIndexes = "SchemaHierarchy_TableTypeIndexes"; + + + public const string SchemaHierarchy_Server = "SchemaHierarchy_Server"; + + + public const string SchemaHierarchy_SelectiveXmlIndexes = "SchemaHierarchy_SelectiveXmlIndexes"; + + + public const string SchemaHierarchy_XmlNamespaces = "SchemaHierarchy_XmlNamespaces"; + + + public const string SchemaHierarchy_XmlTypedPromotedPaths = "SchemaHierarchy_XmlTypedPromotedPaths"; + + + public const string SchemaHierarchy_SqlTypedPromotedPaths = "SchemaHierarchy_SqlTypedPromotedPaths"; + + + public const string SchemaHierarchy_DatabaseScopedCredentials = "SchemaHierarchy_DatabaseScopedCredentials"; + + + public const string SchemaHierarchy_ExternalDataSources = "SchemaHierarchy_ExternalDataSources"; + + + public const string SchemaHierarchy_ExternalFileFormats = "SchemaHierarchy_ExternalFileFormats"; + + + public const string SchemaHierarchy_ExternalResources = "SchemaHierarchy_ExternalResources"; + + + public const string SchemaHierarchy_ExternalTables = "SchemaHierarchy_ExternalTables"; + + + public const string SchemaHierarchy_AlwaysEncryptedKeys = "SchemaHierarchy_AlwaysEncryptedKeys"; + + + public const string SchemaHierarchy_ColumnMasterKeys = "SchemaHierarchy_ColumnMasterKeys"; + + + public const string SchemaHierarchy_ColumnEncryptionKeys = "SchemaHierarchy_ColumnEncryptionKeys"; + + + public const string SchemaHierarchy_SubroutineParameterLabelFormatString = "SchemaHierarchy_SubroutineParameterLabelFormatString"; + + + public const string SchemaHierarchy_SubroutineParameterNoDefaultLabel = "SchemaHierarchy_SubroutineParameterNoDefaultLabel"; + + + public const string SchemaHierarchy_SubroutineParameterInputLabel = "SchemaHierarchy_SubroutineParameterInputLabel"; + + + public const string SchemaHierarchy_SubroutineParameterInputOutputLabel = "SchemaHierarchy_SubroutineParameterInputOutputLabel"; + + + public const string SchemaHierarchy_SubroutineParameterInputReadOnlyLabel = "SchemaHierarchy_SubroutineParameterInputReadOnlyLabel"; + + + public const string SchemaHierarchy_SubroutineParameterInputOutputReadOnlyLabel = "SchemaHierarchy_SubroutineParameterInputOutputReadOnlyLabel"; + + + public const string SchemaHierarchy_SubroutineParameterDefaultLabel = "SchemaHierarchy_SubroutineParameterDefaultLabel"; + + + public const string SchemaHierarchy_NullColumn_Label = "SchemaHierarchy_NullColumn_Label"; + + + public const string SchemaHierarchy_NotNullColumn_Label = "SchemaHierarchy_NotNullColumn_Label"; + + + public const string SchemaHierarchy_UDDTLabelWithType = "SchemaHierarchy_UDDTLabelWithType"; + + + public const string SchemaHierarchy_UDDTLabelWithoutType = "SchemaHierarchy_UDDTLabelWithoutType"; + + + public const string SchemaHierarchy_ComputedColumnLabelWithType = "SchemaHierarchy_ComputedColumnLabelWithType"; + + + public const string SchemaHierarchy_ComputedColumnLabelWithoutType = "SchemaHierarchy_ComputedColumnLabelWithoutType"; + + + public const string SchemaHierarchy_ColumnSetLabelWithoutType = "SchemaHierarchy_ColumnSetLabelWithoutType"; + + + public const string SchemaHierarchy_ColumnSetLabelWithType = "SchemaHierarchy_ColumnSetLabelWithType"; + + + public const string SchemaHierarchy_ColumnSetLabelWithTypeAndKeyString = "SchemaHierarchy_ColumnSetLabelWithTypeAndKeyString"; + + + public const string UniqueIndex_LabelPart = "UniqueIndex_LabelPart"; + + + public const string NonUniqueIndex_LabelPart = "NonUniqueIndex_LabelPart"; + + + public const string ClusteredIndex_LabelPart = "ClusteredIndex_LabelPart"; + + + public const string NonClusteredIndex_LabelPart = "NonClusteredIndex_LabelPart"; + + + public const string History_LabelPart = "History_LabelPart"; + + + public const string SystemVersioned_LabelPart = "SystemVersioned_LabelPart"; + + + public const string External_LabelPart = "External_LabelPart"; + + + public const string FileTable_LabelPart = "FileTable_LabelPart"; + + + public const string DatabaseNotAccessible = "DatabaseNotAccessible"; + + + public const string ScriptingParams_ConnectionString_Property_Invalid = "ScriptingParams_ConnectionString_Property_Invalid"; + + + public const string ScriptingParams_FilePath_Property_Invalid = "ScriptingParams_FilePath_Property_Invalid"; + + + public const string ScriptingListObjectsCompleteParams_ConnectionString_Property_Invalid = "ScriptingListObjectsCompleteParams_ConnectionString_Property_Invalid"; + + + public const string StoredProcedureScriptParameterComment = "StoredProcedureScriptParameterComment"; + + + public const string ScriptingGeneralError = "ScriptingGeneralError"; + + + public const string ScriptingExecuteNotSupportedError = "ScriptingExecuteNotSupportedError"; + + + public const string unavailable = "unavailable"; + + + public const string filegroup_dialog_defaultFilegroup = "filegroup_dialog_defaultFilegroup"; + + + public const string filegroup_dialog_title = "filegroup_dialog_title"; + + + public const string filegroups_default = "filegroups_default"; + + + public const string filegroups_files = "filegroups_files"; + + + public const string filegroups_name = "filegroups_name"; + + + public const string filegroups_readonly = "filegroups_readonly"; + + + public const string general_autogrowth = "general_autogrowth"; + + + public const string general_builderText = "general_builderText"; + + + public const string general_default = "general_default"; + + + public const string general_fileGroup = "general_fileGroup"; + + + public const string general_fileName = "general_fileName"; + + + public const string general_fileType = "general_fileType"; + + + public const string general_initialSize = "general_initialSize"; + + + public const string general_newFilegroup = "general_newFilegroup"; + + + public const string general_path = "general_path"; + + + public const string general_physicalFileName = "general_physicalFileName"; + + + public const string general_rawDevice = "general_rawDevice"; + + + public const string general_recoveryModel_bulkLogged = "general_recoveryModel_bulkLogged"; + + + public const string general_recoveryModel_full = "general_recoveryModel_full"; + + + public const string general_recoveryModel_simple = "general_recoveryModel_simple"; + + + public const string general_titleSearchOwner = "general_titleSearchOwner"; + + + public const string prototype_autogrowth_disabled = "prototype_autogrowth_disabled"; + + + public const string prototype_autogrowth_restrictedGrowthByMB = "prototype_autogrowth_restrictedGrowthByMB"; + + + public const string prototype_autogrowth_restrictedGrowthByPercent = "prototype_autogrowth_restrictedGrowthByPercent"; + + + public const string prototype_autogrowth_unrestrictedGrowthByMB = "prototype_autogrowth_unrestrictedGrowthByMB"; + + + public const string prototype_autogrowth_unrestrictedGrowthByPercent = "prototype_autogrowth_unrestrictedGrowthByPercent"; + + + public const string prototype_autogrowth_unlimitedfilestream = "prototype_autogrowth_unlimitedfilestream"; + + + public const string prototype_autogrowth_limitedfilestream = "prototype_autogrowth_limitedfilestream"; + + + public const string prototype_db_category_automatic = "prototype_db_category_automatic"; + + + public const string prototype_db_category_servicebroker = "prototype_db_category_servicebroker"; + + + public const string prototype_db_category_collation = "prototype_db_category_collation"; + + + public const string prototype_db_category_cursor = "prototype_db_category_cursor"; + + + public const string prototype_db_category_misc = "prototype_db_category_misc"; + + + public const string prototype_db_category_recovery = "prototype_db_category_recovery"; + + + public const string prototype_db_category_state = "prototype_db_category_state"; + + + public const string prototype_db_prop_ansiNullDefault = "prototype_db_prop_ansiNullDefault"; + + + public const string prototype_db_prop_ansiNulls = "prototype_db_prop_ansiNulls"; + + + public const string prototype_db_prop_ansiPadding = "prototype_db_prop_ansiPadding"; + + + public const string prototype_db_prop_ansiWarnings = "prototype_db_prop_ansiWarnings"; + + + public const string prototype_db_prop_arithabort = "prototype_db_prop_arithabort"; + + + public const string prototype_db_prop_autoClose = "prototype_db_prop_autoClose"; + + + public const string prototype_db_prop_autoCreateStatistics = "prototype_db_prop_autoCreateStatistics"; + + + public const string prototype_db_prop_autoShrink = "prototype_db_prop_autoShrink"; + + + public const string prototype_db_prop_autoUpdateStatistics = "prototype_db_prop_autoUpdateStatistics"; + + + public const string prototype_db_prop_autoUpdateStatisticsAsync = "prototype_db_prop_autoUpdateStatisticsAsync"; + + + public const string prototype_db_prop_caseSensitive = "prototype_db_prop_caseSensitive"; + + + public const string prototype_db_prop_closeCursorOnCommit = "prototype_db_prop_closeCursorOnCommit"; + + + public const string prototype_db_prop_collation = "prototype_db_prop_collation"; + + + public const string prototype_db_prop_concatNullYieldsNull = "prototype_db_prop_concatNullYieldsNull"; + + + public const string prototype_db_prop_databaseCompatibilityLevel = "prototype_db_prop_databaseCompatibilityLevel"; + + + public const string prototype_db_prop_databaseState = "prototype_db_prop_databaseState"; + + + public const string prototype_db_prop_defaultCursor = "prototype_db_prop_defaultCursor"; + + + public const string prototype_db_prop_fullTextIndexing = "prototype_db_prop_fullTextIndexing"; + + + public const string prototype_db_prop_numericRoundAbort = "prototype_db_prop_numericRoundAbort"; + + + public const string prototype_db_prop_pageVerify = "prototype_db_prop_pageVerify"; + + + public const string prototype_db_prop_quotedIdentifier = "prototype_db_prop_quotedIdentifier"; + + + public const string prototype_db_prop_readOnly = "prototype_db_prop_readOnly"; + + + public const string prototype_db_prop_recursiveTriggers = "prototype_db_prop_recursiveTriggers"; + + + public const string prototype_db_prop_restrictAccess = "prototype_db_prop_restrictAccess"; + + + public const string prototype_db_prop_selectIntoBulkCopy = "prototype_db_prop_selectIntoBulkCopy"; + + + public const string prototype_db_prop_honorBrokerPriority = "prototype_db_prop_honorBrokerPriority"; + + + public const string prototype_db_prop_serviceBrokerGuid = "prototype_db_prop_serviceBrokerGuid"; + + + public const string prototype_db_prop_brokerEnabled = "prototype_db_prop_brokerEnabled"; + + + public const string prototype_db_prop_truncateLogOnCheckpoint = "prototype_db_prop_truncateLogOnCheckpoint"; + + + public const string prototype_db_prop_dbChaining = "prototype_db_prop_dbChaining"; + + + public const string prototype_db_prop_trustworthy = "prototype_db_prop_trustworthy"; + + + public const string prototype_db_prop_dateCorrelationOptimization = "prototype_db_prop_dateCorrelationOptimization"; + + + public const string prototype_db_prop_parameterization = "prototype_db_prop_parameterization"; + + + public const string prototype_db_prop_parameterization_value_forced = "prototype_db_prop_parameterization_value_forced"; + + + public const string prototype_db_prop_parameterization_value_simple = "prototype_db_prop_parameterization_value_simple"; + + + public const string prototype_file_dataFile = "prototype_file_dataFile"; + + + public const string prototype_file_logFile = "prototype_file_logFile"; + + + public const string prototype_file_filestreamFile = "prototype_file_filestreamFile"; + + + public const string prototype_file_noFileGroup = "prototype_file_noFileGroup"; + + + public const string prototype_file_defaultpathstring = "prototype_file_defaultpathstring"; + + + public const string title_openConnectionsMustBeClosed = "title_openConnectionsMustBeClosed"; + + + public const string warning_openConnectionsMustBeClosed = "warning_openConnectionsMustBeClosed"; + + + public const string prototype_db_prop_databaseState_value_autoClosed = "prototype_db_prop_databaseState_value_autoClosed"; + + + public const string prototype_db_prop_databaseState_value_emergency = "prototype_db_prop_databaseState_value_emergency"; + + + public const string prototype_db_prop_databaseState_value_inaccessible = "prototype_db_prop_databaseState_value_inaccessible"; + + + public const string prototype_db_prop_databaseState_value_normal = "prototype_db_prop_databaseState_value_normal"; + + + public const string prototype_db_prop_databaseState_value_offline = "prototype_db_prop_databaseState_value_offline"; + + + public const string prototype_db_prop_databaseState_value_recovering = "prototype_db_prop_databaseState_value_recovering"; + + + public const string prototype_db_prop_databaseState_value_recoveryPending = "prototype_db_prop_databaseState_value_recoveryPending"; + + + public const string prototype_db_prop_databaseState_value_restoring = "prototype_db_prop_databaseState_value_restoring"; + + + public const string prototype_db_prop_databaseState_value_shutdown = "prototype_db_prop_databaseState_value_shutdown"; + + + public const string prototype_db_prop_databaseState_value_standby = "prototype_db_prop_databaseState_value_standby"; + + + public const string prototype_db_prop_databaseState_value_suspect = "prototype_db_prop_databaseState_value_suspect"; + + + public const string prototype_db_prop_defaultCursor_value_global = "prototype_db_prop_defaultCursor_value_global"; + + + public const string prototype_db_prop_defaultCursor_value_local = "prototype_db_prop_defaultCursor_value_local"; + + + public const string prototype_db_prop_restrictAccess_value_multiple = "prototype_db_prop_restrictAccess_value_multiple"; + + + public const string prototype_db_prop_restrictAccess_value_restricted = "prototype_db_prop_restrictAccess_value_restricted"; + + + public const string prototype_db_prop_restrictAccess_value_single = "prototype_db_prop_restrictAccess_value_single"; + + + public const string prototype_db_prop_pageVerify_value_checksum = "prototype_db_prop_pageVerify_value_checksum"; + + + public const string prototype_db_prop_pageVerify_value_none = "prototype_db_prop_pageVerify_value_none"; + + + public const string prototype_db_prop_pageVerify_value_tornPageDetection = "prototype_db_prop_pageVerify_value_tornPageDetection"; + + + public const string prototype_db_prop_varDecimalEnabled = "prototype_db_prop_varDecimalEnabled"; + + + public const string compatibilityLevel_katmai = "compatibilityLevel_katmai"; + + + public const string prototype_db_prop_encryptionEnabled = "prototype_db_prop_encryptionEnabled"; + + + public const string prototype_db_prop_databasescopedconfig_value_off = "prototype_db_prop_databasescopedconfig_value_off"; + + + public const string prototype_db_prop_databasescopedconfig_value_on = "prototype_db_prop_databasescopedconfig_value_on"; + + + public const string prototype_db_prop_databasescopedconfig_value_primary = "prototype_db_prop_databasescopedconfig_value_primary"; + + + public const string error_db_prop_invalidleadingColumns = "error_db_prop_invalidleadingColumns"; + + + public const string compatibilityLevel_denali = "compatibilityLevel_denali"; + + + public const string compatibilityLevel_sql14 = "compatibilityLevel_sql14"; + + + public const string compatibilityLevel_sql15 = "compatibilityLevel_sql15"; + + + public const string compatibilityLevel_sqlvNext = "compatibilityLevel_sqlvNext"; + + + public const string general_containmentType_None = "general_containmentType_None"; + + + public const string general_containmentType_Partial = "general_containmentType_Partial"; + + + public const string filegroups_filestreamFiles = "filegroups_filestreamFiles"; + + + public const string prototype_file_noApplicableFileGroup = "prototype_file_noApplicableFileGroup"; + + + public const string NeverBackedUp = "NeverBackedUp"; + + + public const string Error_InvalidDirectoryName = "Error_InvalidDirectoryName"; + + + public const string Error_ExistingDirectoryName = "Error_ExistingDirectoryName"; + + + public const string BackupTaskName = "BackupTaskName"; + + + public const string BackupPathIsFolderError = "BackupPathIsFolderError"; + + + public const string InvalidBackupPathError = "InvalidBackupPathError"; + + + public const string TaskInProgress = "TaskInProgress"; + + + public const string TaskCompleted = "TaskCompleted"; + + + public const string ConflictWithNoRecovery = "ConflictWithNoRecovery"; + + + public const string InvalidPathForDatabaseFile = "InvalidPathForDatabaseFile"; + + + public const string Log = "Log"; + + + public const string RestorePlanFailed = "RestorePlanFailed"; + + + public const string RestoreNotSupported = "RestoreNotSupported"; + + + public const string RestoreTaskName = "RestoreTaskName"; + + + public const string RestoreCopyOnly = "RestoreCopyOnly"; + + + public const string RestoreBackupSetComponent = "RestoreBackupSetComponent"; + + + public const string RestoreBackupSetName = "RestoreBackupSetName"; + + + public const string RestoreBackupSetType = "RestoreBackupSetType"; + + + public const string RestoreBackupSetServer = "RestoreBackupSetServer"; + + + public const string RestoreBackupSetDatabase = "RestoreBackupSetDatabase"; + + + public const string RestoreBackupSetPosition = "RestoreBackupSetPosition"; + + + public const string RestoreBackupSetFirstLsn = "RestoreBackupSetFirstLsn"; + + + public const string RestoreBackupSetLastLsn = "RestoreBackupSetLastLsn"; + + + public const string RestoreBackupSetCheckpointLsn = "RestoreBackupSetCheckpointLsn"; + + + public const string RestoreBackupSetFullLsn = "RestoreBackupSetFullLsn"; + + + public const string RestoreBackupSetStartDate = "RestoreBackupSetStartDate"; + + + public const string RestoreBackupSetFinishDate = "RestoreBackupSetFinishDate"; + + + public const string RestoreBackupSetSize = "RestoreBackupSetSize"; + + + public const string RestoreBackupSetUserName = "RestoreBackupSetUserName"; + + + public const string RestoreBackupSetExpiration = "RestoreBackupSetExpiration"; + + + public const string TheLastBackupTaken = "TheLastBackupTaken"; + + + public const string NoBackupsetsToRestore = "NoBackupsetsToRestore"; + + + public const string ScriptTaskName = "ScriptTaskName"; + + + public const string InvalidPathError = "InvalidPathError"; + + + public const string ProfilerConnectionNotFound = "ProfilerConnectionNotFound"; + + + private Keys() + { } + + public static CultureInfo Culture + { + get + { + return _culture; + } + set + { + _culture = value; + } + } + + public static string GetString(string key) + { + return resourceManager.GetString(key, _culture); + } + + + public static string GetString(string key, object arg0) + { + return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0); + } + + + public static string GetString(string key, object arg0, object arg1) + { + return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0, arg1); + } + + + public static string GetString(string key, object arg0, object arg1, object arg2, object arg3) + { + return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0, arg1, arg2, arg3); + } + + + public static string GetString(string key, object arg0, object arg1, object arg2, object arg3, object arg4, object arg5) + { + return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0, arg1, arg2, arg3, arg4, arg5); + } + + } + } +} diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/sr.de.resx b/external/Microsoft.SqlTools.CoreServices/Localization/sr.de.resx similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/sr.de.resx rename to external/Microsoft.SqlTools.CoreServices/Localization/sr.de.resx diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/sr.es.resx b/external/Microsoft.SqlTools.CoreServices/Localization/sr.es.resx similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/sr.es.resx rename to external/Microsoft.SqlTools.CoreServices/Localization/sr.es.resx diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/sr.fr.resx b/external/Microsoft.SqlTools.CoreServices/Localization/sr.fr.resx similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/sr.fr.resx rename to external/Microsoft.SqlTools.CoreServices/Localization/sr.fr.resx diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/sr.it.resx b/external/Microsoft.SqlTools.CoreServices/Localization/sr.it.resx similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/sr.it.resx rename to external/Microsoft.SqlTools.CoreServices/Localization/sr.it.resx diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/sr.ja.resx b/external/Microsoft.SqlTools.CoreServices/Localization/sr.ja.resx similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/sr.ja.resx rename to external/Microsoft.SqlTools.CoreServices/Localization/sr.ja.resx diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/sr.ko.resx b/external/Microsoft.SqlTools.CoreServices/Localization/sr.ko.resx similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/sr.ko.resx rename to external/Microsoft.SqlTools.CoreServices/Localization/sr.ko.resx diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/sr.pt-BR.resx b/external/Microsoft.SqlTools.CoreServices/Localization/sr.pt-BR.resx similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/sr.pt-BR.resx rename to external/Microsoft.SqlTools.CoreServices/Localization/sr.pt-BR.resx diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/sr.resx b/external/Microsoft.SqlTools.CoreServices/Localization/sr.resx similarity index 97% rename from src/Microsoft.SqlTools.CoreServices/Localization/sr.resx rename to external/Microsoft.SqlTools.CoreServices/Localization/sr.resx index 54818585..19cb07c2 100644 --- a/src/Microsoft.SqlTools.CoreServices/Localization/sr.resx +++ b/external/Microsoft.SqlTools.CoreServices/Localization/sr.resx @@ -1,2009 +1,2009 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Connection parameters cannot be null - - - - OwnerUri cannot be null or empty - - - - SpecifiedUri '{0}' does not have existing connection - . - Parameters: 0 - uri (string) - - - Specified URI '{0}' does not have a default connection - . - Parameters: 0 - uri (string) - - - Invalid value '{0}' for AuthenticationType. Valid values are 'Integrated' and 'SqlLogin'. - . - Parameters: 0 - authType (string) - - - Invalid value '{0}' for ApplicationIntent. Valid values are 'ReadWrite' and 'ReadOnly'. - . - Parameters: 0 - intent (string) - - - Connection canceled - - - - OwnerUri cannot be null or empty - - - - Connection details object cannot be null - - - - ServerName cannot be null or empty - - - - {0} cannot be null or empty when using SqlLogin authentication - . - Parameters: 0 - component (string) - - - Azure SQL DB - - - - Azure SQL Data Warehouse - - - - Azure SQL Stretch Database - - - - Azure SQL Analytics on-demand - - - - The query has already completed, it cannot be cancelled - - - - Query successfully cancelled, failed to dispose query. Owner URI not found. - - - - Query was canceled by user - - - - The batch has not completed, yet - - - - Batch index cannot be less than 0 or greater than the number of batches - - - - Result set index cannot be less than 0 or greater than the number of result sets - - - - Maximum number of bytes to return must be greater than zero - - - - Maximum number of chars to return must be greater than zero - - - - Maximum number of XML bytes to return must be greater than zero - - - - Access method cannot be write-only - - - - FileStreamWrapper must be initialized before performing operations - - - - This FileStreamWrapper cannot be used for writing - - - - (1 row affected) - - - - ({0} rows affected) - . - Parameters: 0 - rows (long) - - - Commands completed successfully. - - - - Msg {0}, Level {1}, State {2}, Line {3}{4}{5} - . - Parameters: 0 - msg (int), 1 - lvl (int), 2 - state (int), 3 - line (int), 4 - newLine (string), 5 - message (string) - - - Query failed: {0} - . - Parameters: 0 - message (string) - - - (No column name) - - - - NULL - - - - The requested query does not exist - - - - Cannot connect to the database due to invalid OwnerUri - - - - A query is already in progress for this editor session. Please cancel this query or wait for its completion. - - - - Sender for OnInfoMessage event must be a SqlConnection - - - - Cannot add row to result buffer, data reader does not contain rows - - - - Query has no results to return - - - - Result set has too many rows to be safely loaded - - - - Result cannot be saved until query execution has completed - - - - Internal error occurred while starting save task - - - - A save request to the same path is in progress - - - - Failed to save {0}: {1} - . - Parameters: 0 - fileName (string), 1 - message (string) - - - Cannot read subset unless the results have been read from the server - - - - Start row cannot be less than 0 or greater than the number of rows in the result set - - - - Row count must be a positive integer - - - - Could not retrieve column schema for result set - - - - Could not retrieve an execution plan from the result set - - - - This feature is currently not supported on Azure SQL DB and Data Warehouse: {0} - . - Parameters: 0 - errorMessage (string) - - - An unexpected error occurred during Peek Definition execution: {0} - . - Parameters: 0 - errorMessage (string) - - - No results were found. - - - - No database object was retrieved. - - - - Please connect to a server. - - - - Operation timed out. - - - - This object type is currently not supported by this feature. - - - - Replacement of an empty string by an empty string. - - - - Position is outside of file line range - - - - Position is outside of column range for line {0} - . - Parameters: 0 - line (int) - - - Start position ({0}, {1}) must come before or be equal to the end position ({2}, {3}) - . - Parameters: 0 - sLine (int), 1 - sCol (int), 2 - eLine (int), 3 - eCol (int) - - - Table or view requested for edit could not be found - - - - Edit session does not exist. - - - - Edit session already exists. - - - - Edit session has not been initialized - - - - Edit session has already been initialized - - - - Edit session has already been initialized or is in the process of initializing - - - - Table metadata does not have extended properties - - - - A object name must be provided - - - - Explicitly specifying server or database is not supported - - - - Result limit cannot be negative - - - - Database object {0} cannot be used for editing. - . - Parameters: 0 - typeName (string) - - - Query execution failed, see messages for details - - - - Query has not completed execution - - - - Query did not generate exactly one result set - - - - Failed to add new row to update cache - - - - Given row ID is outside the range of rows in the edit cache - - - - An update is already pending for this row and must be reverted first - - - - Given row ID does not have pending update - - - - Table or view metadata could not be found - - - - Invalid format for column '{0}', column is defined as {1} - . - Parameters: 0 - colName (string), 1 - colType (string) - - - Invalid format for binary column - - - - Allowed values for boolean columns are 0, 1, "true", or "false" - - - - The column '{0}' is defined as NOT NULL but was not given a value - . - Parameters: 0 - colName (string) - - - A delete is pending for this row, a cell update cannot be applied. - - - - Column ID must be in the range of columns for the query - - - - Column cannot be edited - - - - No key columns were found - - - - An output filename must be provided - - - - A commit task is in progress. Please wait for completion. - - - - <TBD> - - - - TIME column values must be between 00:00:00.0000000 and 23:59:59.9999999 - - - - NULL is not allowed for this column - - - - Value {0} is too large to fit in column of type {1} - . - Parameters: 0 - value (string), 1 - columnType (string) - - - Msg {0}, Level {1}, State {2}, Line {3} - - - - Msg {0}, Level {1}, State {2}, Procedure {3}, Line {4} - - - - Msg {0}, Level {1}, State {2} - - - - An error occurred while the batch was being processed. The error message is: {0} - - - - ({0} row(s) affected) - - - - The previous execution is not yet complete. - - - - A scripting error occurred. - - - - Incorrect syntax was encountered while {0} was being parsed. - - - - A fatal error occurred. - - - - Batch execution completed {0} times... - - - - You cancelled the query. - - - - An error occurred while the batch was being executed. - - - - An error occurred while the batch was being executed, but the error has been ignored. - - - - Beginning execution loop - - - - Command {0} is not supported. - - - - The variable {0} could not be found. - - - - SQL Execution error: {0} - - - - Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3} - - - - Batch parser wrapper execution engine batch message received: Message: {0} Detailed message: {1} - - - - Batch parser wrapper execution engine batch ResultSet processing: DataReader.FieldCount: {0} DataReader.RecordsAffected: {1} - - - - Batch parser wrapper execution engine batch ResultSet finished. - - - - Canceling batch parser wrapper batch execution. - - - - Scripting warning. - - - - For more information about this error, see the troubleshooting topics in the product documentation. - - - - File '{0}' recursively included. - - - - Missing end comment mark '*/'. - - - - Unclosed quotation mark after the character string. - - - - Incorrect syntax was encountered while parsing '{0}'. - - - - Variable {0} is not defined. - - - - test - - - - Exact numeric column is missing numeric precision or numeric scale - - - - Column with length is missing size - - - - Scalar column missing scale - - - - Error expanding: {0} - - - - Error connecting to {0} - - - - Aggregates - - - - Server Roles - - - - Application Roles - - - - Assemblies - - - - Assembly Files - - - - Asymmetric Keys - - - - Asymmetric Keys - - - - Data Compression Options - - - - Certificates - - - - FileTables - - - - Certificates - - - - Check Constraints - - - - Columns - - - - Constraints - - - - Contracts - - - - Credentials - - - - Error Messages - - - - Server Role Membership - - - - Database Options - - - - Database Roles - - - - Role Memberships - - - - Database Triggers - - - - Default Constraints - - - - Defaults - - - - Sequences - - - - Endpoints - - - - Event Notifications - - - - Server Event Notifications - - - - Extended Properties - - - - Filegroups - - - - Foreign Keys - - - - Full-Text Catalogs - - - - Full-Text Indexes - - - - Functions - - - - Indexes - - - - Inline Functions - - - - Keys - - - - Linked Servers - - - - Linked Server Logins - - - - Logins - - - - Master Key - - - - Master Keys - - - - Message Types - - - - Table-Valued Functions - - - - Parameters - - - - Partition Functions - - - - Partition Schemes - - - - Permissions - - - - Primary Keys - - - - Programmability - - - - Queues - - - - Remote Service Bindings - - - - Returned Columns - - - - Roles - - - - Routes - - - - Rules - - - - Schemas - - - - Security - - - - Server Objects - - - - Management - - - - Triggers - - - - Service Broker - - - - Services - - - - Signatures - - - - Log Files - - - - Statistics - - - - Storage - - - - Stored Procedures - - - - Symmetric Keys - - - - Synonyms - - - - Tables - - - - Triggers - - - - Types - - - - Unique Keys - - - - User-Defined Data Types - - - - User-Defined Types (CLR) - - - - Users - - - - Views - - - - XML Indexes - - - - XML Schema Collections - - - - User-Defined Table Types - - - - Files - - - - Missing Caption - - - - Broker Priorities - - - - Cryptographic Providers - - - - Database Audit Specifications - - - - Database Encryption Keys - - - - Event Sessions - - - - Full Text Stoplists - - - - Resource Pools - - - - Audits - - - - Server Audit Specifications - - - - Spatial Indexes - - - - Workload Groups - - - - SQL Files - - - - Server Functions - - - - SQL Type - - - - Server Options - - - - Database Diagrams - - - - System Tables - - - - Databases - - - - System Contracts - - - - System Databases - - - - System Message Types - - - - System Queues - - - - System Services - - - - System Stored Procedures - - - - System Views - - - - Data-tier Applications - - - - Extended Stored Procedures - - - - Aggregate Functions - - - - Approximate Numerics - - - - Binary Strings - - - - Character Strings - - - - CLR Data Types - - - - Configuration Functions - - - - Cursor Functions - - - - System Data Types - - - - Date and Time - - - - Date and Time Functions - - - - Exact Numerics - - - - System Functions - - - - Hierarchy Id Functions - - - - Mathematical Functions - - - - Metadata Functions - - - - Other Data Types - - - - Other Functions - - - - Rowset Functions - - - - Security Functions - - - - Spatial Data Types - - - - String Functions - - - - System Statistical Functions - - - - Text and Image Functions - - - - Unicode Character Strings - - - - Aggregate Functions - - - - Scalar-valued Functions - - - - Table-valued Functions - - - - System Extended Stored Procedures - - - - Built-in Types - - - - Built-in Server Roles - - - - User with Password - - - - Search Property List - - - - Security Policies - - - - Security Predicates - - - - Server Role - - - - Search Property Lists - - - - Column Store Indexes - - - - Table Type Indexes - - - - Server - - - - Selective XML Indexes - - - - XML Namespaces - - - - XML Typed Promoted Paths - - - - T-SQL Typed Promoted Paths - - - - Database Scoped Credentials - - - - External Data Sources - - - - External File Formats - - - - External Resources - - - - External Tables - - - - Always Encrypted Keys - - - - Column Master Keys - - - - Column Encryption Keys - - - - {0} ({1}, {2}, {3}) - - - - No default - - - - Input - - - - Input/Output - - - - Input/ReadOnly - - - - Input/Output/ReadOnly - - - - Default - - - - null - - - - not null - - - - {0} ({1}, {2}) - - - - {0} ({1}) - - - - {0} ({1}Computed, {2}, {3}) - - - - {0} ({1}Computed) - - - - {0} (Column Set, {1}) - - - - {0} (Column Set, {1}{2}, {3}) - - - - {0} (Column Set, {1}, {2}, {3}) - - - - Unique - - - - Non-Unique - - - - Clustered - - - - Non-Clustered - - - - History - - - - System-Versioned - - - - External - - - - File Table - - - - The database {0} is not accessible. - - - - Error parsing ScriptingParams.ConnectionString property. - - - - Invalid directory specified by the ScriptingParams.FilePath property. - - - - Error parsing ScriptingListObjectsCompleteParams.ConnectionString property. - - - - -- TODO: Set parameter values here. - - - - An error occurred while scripting the objects. - - - - Scripting as Execute is only supported for Stored Procedures - - - - Unavailable - - - - Current default filegroup: {0} - - - - New Filegroup for {0} - - - - Default - - - - Files - - - - Name - - - - Read-Only - - - - Autogrowth / Maxsize - - - - ... - - - - &lt;default&gt; - - - - Filegroup - - - - Logical Name - - - - File Type - - - - Initial Size (MB) - - - - &lt;new filegroup&gt; - - - - Path - - - - File Name - - - - &lt;raw device&gt; - - - - Bulk-logged - - - - Full - - - - Simple - - - - Select Database Owner - - - - None - - - - By {0} MB, Limited to {1} MB - - - - By {0} percent, Limited to {1} MB - - - - By {0} MB, Unlimited - - - - By {0} percent, Unlimited - - - - Unlimited - - - - Limited to {0} MB - - - - Automatic - - - - Service Broker - - - - Collation - - - - Cursor - - - - Miscellaneous - - - - Recovery - - - - State - - - - ANSI NULL Default - - - - ANSI NULLS Enabled - - - - ANSI Padding Enabled - - - - ANSI Warnings Enabled - - - - Arithmetic Abort Enabled - - - - Auto Close - - - - Auto Create Statistics - - - - Auto Shrink - - - - Auto Update Statistics - - - - Auto Update Statistics Asynchronously - - - - Case Sensitive - - - - Close Cursor on Commit Enabled - - - - Collation - - - - Concatenate Null Yields Null - - - - Database Compatibility Level - - - - Database State - - - - Default Cursor - - - - Full-Text Indexing Enabled - - - - Numeric Round-Abort - - - - Page Verify - - - - Quoted Identifiers Enabled - - - - Database Read-Only - - - - Recursive Triggers Enabled - - - - Restrict Access - - - - Select Into/Bulk Copy - - - - Honor Broker Priority - - - - Service Broker Identifier - - - - Broker Enabled - - - - Truncate Log on Checkpoint - - - - Cross-database Ownership Chaining Enabled - - - - Trustworthy - - - - Date Correlation Optimization Enabled - - - - Parameterization - - - - Forced - - - - Simple - - - - ROWS Data - - - - LOG - - - - FILESTREAM Data - - - - Not Applicable - - - - &lt;default path&gt; - - - - Open Connections - - - - To change the database properties, SQL Server must close all other connections to the database_ Are you sure you want to change the properties and close all other connections? - - - - AUTO_CLOSED - - - - EMERGENCY - - - - INACCESSIBLE - - - - NORMAL - - - - OFFLINE - - - - RECOVERING - - - - RECOVERY PENDING - - - - RESTORING - - - - SHUTDOWN - - - - STANDBY - - - - SUSPECT - - - - GLOBAL - - - - LOCAL - - - - MULTI_USER - - - - RESTRICTED_USER - - - - SINGLE_USER - - - - CHECKSUM - - - - NONE - - - - TORN_PAGE_DETECTION - - - - VarDecimal Storage Format Enabled - - - - SQL Server 2008 (100) - - - - Encryption Enabled - - - - OFF - - - - ON - - - - PRIMARY - - - - For the distribution policy HASH, the number of leading hash columns is optional but should be from 1 to 16 columns - - - - SQL Server 2012 (110) - - - - SQL Server 2014 (120) - - - - SQL Server 2016 (130) - - - - SQL Server vNext (140) - - - - None - - - - Partial - - - - FILESTREAM Files - - - - No Applicable Filegroup - - - - Never - - - - Path {0} is not a valid directory - - - - For directory {0} a file with name {1} already exists - - - - Backup Database - - - - Please provide a file path instead of directory path - - - - The provided path is invalid - - - - In progress - - - - Completed - - - - Specifying this option when restoring a backup with the NORECOVERY option is not permitted. - - - - Invalid path for database file: '{0}' - - - - Log - - - - Failed to create restore plan - - - - Restore database is not supported - - - - Restore Database - - - - (Copy Only) - - - - Component - - - - Name - - - - Type - - - - Server - - - - Database - - - - Position - - - - First LSN - - - - Last LSN - - - - Checkpoint LSN - - - - Full LSN - - - - Start Date - - - - Finish Date - - - - Size - - - - User Name - - - - Expiration - - - - The last backup taken ({0}) - - - - No backupset selected to be restored - - - - scripting - - - - Cannot access the specified path on the server: {0} - - - - Connection not found - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Connection parameters cannot be null + + + + OwnerUri cannot be null or empty + + + + SpecifiedUri '{0}' does not have existing connection + . + Parameters: 0 - uri (string) + + + Specified URI '{0}' does not have a default connection + . + Parameters: 0 - uri (string) + + + Invalid value '{0}' for AuthenticationType. Valid values are 'Integrated' and 'SqlLogin'. + . + Parameters: 0 - authType (string) + + + Invalid value '{0}' for ApplicationIntent. Valid values are 'ReadWrite' and 'ReadOnly'. + . + Parameters: 0 - intent (string) + + + Connection canceled + + + + OwnerUri cannot be null or empty + + + + Connection details object cannot be null + + + + ServerName cannot be null or empty + + + + {0} cannot be null or empty when using SqlLogin authentication + . + Parameters: 0 - component (string) + + + Azure SQL DB + + + + Azure SQL Data Warehouse + + + + Azure SQL Stretch Database + + + + Azure SQL Analytics on-demand + + + + The query has already completed, it cannot be cancelled + + + + Query successfully cancelled, failed to dispose query. Owner URI not found. + + + + Query was canceled by user + + + + The batch has not completed, yet + + + + Batch index cannot be less than 0 or greater than the number of batches + + + + Result set index cannot be less than 0 or greater than the number of result sets + + + + Maximum number of bytes to return must be greater than zero + + + + Maximum number of chars to return must be greater than zero + + + + Maximum number of XML bytes to return must be greater than zero + + + + Access method cannot be write-only + + + + FileStreamWrapper must be initialized before performing operations + + + + This FileStreamWrapper cannot be used for writing + + + + (1 row affected) + + + + ({0} rows affected) + . + Parameters: 0 - rows (long) + + + Commands completed successfully. + + + + Msg {0}, Level {1}, State {2}, Line {3}{4}{5} + . + Parameters: 0 - msg (int), 1 - lvl (int), 2 - state (int), 3 - line (int), 4 - newLine (string), 5 - message (string) + + + Query failed: {0} + . + Parameters: 0 - message (string) + + + (No column name) + + + + NULL + + + + The requested query does not exist + + + + Cannot connect to the database due to invalid OwnerUri + + + + A query is already in progress for this editor session. Please cancel this query or wait for its completion. + + + + Sender for OnInfoMessage event must be a SqlConnection + + + + Cannot add row to result buffer, data reader does not contain rows + + + + Query has no results to return + + + + Result set has too many rows to be safely loaded + + + + Result cannot be saved until query execution has completed + + + + Internal error occurred while starting save task + + + + A save request to the same path is in progress + + + + Failed to save {0}: {1} + . + Parameters: 0 - fileName (string), 1 - message (string) + + + Cannot read subset unless the results have been read from the server + + + + Start row cannot be less than 0 or greater than the number of rows in the result set + + + + Row count must be a positive integer + + + + Could not retrieve column schema for result set + + + + Could not retrieve an execution plan from the result set + + + + This feature is currently not supported on Azure SQL DB and Data Warehouse: {0} + . + Parameters: 0 - errorMessage (string) + + + An unexpected error occurred during Peek Definition execution: {0} + . + Parameters: 0 - errorMessage (string) + + + No results were found. + + + + No database object was retrieved. + + + + Please connect to a server. + + + + Operation timed out. + + + + This object type is currently not supported by this feature. + + + + Replacement of an empty string by an empty string. + + + + Position is outside of file line range + + + + Position is outside of column range for line {0} + . + Parameters: 0 - line (int) + + + Start position ({0}, {1}) must come before or be equal to the end position ({2}, {3}) + . + Parameters: 0 - sLine (int), 1 - sCol (int), 2 - eLine (int), 3 - eCol (int) + + + Table or view requested for edit could not be found + + + + Edit session does not exist. + + + + Edit session already exists. + + + + Edit session has not been initialized + + + + Edit session has already been initialized + + + + Edit session has already been initialized or is in the process of initializing + + + + Table metadata does not have extended properties + + + + A object name must be provided + + + + Explicitly specifying server or database is not supported + + + + Result limit cannot be negative + + + + Database object {0} cannot be used for editing. + . + Parameters: 0 - typeName (string) + + + Query execution failed, see messages for details + + + + Query has not completed execution + + + + Query did not generate exactly one result set + + + + Failed to add new row to update cache + + + + Given row ID is outside the range of rows in the edit cache + + + + An update is already pending for this row and must be reverted first + + + + Given row ID does not have pending update + + + + Table or view metadata could not be found + + + + Invalid format for column '{0}', column is defined as {1} + . + Parameters: 0 - colName (string), 1 - colType (string) + + + Invalid format for binary column + + + + Allowed values for boolean columns are 0, 1, "true", or "false" + + + + The column '{0}' is defined as NOT NULL but was not given a value + . + Parameters: 0 - colName (string) + + + A delete is pending for this row, a cell update cannot be applied. + + + + Column ID must be in the range of columns for the query + + + + Column cannot be edited + + + + No key columns were found + + + + An output filename must be provided + + + + A commit task is in progress. Please wait for completion. + + + + <TBD> + + + + TIME column values must be between 00:00:00.0000000 and 23:59:59.9999999 + + + + NULL is not allowed for this column + + + + Value {0} is too large to fit in column of type {1} + . + Parameters: 0 - value (string), 1 - columnType (string) + + + Msg {0}, Level {1}, State {2}, Line {3} + + + + Msg {0}, Level {1}, State {2}, Procedure {3}, Line {4} + + + + Msg {0}, Level {1}, State {2} + + + + An error occurred while the batch was being processed. The error message is: {0} + + + + ({0} row(s) affected) + + + + The previous execution is not yet complete. + + + + A scripting error occurred. + + + + Incorrect syntax was encountered while {0} was being parsed. + + + + A fatal error occurred. + + + + Batch execution completed {0} times... + + + + You cancelled the query. + + + + An error occurred while the batch was being executed. + + + + An error occurred while the batch was being executed, but the error has been ignored. + + + + Beginning execution loop + + + + Command {0} is not supported. + + + + The variable {0} could not be found. + + + + SQL Execution error: {0} + + + + Batch parser wrapper execution: {0} found... at line {1}: {2} Description: {3} + + + + Batch parser wrapper execution engine batch message received: Message: {0} Detailed message: {1} + + + + Batch parser wrapper execution engine batch ResultSet processing: DataReader.FieldCount: {0} DataReader.RecordsAffected: {1} + + + + Batch parser wrapper execution engine batch ResultSet finished. + + + + Canceling batch parser wrapper batch execution. + + + + Scripting warning. + + + + For more information about this error, see the troubleshooting topics in the product documentation. + + + + File '{0}' recursively included. + + + + Missing end comment mark '*/'. + + + + Unclosed quotation mark after the character string. + + + + Incorrect syntax was encountered while parsing '{0}'. + + + + Variable {0} is not defined. + + + + test + + + + Exact numeric column is missing numeric precision or numeric scale + + + + Column with length is missing size + + + + Scalar column missing scale + + + + Error expanding: {0} + + + + Error connecting to {0} + + + + Aggregates + + + + Server Roles + + + + Application Roles + + + + Assemblies + + + + Assembly Files + + + + Asymmetric Keys + + + + Asymmetric Keys + + + + Data Compression Options + + + + Certificates + + + + FileTables + + + + Certificates + + + + Check Constraints + + + + Columns + + + + Constraints + + + + Contracts + + + + Credentials + + + + Error Messages + + + + Server Role Membership + + + + Database Options + + + + Database Roles + + + + Role Memberships + + + + Database Triggers + + + + Default Constraints + + + + Defaults + + + + Sequences + + + + Endpoints + + + + Event Notifications + + + + Server Event Notifications + + + + Extended Properties + + + + Filegroups + + + + Foreign Keys + + + + Full-Text Catalogs + + + + Full-Text Indexes + + + + Functions + + + + Indexes + + + + Inline Functions + + + + Keys + + + + Linked Servers + + + + Linked Server Logins + + + + Logins + + + + Master Key + + + + Master Keys + + + + Message Types + + + + Table-Valued Functions + + + + Parameters + + + + Partition Functions + + + + Partition Schemes + + + + Permissions + + + + Primary Keys + + + + Programmability + + + + Queues + + + + Remote Service Bindings + + + + Returned Columns + + + + Roles + + + + Routes + + + + Rules + + + + Schemas + + + + Security + + + + Server Objects + + + + Management + + + + Triggers + + + + Service Broker + + + + Services + + + + Signatures + + + + Log Files + + + + Statistics + + + + Storage + + + + Stored Procedures + + + + Symmetric Keys + + + + Synonyms + + + + Tables + + + + Triggers + + + + Types + + + + Unique Keys + + + + User-Defined Data Types + + + + User-Defined Types (CLR) + + + + Users + + + + Views + + + + XML Indexes + + + + XML Schema Collections + + + + User-Defined Table Types + + + + Files + + + + Missing Caption + + + + Broker Priorities + + + + Cryptographic Providers + + + + Database Audit Specifications + + + + Database Encryption Keys + + + + Event Sessions + + + + Full Text Stoplists + + + + Resource Pools + + + + Audits + + + + Server Audit Specifications + + + + Spatial Indexes + + + + Workload Groups + + + + SQL Files + + + + Server Functions + + + + SQL Type + + + + Server Options + + + + Database Diagrams + + + + System Tables + + + + Databases + + + + System Contracts + + + + System Databases + + + + System Message Types + + + + System Queues + + + + System Services + + + + System Stored Procedures + + + + System Views + + + + Data-tier Applications + + + + Extended Stored Procedures + + + + Aggregate Functions + + + + Approximate Numerics + + + + Binary Strings + + + + Character Strings + + + + CLR Data Types + + + + Configuration Functions + + + + Cursor Functions + + + + System Data Types + + + + Date and Time + + + + Date and Time Functions + + + + Exact Numerics + + + + System Functions + + + + Hierarchy Id Functions + + + + Mathematical Functions + + + + Metadata Functions + + + + Other Data Types + + + + Other Functions + + + + Rowset Functions + + + + Security Functions + + + + Spatial Data Types + + + + String Functions + + + + System Statistical Functions + + + + Text and Image Functions + + + + Unicode Character Strings + + + + Aggregate Functions + + + + Scalar-valued Functions + + + + Table-valued Functions + + + + System Extended Stored Procedures + + + + Built-in Types + + + + Built-in Server Roles + + + + User with Password + + + + Search Property List + + + + Security Policies + + + + Security Predicates + + + + Server Role + + + + Search Property Lists + + + + Column Store Indexes + + + + Table Type Indexes + + + + Server + + + + Selective XML Indexes + + + + XML Namespaces + + + + XML Typed Promoted Paths + + + + T-SQL Typed Promoted Paths + + + + Database Scoped Credentials + + + + External Data Sources + + + + External File Formats + + + + External Resources + + + + External Tables + + + + Always Encrypted Keys + + + + Column Master Keys + + + + Column Encryption Keys + + + + {0} ({1}, {2}, {3}) + + + + No default + + + + Input + + + + Input/Output + + + + Input/ReadOnly + + + + Input/Output/ReadOnly + + + + Default + + + + null + + + + not null + + + + {0} ({1}, {2}) + + + + {0} ({1}) + + + + {0} ({1}Computed, {2}, {3}) + + + + {0} ({1}Computed) + + + + {0} (Column Set, {1}) + + + + {0} (Column Set, {1}{2}, {3}) + + + + {0} (Column Set, {1}, {2}, {3}) + + + + Unique + + + + Non-Unique + + + + Clustered + + + + Non-Clustered + + + + History + + + + System-Versioned + + + + External + + + + File Table + + + + The database {0} is not accessible. + + + + Error parsing ScriptingParams.ConnectionString property. + + + + Invalid directory specified by the ScriptingParams.FilePath property. + + + + Error parsing ScriptingListObjectsCompleteParams.ConnectionString property. + + + + -- TODO: Set parameter values here. + + + + An error occurred while scripting the objects. + + + + Scripting as Execute is only supported for Stored Procedures + + + + Unavailable + + + + Current default filegroup: {0} + + + + New Filegroup for {0} + + + + Default + + + + Files + + + + Name + + + + Read-Only + + + + Autogrowth / Maxsize + + + + ... + + + + &lt;default&gt; + + + + Filegroup + + + + Logical Name + + + + File Type + + + + Initial Size (MB) + + + + &lt;new filegroup&gt; + + + + Path + + + + File Name + + + + &lt;raw device&gt; + + + + Bulk-logged + + + + Full + + + + Simple + + + + Select Database Owner + + + + None + + + + By {0} MB, Limited to {1} MB + + + + By {0} percent, Limited to {1} MB + + + + By {0} MB, Unlimited + + + + By {0} percent, Unlimited + + + + Unlimited + + + + Limited to {0} MB + + + + Automatic + + + + Service Broker + + + + Collation + + + + Cursor + + + + Miscellaneous + + + + Recovery + + + + State + + + + ANSI NULL Default + + + + ANSI NULLS Enabled + + + + ANSI Padding Enabled + + + + ANSI Warnings Enabled + + + + Arithmetic Abort Enabled + + + + Auto Close + + + + Auto Create Statistics + + + + Auto Shrink + + + + Auto Update Statistics + + + + Auto Update Statistics Asynchronously + + + + Case Sensitive + + + + Close Cursor on Commit Enabled + + + + Collation + + + + Concatenate Null Yields Null + + + + Database Compatibility Level + + + + Database State + + + + Default Cursor + + + + Full-Text Indexing Enabled + + + + Numeric Round-Abort + + + + Page Verify + + + + Quoted Identifiers Enabled + + + + Database Read-Only + + + + Recursive Triggers Enabled + + + + Restrict Access + + + + Select Into/Bulk Copy + + + + Honor Broker Priority + + + + Service Broker Identifier + + + + Broker Enabled + + + + Truncate Log on Checkpoint + + + + Cross-database Ownership Chaining Enabled + + + + Trustworthy + + + + Date Correlation Optimization Enabled + + + + Parameterization + + + + Forced + + + + Simple + + + + ROWS Data + + + + LOG + + + + FILESTREAM Data + + + + Not Applicable + + + + &lt;default path&gt; + + + + Open Connections + + + + To change the database properties, SQL Server must close all other connections to the database_ Are you sure you want to change the properties and close all other connections? + + + + AUTO_CLOSED + + + + EMERGENCY + + + + INACCESSIBLE + + + + NORMAL + + + + OFFLINE + + + + RECOVERING + + + + RECOVERY PENDING + + + + RESTORING + + + + SHUTDOWN + + + + STANDBY + + + + SUSPECT + + + + GLOBAL + + + + LOCAL + + + + MULTI_USER + + + + RESTRICTED_USER + + + + SINGLE_USER + + + + CHECKSUM + + + + NONE + + + + TORN_PAGE_DETECTION + + + + VarDecimal Storage Format Enabled + + + + SQL Server 2008 (100) + + + + Encryption Enabled + + + + OFF + + + + ON + + + + PRIMARY + + + + For the distribution policy HASH, the number of leading hash columns is optional but should be from 1 to 16 columns + + + + SQL Server 2012 (110) + + + + SQL Server 2014 (120) + + + + SQL Server 2016 (130) + + + + SQL Server vNext (140) + + + + None + + + + Partial + + + + FILESTREAM Files + + + + No Applicable Filegroup + + + + Never + + + + Path {0} is not a valid directory + + + + For directory {0} a file with name {1} already exists + + + + Backup Database + + + + Please provide a file path instead of directory path + + + + The provided path is invalid + + + + In progress + + + + Completed + + + + Specifying this option when restoring a backup with the NORECOVERY option is not permitted. + + + + Invalid path for database file: '{0}' + + + + Log + + + + Failed to create restore plan + + + + Restore database is not supported + + + + Restore Database + + + + (Copy Only) + + + + Component + + + + Name + + + + Type + + + + Server + + + + Database + + + + Position + + + + First LSN + + + + Last LSN + + + + Checkpoint LSN + + + + Full LSN + + + + Start Date + + + + Finish Date + + + + Size + + + + User Name + + + + Expiration + + + + The last backup taken ({0}) + + + + No backupset selected to be restored + + + + scripting + + + + Cannot access the specified path on the server: {0} + + + + Connection not found + + + diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/sr.ru.resx b/external/Microsoft.SqlTools.CoreServices/Localization/sr.ru.resx similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/sr.ru.resx rename to external/Microsoft.SqlTools.CoreServices/Localization/sr.ru.resx diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/sr.strings b/external/Microsoft.SqlTools.CoreServices/Localization/sr.strings similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/sr.strings rename to external/Microsoft.SqlTools.CoreServices/Localization/sr.strings diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/sr.xlf b/external/Microsoft.SqlTools.CoreServices/Localization/sr.xlf similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/sr.xlf rename to external/Microsoft.SqlTools.CoreServices/Localization/sr.xlf diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/sr.zh-hans.resx b/external/Microsoft.SqlTools.CoreServices/Localization/sr.zh-hans.resx similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/sr.zh-hans.resx rename to external/Microsoft.SqlTools.CoreServices/Localization/sr.zh-hans.resx diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/sr.zh-hant.resx b/external/Microsoft.SqlTools.CoreServices/Localization/sr.zh-hant.resx similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/sr.zh-hant.resx rename to external/Microsoft.SqlTools.CoreServices/Localization/sr.zh-hant.resx diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.de.xlf b/external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.de.xlf similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.de.xlf rename to external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.de.xlf diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.es.xlf b/external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.es.xlf similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.es.xlf rename to external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.es.xlf diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.fr.xlf b/external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.fr.xlf similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.fr.xlf rename to external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.fr.xlf diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.it.xlf b/external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.it.xlf similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.it.xlf rename to external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.it.xlf diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.ja.xlf b/external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.ja.xlf similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.ja.xlf rename to external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.ja.xlf diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.ko.xlf b/external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.ko.xlf similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.ko.xlf rename to external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.ko.xlf diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.pt-BR.xlf b/external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.pt-BR.xlf similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.pt-BR.xlf rename to external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.pt-BR.xlf diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.ru.xlf b/external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.ru.xlf similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.ru.xlf rename to external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.ru.xlf diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.zh-hans.xlf b/external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.zh-hans.xlf similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.zh-hans.xlf rename to external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.zh-hans.xlf diff --git a/src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.zh-hant.xlf b/external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.zh-hant.xlf similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.zh-hant.xlf rename to external/Microsoft.SqlTools.CoreServices/Localization/transXliff/sr.zh-hant.xlf diff --git a/src/Microsoft.SqlTools.CoreServices/Microsoft.SqlTools.CoreServices.csproj b/external/Microsoft.SqlTools.CoreServices/Microsoft.SqlTools.CoreServices.csproj similarity index 97% rename from src/Microsoft.SqlTools.CoreServices/Microsoft.SqlTools.CoreServices.csproj rename to external/Microsoft.SqlTools.CoreServices/Microsoft.SqlTools.CoreServices.csproj index 1a7852de..f63c9669 100644 --- a/src/Microsoft.SqlTools.CoreServices/Microsoft.SqlTools.CoreServices.csproj +++ b/external/Microsoft.SqlTools.CoreServices/Microsoft.SqlTools.CoreServices.csproj @@ -1,32 +1,32 @@ - - - Library - netstandard2.0 - Microsoft.SqlTools.CoreServices - Microsoft.SqlTools.CoreServices - false - - - � Microsoft Corporation. All rights reserved. - - A collection of core services that can be reused by a Database Management Protocol-based service using the Microsoft.SqlTools.Hosting framework. - - $(PackageDescription) - - - - - - - - - - - - - - - - - - + + + Library + netstandard2.0 + Microsoft.SqlTools.CoreServices + Microsoft.SqlTools.CoreServices + false + + + � Microsoft Corporation. All rights reserved. + + A collection of core services that can be reused by a Database Management Protocol-based service using the Microsoft.SqlTools.Hosting framework. + + $(PackageDescription) + + + + + + + + + + + + + + + + + + diff --git a/src/Microsoft.SqlTools.CoreServices/Properties/AssemblyInfo.cs b/external/Microsoft.SqlTools.CoreServices/Properties/AssemblyInfo.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Properties/AssemblyInfo.cs rename to external/Microsoft.SqlTools.CoreServices/Properties/AssemblyInfo.cs diff --git a/src/Microsoft.SqlTools.CoreServices/SqlContext/CompoundSqlToolsSettingsValues.cs b/external/Microsoft.SqlTools.CoreServices/SqlContext/CompoundSqlToolsSettingsValues.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/SqlContext/CompoundSqlToolsSettingsValues.cs rename to external/Microsoft.SqlTools.CoreServices/SqlContext/CompoundSqlToolsSettingsValues.cs diff --git a/src/Microsoft.SqlTools.CoreServices/SqlContext/ISqlToolsSettingsValues.cs b/external/Microsoft.SqlTools.CoreServices/SqlContext/ISqlToolsSettingsValues.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/SqlContext/ISqlToolsSettingsValues.cs rename to external/Microsoft.SqlTools.CoreServices/SqlContext/ISqlToolsSettingsValues.cs diff --git a/src/Microsoft.SqlTools.CoreServices/SqlContext/IntelliSenseSettings.cs b/external/Microsoft.SqlTools.CoreServices/SqlContext/IntelliSenseSettings.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/SqlContext/IntelliSenseSettings.cs rename to external/Microsoft.SqlTools.CoreServices/SqlContext/IntelliSenseSettings.cs diff --git a/src/Microsoft.SqlTools.CoreServices/SqlContext/ObjectExplorerSettings.cs b/external/Microsoft.SqlTools.CoreServices/SqlContext/ObjectExplorerSettings.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/SqlContext/ObjectExplorerSettings.cs rename to external/Microsoft.SqlTools.CoreServices/SqlContext/ObjectExplorerSettings.cs diff --git a/src/Microsoft.SqlTools.CoreServices/SqlContext/SqlToolsSettings.cs b/external/Microsoft.SqlTools.CoreServices/SqlContext/SqlToolsSettings.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/SqlContext/SqlToolsSettings.cs rename to external/Microsoft.SqlTools.CoreServices/SqlContext/SqlToolsSettings.cs diff --git a/src/Microsoft.SqlTools.CoreServices/SqlContext/SqlToolsSettingsValues.cs b/external/Microsoft.SqlTools.CoreServices/SqlContext/SqlToolsSettingsValues.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/SqlContext/SqlToolsSettingsValues.cs rename to external/Microsoft.SqlTools.CoreServices/SqlContext/SqlToolsSettingsValues.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Utility/CommonConstants.cs b/external/Microsoft.SqlTools.CoreServices/Utility/CommonConstants.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Utility/CommonConstants.cs rename to external/Microsoft.SqlTools.CoreServices/Utility/CommonConstants.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Utility/DatabaseUtils.cs b/external/Microsoft.SqlTools.CoreServices/Utility/DatabaseUtils.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Utility/DatabaseUtils.cs rename to external/Microsoft.SqlTools.CoreServices/Utility/DatabaseUtils.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Utility/InteractionMetrics.cs b/external/Microsoft.SqlTools.CoreServices/Utility/InteractionMetrics.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Utility/InteractionMetrics.cs rename to external/Microsoft.SqlTools.CoreServices/Utility/InteractionMetrics.cs diff --git a/src/Microsoft.SqlTools.CoreServices/Workspace/SettingsService.cs b/external/Microsoft.SqlTools.CoreServices/Workspace/SettingsService.cs similarity index 100% rename from src/Microsoft.SqlTools.CoreServices/Workspace/SettingsService.cs rename to external/Microsoft.SqlTools.CoreServices/Workspace/SettingsService.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/AssemblyInfo.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/AssemblyInfo.cs similarity index 93% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/AssemblyInfo.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/AssemblyInfo.cs index 18de488c..2b05fd77 100644 --- a/src/Microsoft.SqlTools.DataProtocol.Contracts/AssemblyInfo.cs +++ b/external/Microsoft.SqlTools.DataProtocol.Contracts/AssemblyInfo.cs @@ -1,3 +1,3 @@ -using System.Runtime.CompilerServices; - +using System.Runtime.CompilerServices; + [assembly: InternalsVisibleTo("Microsoft.SqlTools.Hosting.UnitTests")] \ No newline at end of file diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/ClientCapabilities.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/ClientCapabilities.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/ClientCapabilities.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/ClientCapabilities.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/DynamicRegistrationCapability.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/DynamicRegistrationCapability.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/DynamicRegistrationCapability.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/DynamicRegistrationCapability.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/CodeAction.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/CodeAction.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/CodeAction.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/CodeAction.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/CodeLens.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/CodeLens.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/CodeLens.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/CodeLens.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/ColorProvider.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/ColorProvider.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/ColorProvider.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/ColorProvider.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Completion.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Completion.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Completion.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Completion.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Definition.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Definition.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Definition.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Definition.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/DocumentHighlight.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/DocumentHighlight.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/DocumentHighlight.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/DocumentHighlight.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/DocumentLink.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/DocumentLink.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/DocumentLink.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/DocumentLink.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/DocumentSymbol.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/DocumentSymbol.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/DocumentSymbol.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/DocumentSymbol.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Formatting.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Formatting.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Formatting.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Formatting.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Hover.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Hover.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Hover.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Hover.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Implementation.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Implementation.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Implementation.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Implementation.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/OnTypeFormatting.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/OnTypeFormatting.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/OnTypeFormatting.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/OnTypeFormatting.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/PublishDignostics.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/PublishDignostics.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/PublishDignostics.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/PublishDignostics.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/RangeFormatting.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/RangeFormatting.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/RangeFormatting.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/RangeFormatting.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/References.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/References.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/References.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/References.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Rename.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Rename.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Rename.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Rename.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/SignatureHelp.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/SignatureHelp.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/SignatureHelp.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/SignatureHelp.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Synchronization.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Synchronization.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Synchronization.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/Synchronization.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/TextDocumentCapabilities.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/TextDocumentCapabilities.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/TextDocumentCapabilities.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/TextDocumentCapabilities.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/TypeDefinition.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/TypeDefinition.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/TypeDefinition.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/TextDocument/TypeDefinition.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/DidChangeConfiguration.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/DidChangeConfiguration.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/DidChangeConfiguration.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/DidChangeConfiguration.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/DidChangeWatchedFiles.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/DidChangeWatchedFiles.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/DidChangeWatchedFiles.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/DidChangeWatchedFiles.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/ExecuteCommand.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/ExecuteCommand.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/ExecuteCommand.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/ExecuteCommand.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/Symbol.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/Symbol.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/Symbol.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/Symbol.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/WorkspaceCapabilities.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/WorkspaceCapabilities.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/WorkspaceCapabilities.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/WorkspaceCapabilities.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/WorkspaceEdit.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/WorkspaceEdit.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/WorkspaceEdit.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ClientCapabilities/Workspace/WorkspaceEdit.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Common/CompletionItemKind.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Common/CompletionItemKind.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Common/CompletionItemKind.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Common/CompletionItemKind.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Common/MarkupKind.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Common/MarkupKind.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Common/MarkupKind.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Common/MarkupKind.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Common/SymbolKinds.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Common/SymbolKinds.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Common/SymbolKinds.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Common/SymbolKinds.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Common/WorkspaceFolder.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Common/WorkspaceFolder.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Common/WorkspaceFolder.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Common/WorkspaceFolder.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/CancelConnectParams.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/CancelConnectParams.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/CancelConnectParams.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/CancelConnectParams.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/CancelConnectRequest.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/CancelConnectRequest.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/CancelConnectRequest.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/CancelConnectRequest.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ChangeDatabaseParams.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ChangeDatabaseParams.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ChangeDatabaseParams.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ChangeDatabaseParams.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ChangeDatabaseRequest.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ChangeDatabaseRequest.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ChangeDatabaseRequest.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ChangeDatabaseRequest.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectParams.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectParams.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectParams.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectParams.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionChangedNotification.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionChangedNotification.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionChangedNotification.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionChangedNotification.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionChangedParams.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionChangedParams.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionChangedParams.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionChangedParams.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionCompleteNotification.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionCompleteNotification.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionCompleteNotification.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionCompleteNotification.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionDetails.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionDetails.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionDetails.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionDetails.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionDetailsExtensions.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionDetailsExtensions.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionDetailsExtensions.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionDetailsExtensions.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionRequest.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionRequest.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionRequest.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionRequest.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionSummary.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionSummary.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionSummary.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionSummary.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionSummaryComparer.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionSummaryComparer.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionSummaryComparer.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionSummaryComparer.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionSummaryExtensions.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionSummaryExtensions.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionSummaryExtensions.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionSummaryExtensions.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionType.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionType.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionType.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ConnectionType.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/DisconnectParams.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/DisconnectParams.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/DisconnectParams.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/DisconnectParams.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/DisconnectRequest.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/DisconnectRequest.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/DisconnectRequest.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/DisconnectRequest.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/LanguageFlavorChange.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/LanguageFlavorChange.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/LanguageFlavorChange.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/LanguageFlavorChange.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ListDatabasesParams.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ListDatabasesParams.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ListDatabasesParams.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ListDatabasesParams.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ListDatabasesRequest.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ListDatabasesRequest.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ListDatabasesRequest.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ListDatabasesRequest.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ListDatabasesResponse.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ListDatabasesResponse.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ListDatabasesResponse.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ListDatabasesResponse.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ServerInfo.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ServerInfo.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ServerInfo.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Connection/ServerInfo.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/CloseSessionRequest.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/CloseSessionRequest.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/CloseSessionRequest.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/CloseSessionRequest.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/CreateSessionRequest.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/CreateSessionRequest.cs similarity index 97% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/CreateSessionRequest.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/CreateSessionRequest.cs index 0d8648ca..e034e978 100644 --- a/src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/CreateSessionRequest.cs +++ b/external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/CreateSessionRequest.cs @@ -1,65 +1,65 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. -// - -using Microsoft.SqlTools.Hosting.Contracts; -using Microsoft.SqlTools.DataProtocol.Contracts.Connection; - -namespace Microsoft.SqlTools.DataProtocol.Contracts.Explorer -{ - /// - /// Information returned from a . - /// Contains success information, a to be used when - /// requesting expansion of nodes, and a root node to display for this area. - /// - public class CreateSessionResponse - { - /// - /// Unique ID to use when sending any requests for objects in the - /// tree under the node - /// - public string SessionId { get; set; } - - } - - /// - /// Information returned from a . - /// Contains success information, a to be used when - /// requesting expansion of nodes, and a root node to display for this area. - /// - public class SessionCreatedParameters - { - /// - /// Boolean indicating if the connection was successful - /// - public bool Success { get; set; } - - /// - /// Unique ID to use when sending any requests for objects in the - /// tree under the node - /// - public string SessionId { get; set; } - - /// - /// Information describing the base node in the tree - /// - public NodeInfo RootNode { get; set; } - - - /// - /// Error message returned from the engine for a object explorer session failure reason, if any. - /// - public string ErrorMessage { get; set; } - } - - /// - /// Session notification mapping entry - /// - public class CreateSessionCompleteNotification - { - public static readonly - EventType Type = - EventType.Create("explorer/sessioncreated"); - } -} +// +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// + +using Microsoft.SqlTools.Hosting.Contracts; +using Microsoft.SqlTools.DataProtocol.Contracts.Connection; + +namespace Microsoft.SqlTools.DataProtocol.Contracts.Explorer +{ + /// + /// Information returned from a . + /// Contains success information, a to be used when + /// requesting expansion of nodes, and a root node to display for this area. + /// + public class CreateSessionResponse + { + /// + /// Unique ID to use when sending any requests for objects in the + /// tree under the node + /// + public string SessionId { get; set; } + + } + + /// + /// Information returned from a . + /// Contains success information, a to be used when + /// requesting expansion of nodes, and a root node to display for this area. + /// + public class SessionCreatedParameters + { + /// + /// Boolean indicating if the connection was successful + /// + public bool Success { get; set; } + + /// + /// Unique ID to use when sending any requests for objects in the + /// tree under the node + /// + public string SessionId { get; set; } + + /// + /// Information describing the base node in the tree + /// + public NodeInfo RootNode { get; set; } + + + /// + /// Error message returned from the engine for a object explorer session failure reason, if any. + /// + public string ErrorMessage { get; set; } + } + + /// + /// Session notification mapping entry + /// + public class CreateSessionCompleteNotification + { + public static readonly + EventType Type = + EventType.Create("explorer/sessioncreated"); + } +} diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/ExpandRequest.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/ExpandRequest.cs similarity index 96% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/ExpandRequest.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/ExpandRequest.cs index 670778cf..bc271ee3 100644 --- a/src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/ExpandRequest.cs +++ b/external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/ExpandRequest.cs @@ -1,76 +1,76 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. -// - -using Microsoft.SqlTools.Hosting.Contracts; - -namespace Microsoft.SqlTools.DataProtocol.Contracts.Explorer -{ - /// - /// Information returned from a . - /// - public class ExpandResponse - { - /// - /// Unique ID to use when sending any requests for objects in the - /// tree under the node - /// - public string SessionId { get; set; } - - /// - /// Information describing the expanded nodes in the tree - /// - public NodeInfo[] Nodes { get; set; } - - /// - /// Path identifying the node to expand. See for details - /// - public string NodePath { get; set; } - - /// - /// Error message returned from the engine for a object explorer expand failure reason, if any. - /// - public string ErrorMessage { get; set; } - } - - /// - /// Parameters to the . - /// - public class ExpandParams - { - /// - /// The Id returned from a . This - /// is used to disambiguate between different trees. - /// - public string SessionId { get; set; } - - /// - /// Path identifying the node to expand. See for details - /// - public string NodePath { get; set; } - } - - /// - /// A request to expand a node in the tree - /// - public class ExpandRequest - { - /// - /// Returns children of a given node as a array. - /// - public static readonly - RequestType Type = - RequestType.Create("explorer/expand"); - } - - /// - /// Expand notification mapping entry - /// - public class ExpandCompleteNotification - { - public static readonly - EventType Type = - EventType.Create("explorer/expandCompleted"); - } -} +// +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// + +using Microsoft.SqlTools.Hosting.Contracts; + +namespace Microsoft.SqlTools.DataProtocol.Contracts.Explorer +{ + /// + /// Information returned from a . + /// + public class ExpandResponse + { + /// + /// Unique ID to use when sending any requests for objects in the + /// tree under the node + /// + public string SessionId { get; set; } + + /// + /// Information describing the expanded nodes in the tree + /// + public NodeInfo[] Nodes { get; set; } + + /// + /// Path identifying the node to expand. See for details + /// + public string NodePath { get; set; } + + /// + /// Error message returned from the engine for a object explorer expand failure reason, if any. + /// + public string ErrorMessage { get; set; } + } + + /// + /// Parameters to the . + /// + public class ExpandParams + { + /// + /// The Id returned from a . This + /// is used to disambiguate between different trees. + /// + public string SessionId { get; set; } + + /// + /// Path identifying the node to expand. See for details + /// + public string NodePath { get; set; } + } + + /// + /// A request to expand a node in the tree + /// + public class ExpandRequest + { + /// + /// Returns children of a given node as a array. + /// + public static readonly + RequestType Type = + RequestType.Create("explorer/expand"); + } + + /// + /// Expand notification mapping entry + /// + public class ExpandCompleteNotification + { + public static readonly + EventType Type = + EventType.Create("explorer/expandCompleted"); + } +} diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/FindNodesRequest.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/FindNodesRequest.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/FindNodesRequest.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/FindNodesRequest.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/NodeInfo.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/NodeInfo.cs similarity index 97% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/NodeInfo.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/NodeInfo.cs index 3f82a247..6a12a0df 100644 --- a/src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/NodeInfo.cs +++ b/external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/NodeInfo.cs @@ -1,63 +1,63 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. -// - - -using Microsoft.SqlTools.DataProtocol.Contracts.Metadata; - -namespace Microsoft.SqlTools.DataProtocol.Contracts.Explorer -{ - /// - /// Information describing a Node in the Object Explorer tree. - /// Contains information required to display the Node to the user and - /// to know whether actions such as expanding children is possible - /// the node - /// - public class NodeInfo - { - /// - /// Path identifying this node: for example a table will be at ["server", "database", "tables", "tableName"]. - /// This enables rapid navigation of the tree without the need for a global registry of elements. - /// The path functions as a unique ID and is used to disambiguate the node when sending requests for expansion. - /// A common ID is needed since processes do not share address space and need a unique identifier - /// - public string NodePath { get; set; } - - /// - /// The type of the node - for example Server, Database, Folder, Table - /// - public string NodeType { get; set; } - - /// - /// Label to display to the user, describing this node. - /// - public string Label { get; set; } - - /// - /// Node Sub type - for example a key can have type as "Key" and sub type as "PrimaryKey" - /// - public string NodeSubType { get; set; } - - /// - /// Node status - for example login can be disabled/enabled - /// - public string NodeStatus { get; set; } - - /// - /// Is this a leaf node (in which case no children can be generated) or - /// is it expandable? - /// - public bool IsLeaf { get; set; } - - /// - /// Object Metadata for smo objects to be used for scripting - /// - public ObjectMetadata Metadata { get; set; } - - /// - /// Error message returned from the engine for a object explorer node failure reason, if any. - /// - public string ErrorMessage { get; set; } - } -} +// +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// + + +using Microsoft.SqlTools.DataProtocol.Contracts.Metadata; + +namespace Microsoft.SqlTools.DataProtocol.Contracts.Explorer +{ + /// + /// Information describing a Node in the Object Explorer tree. + /// Contains information required to display the Node to the user and + /// to know whether actions such as expanding children is possible + /// the node + /// + public class NodeInfo + { + /// + /// Path identifying this node: for example a table will be at ["server", "database", "tables", "tableName"]. + /// This enables rapid navigation of the tree without the need for a global registry of elements. + /// The path functions as a unique ID and is used to disambiguate the node when sending requests for expansion. + /// A common ID is needed since processes do not share address space and need a unique identifier + /// + public string NodePath { get; set; } + + /// + /// The type of the node - for example Server, Database, Folder, Table + /// + public string NodeType { get; set; } + + /// + /// Label to display to the user, describing this node. + /// + public string Label { get; set; } + + /// + /// Node Sub type - for example a key can have type as "Key" and sub type as "PrimaryKey" + /// + public string NodeSubType { get; set; } + + /// + /// Node status - for example login can be disabled/enabled + /// + public string NodeStatus { get; set; } + + /// + /// Is this a leaf node (in which case no children can be generated) or + /// is it expandable? + /// + public bool IsLeaf { get; set; } + + /// + /// Object Metadata for smo objects to be used for scripting + /// + public ObjectMetadata Metadata { get; set; } + + /// + /// Error message returned from the engine for a object explorer node failure reason, if any. + /// + public string ErrorMessage { get; set; } + } +} diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/RefreshRequest.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/RefreshRequest.cs similarity index 96% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/RefreshRequest.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/RefreshRequest.cs index e9099aee..1a257b84 100644 --- a/src/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/RefreshRequest.cs +++ b/external/Microsoft.SqlTools.DataProtocol.Contracts/Explorer/RefreshRequest.cs @@ -1,29 +1,29 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. -// - -using Microsoft.SqlTools.Hosting.Contracts; - -namespace Microsoft.SqlTools.DataProtocol.Contracts.Explorer -{ - /// - /// Parameters to the . - /// - public class RefreshParams: ExpandParams - { - } - - /// - /// A request to expand a - /// - public class RefreshRequest - { - /// - /// Returns children of a given node as a array. - /// - public static readonly - RequestType Type = - RequestType.Create("explorer/refresh"); - } -} +// +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// + +using Microsoft.SqlTools.Hosting.Contracts; + +namespace Microsoft.SqlTools.DataProtocol.Contracts.Explorer +{ + /// + /// Parameters to the . + /// + public class RefreshParams: ExpandParams + { + } + + /// + /// A request to expand a + /// + public class RefreshRequest + { + /// + /// Returns children of a given node as a array. + /// + public static readonly + RequestType Type = + RequestType.Create("explorer/refresh"); + } +} diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/GeneralRequestDetails.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/GeneralRequestDetails.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/GeneralRequestDetails.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/GeneralRequestDetails.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/InitializeRequest.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/InitializeRequest.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/InitializeRequest.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/InitializeRequest.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/InitializeRequestWithOptions.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/InitializeRequestWithOptions.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/InitializeRequestWithOptions.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/InitializeRequestWithOptions.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Metadata/ObjectMetadata.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Metadata/ObjectMetadata.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Metadata/ObjectMetadata.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Metadata/ObjectMetadata.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Microsoft.SqlTools.DataProtocol.Contracts.csproj b/external/Microsoft.SqlTools.DataProtocol.Contracts/Microsoft.SqlTools.DataProtocol.Contracts.csproj similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Microsoft.SqlTools.DataProtocol.Contracts.csproj rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Microsoft.SqlTools.DataProtocol.Contracts.csproj diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/CodeLensOptions.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/CodeLensOptions.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/CodeLensOptions.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/CodeLensOptions.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/CompletionOptions.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/CompletionOptions.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/CompletionOptions.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/CompletionOptions.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/DocumentLinkOptions.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/DocumentLinkOptions.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/DocumentLinkOptions.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/DocumentLinkOptions.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/DocumentOnTypeFormattingOptions.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/DocumentOnTypeFormattingOptions.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/DocumentOnTypeFormattingOptions.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/DocumentOnTypeFormattingOptions.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/ExecuteCommandOptions.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/ExecuteCommandOptions.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/ExecuteCommandOptions.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/ExecuteCommandOptions.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/SaveOptions.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/SaveOptions.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/SaveOptions.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/SaveOptions.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/ServerCapabilities.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/ServerCapabilities.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/ServerCapabilities.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/ServerCapabilities.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/SignatureHelpOptions.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/SignatureHelpOptions.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/SignatureHelpOptions.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/SignatureHelpOptions.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/TextDocument.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/TextDocument.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/TextDocument.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/TextDocument.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/Workspace.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/Workspace.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/Workspace.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/ServerCapabilities/Workspace.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/FlagsIntConverter.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/FlagsIntConverter.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/FlagsIntConverter.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/FlagsIntConverter.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/FlagsStringConverter.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/FlagsStringConverter.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/FlagsStringConverter.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/FlagsStringConverter.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/NullableUtils.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/NullableUtils.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/NullableUtils.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/NullableUtils.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/Union.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/Union.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/Union.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Utilities/Union.cs diff --git a/src/Microsoft.SqlTools.DataProtocol.Contracts/Workspace/Configuration.cs b/external/Microsoft.SqlTools.DataProtocol.Contracts/Workspace/Configuration.cs similarity index 100% rename from src/Microsoft.SqlTools.DataProtocol.Contracts/Workspace/Configuration.cs rename to external/Microsoft.SqlTools.DataProtocol.Contracts/Workspace/Configuration.cs diff --git a/src/Microsoft.SqlTools.Hosting.Contracts/EventType.cs b/external/Microsoft.SqlTools.Hosting.Contracts/EventType.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.Contracts/EventType.cs rename to external/Microsoft.SqlTools.Hosting.Contracts/EventType.cs diff --git a/src/Microsoft.SqlTools.Hosting.Contracts/Internal/Error.cs b/external/Microsoft.SqlTools.Hosting.Contracts/Internal/Error.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.Contracts/Internal/Error.cs rename to external/Microsoft.SqlTools.Hosting.Contracts/Internal/Error.cs diff --git a/src/Microsoft.SqlTools.Hosting.Contracts/Internal/ExitNotification.cs b/external/Microsoft.SqlTools.Hosting.Contracts/Internal/ExitNotification.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.Contracts/Internal/ExitNotification.cs rename to external/Microsoft.SqlTools.Hosting.Contracts/Internal/ExitNotification.cs diff --git a/src/Microsoft.SqlTools.Hosting.Contracts/Internal/HostingErrorNotification.cs b/external/Microsoft.SqlTools.Hosting.Contracts/Internal/HostingErrorNotification.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.Contracts/Internal/HostingErrorNotification.cs rename to external/Microsoft.SqlTools.Hosting.Contracts/Internal/HostingErrorNotification.cs diff --git a/src/Microsoft.SqlTools.Hosting.Contracts/Internal/ShutdownRequest.cs b/external/Microsoft.SqlTools.Hosting.Contracts/Internal/ShutdownRequest.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.Contracts/Internal/ShutdownRequest.cs rename to external/Microsoft.SqlTools.Hosting.Contracts/Internal/ShutdownRequest.cs diff --git a/src/Microsoft.SqlTools.Hosting.Contracts/Microsoft.SqlTools.Hosting.Contracts.csproj b/external/Microsoft.SqlTools.Hosting.Contracts/Microsoft.SqlTools.Hosting.Contracts.csproj similarity index 100% rename from src/Microsoft.SqlTools.Hosting.Contracts/Microsoft.SqlTools.Hosting.Contracts.csproj rename to external/Microsoft.SqlTools.Hosting.Contracts/Microsoft.SqlTools.Hosting.Contracts.csproj diff --git a/src/Microsoft.SqlTools.Hosting.Contracts/RequestType.cs b/external/Microsoft.SqlTools.Hosting.Contracts/RequestType.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.Contracts/RequestType.cs rename to external/Microsoft.SqlTools.Hosting.Contracts/RequestType.cs diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/CommonObjects.cs b/external/Microsoft.SqlTools.Hosting.UnitTests/CommonObjects.cs similarity index 99% rename from test/Microsoft.SqlTools.Hosting.UnitTests/CommonObjects.cs rename to external/Microsoft.SqlTools.Hosting.UnitTests/CommonObjects.cs index 3ba56157..94f6e2f4 100644 --- a/test/Microsoft.SqlTools.Hosting.UnitTests/CommonObjects.cs +++ b/external/Microsoft.SqlTools.Hosting.UnitTests/CommonObjects.cs @@ -8,8 +8,8 @@ using Microsoft.SqlTools.Hosting.Contracts; using Microsoft.SqlTools.Hosting.Contracts.Internal; using Microsoft.SqlTools.Hosting.Protocol; using Newtonsoft.Json.Linq; -using NUnit.Framework.Interfaces; - +using NUnit.Framework.Interfaces; + namespace Microsoft.SqlTools.Hosting.UnitTests { public static class CommonObjects @@ -52,14 +52,14 @@ namespace Microsoft.SqlTools.Hosting.UnitTests && Number == other.Number; } - public override bool Equals(object obj) - { - return Equals(obj as TestMessageContents); + public override bool Equals(object obj) + { + return Equals(obj as TestMessageContents); } - public override int GetHashCode() - { - return SomeField.GetHashCode() ^ Number; + public override int GetHashCode() + { + return SomeField.GetHashCode() ^ Number; } public static bool operator ==(TestMessageContents obj1, TestMessageContents obj2) { diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/Contracts/Utilities/FlagsIntConverterTests.cs b/external/Microsoft.SqlTools.Hosting.UnitTests/Contracts/Utilities/FlagsIntConverterTests.cs similarity index 96% rename from test/Microsoft.SqlTools.Hosting.UnitTests/Contracts/Utilities/FlagsIntConverterTests.cs rename to external/Microsoft.SqlTools.Hosting.UnitTests/Contracts/Utilities/FlagsIntConverterTests.cs index 9e369e5e..4394f140 100644 --- a/test/Microsoft.SqlTools.Hosting.UnitTests/Contracts/Utilities/FlagsIntConverterTests.cs +++ b/external/Microsoft.SqlTools.Hosting.UnitTests/Contracts/Utilities/FlagsIntConverterTests.cs @@ -1,66 +1,66 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. -// - -using Microsoft.SqlTools.DataProtocol.Contracts.Utilities; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using System; -using NUnit.Framework; - -namespace Microsoft.SqlTools.Hosting.UnitTests.Contracts.Utilities -{ - [TestFixture] - public class FlagsIntConverterTests - { - [Test] - public void NullableValueCanBeDeserialized() - { - var jsonObject = JObject.Parse("{\"optionalValue\": [1, 2]}"); - var contract = jsonObject.ToObject(); - Assert.NotNull(contract); - Assert.NotNull(contract.OptionalValue); - Assert.AreEqual(TestFlags.FirstItem | TestFlags.SecondItem, contract.OptionalValue); - } - - [Test] - public void RegularValueCanBeDeserialized() - { - var jsonObject = JObject.Parse("{\"Value\": [1, 3]}"); - var contract = jsonObject.ToObject(); - Assert.NotNull(contract); - Assert.AreEqual(TestFlags.FirstItem | TestFlags.ThirdItem, contract.Value); - } - - [Test] - public void ExplicitNullCanBeDeserialized() - { - var jsonObject = JObject.Parse("{\"optionalValue\": null}"); - var contract = jsonObject.ToObject(); - Assert.NotNull(contract); - Assert.Null(contract.OptionalValue); - } - - [Flags] - [JsonConverter(typeof(FlagsIntConverter))] - private enum TestFlags - { - [FlagsIntConverter.SerializeValue(1)] - FirstItem = 1 << 0, - - [FlagsIntConverter.SerializeValue(2)] - SecondItem = 1 << 1, - - [FlagsIntConverter.SerializeValue(3)] - ThirdItem = 1 << 2, - } - - private class DataContract - { - public TestFlags? OptionalValue { get; set; } - - public TestFlags Value { get; set; } - } - } +// +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// + +using Microsoft.SqlTools.DataProtocol.Contracts.Utilities; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using System; +using NUnit.Framework; + +namespace Microsoft.SqlTools.Hosting.UnitTests.Contracts.Utilities +{ + [TestFixture] + public class FlagsIntConverterTests + { + [Test] + public void NullableValueCanBeDeserialized() + { + var jsonObject = JObject.Parse("{\"optionalValue\": [1, 2]}"); + var contract = jsonObject.ToObject(); + Assert.NotNull(contract); + Assert.NotNull(contract.OptionalValue); + Assert.AreEqual(TestFlags.FirstItem | TestFlags.SecondItem, contract.OptionalValue); + } + + [Test] + public void RegularValueCanBeDeserialized() + { + var jsonObject = JObject.Parse("{\"Value\": [1, 3]}"); + var contract = jsonObject.ToObject(); + Assert.NotNull(contract); + Assert.AreEqual(TestFlags.FirstItem | TestFlags.ThirdItem, contract.Value); + } + + [Test] + public void ExplicitNullCanBeDeserialized() + { + var jsonObject = JObject.Parse("{\"optionalValue\": null}"); + var contract = jsonObject.ToObject(); + Assert.NotNull(contract); + Assert.Null(contract.OptionalValue); + } + + [Flags] + [JsonConverter(typeof(FlagsIntConverter))] + private enum TestFlags + { + [FlagsIntConverter.SerializeValue(1)] + FirstItem = 1 << 0, + + [FlagsIntConverter.SerializeValue(2)] + SecondItem = 1 << 1, + + [FlagsIntConverter.SerializeValue(3)] + ThirdItem = 1 << 2, + } + + private class DataContract + { + public TestFlags? OptionalValue { get; set; } + + public TestFlags Value { get; set; } + } + } } \ No newline at end of file diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/Contracts/Utilities/FlagsStringConverterTests.cs b/external/Microsoft.SqlTools.Hosting.UnitTests/Contracts/Utilities/FlagsStringConverterTests.cs similarity index 96% rename from test/Microsoft.SqlTools.Hosting.UnitTests/Contracts/Utilities/FlagsStringConverterTests.cs rename to external/Microsoft.SqlTools.Hosting.UnitTests/Contracts/Utilities/FlagsStringConverterTests.cs index a73f2b10..fcc19f32 100644 --- a/test/Microsoft.SqlTools.Hosting.UnitTests/Contracts/Utilities/FlagsStringConverterTests.cs +++ b/external/Microsoft.SqlTools.Hosting.UnitTests/Contracts/Utilities/FlagsStringConverterTests.cs @@ -1,66 +1,66 @@ -// -// Copyright (c) Microsoft. All rights reserved. -// Licensed under the MIT license. See LICENSE file in the project root for full license information. -// - -using System; -using Microsoft.SqlTools.DataProtocol.Contracts.Utilities; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using NUnit.Framework; - -namespace Microsoft.SqlTools.Hosting.UnitTests.Contracts.Utilities -{ - [TestFixture] - public class FlagsStringConverterTests - { - [Test] - public void NullableValueCanBeDeserialized() - { - var jsonObject = JObject.Parse("{\"optionalValue\": [\"First\", \"Second\"]}"); - var contract = jsonObject.ToObject(); - Assert.NotNull(contract); - Assert.NotNull(contract.OptionalValue); - Assert.AreEqual(TestFlags.FirstItem | TestFlags.SecondItem, contract.OptionalValue); - } - - [Test] - public void RegularValueCanBeDeserialized() - { - var jsonObject = JObject.Parse("{\"Value\": [\"First\", \"Third\"]}"); - var contract = jsonObject.ToObject(); - Assert.NotNull(contract); - Assert.AreEqual(TestFlags.FirstItem | TestFlags.ThirdItem, contract.Value); - } - - [Test] - public void ExplicitNullCanBeDeserialized() - { - var jsonObject = JObject.Parse("{\"optionalValue\": null}"); - var contract = jsonObject.ToObject(); - Assert.NotNull(contract); - Assert.Null(contract.OptionalValue); - } - - [Flags] - [JsonConverter(typeof(FlagsStringConverter))] - private enum TestFlags - { - [FlagsStringConverter.SerializeValue("First")] - FirstItem = 1 << 0, - - [FlagsStringConverter.SerializeValue("Second")] - SecondItem = 1 << 1, - - [FlagsStringConverter.SerializeValue("Third")] - ThirdItem = 1 << 2, - } - - private class DataContract - { - public TestFlags? OptionalValue { get; set; } - - public TestFlags Value { get; set; } - } - } +// +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +// + +using System; +using Microsoft.SqlTools.DataProtocol.Contracts.Utilities; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using NUnit.Framework; + +namespace Microsoft.SqlTools.Hosting.UnitTests.Contracts.Utilities +{ + [TestFixture] + public class FlagsStringConverterTests + { + [Test] + public void NullableValueCanBeDeserialized() + { + var jsonObject = JObject.Parse("{\"optionalValue\": [\"First\", \"Second\"]}"); + var contract = jsonObject.ToObject(); + Assert.NotNull(contract); + Assert.NotNull(contract.OptionalValue); + Assert.AreEqual(TestFlags.FirstItem | TestFlags.SecondItem, contract.OptionalValue); + } + + [Test] + public void RegularValueCanBeDeserialized() + { + var jsonObject = JObject.Parse("{\"Value\": [\"First\", \"Third\"]}"); + var contract = jsonObject.ToObject(); + Assert.NotNull(contract); + Assert.AreEqual(TestFlags.FirstItem | TestFlags.ThirdItem, contract.Value); + } + + [Test] + public void ExplicitNullCanBeDeserialized() + { + var jsonObject = JObject.Parse("{\"optionalValue\": null}"); + var contract = jsonObject.ToObject(); + Assert.NotNull(contract); + Assert.Null(contract.OptionalValue); + } + + [Flags] + [JsonConverter(typeof(FlagsStringConverter))] + private enum TestFlags + { + [FlagsStringConverter.SerializeValue("First")] + FirstItem = 1 << 0, + + [FlagsStringConverter.SerializeValue("Second")] + SecondItem = 1 << 1, + + [FlagsStringConverter.SerializeValue("Third")] + ThirdItem = 1 << 2, + } + + private class DataContract + { + public TestFlags? OptionalValue { get; set; } + + public TestFlags Value { get; set; } + } + } } \ No newline at end of file diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/ExtensibilityTests/ServiceProviderTests.cs b/external/Microsoft.SqlTools.Hosting.UnitTests/ExtensibilityTests/ServiceProviderTests.cs similarity index 99% rename from test/Microsoft.SqlTools.Hosting.UnitTests/ExtensibilityTests/ServiceProviderTests.cs rename to external/Microsoft.SqlTools.Hosting.UnitTests/ExtensibilityTests/ServiceProviderTests.cs index f602cbe3..af3e57d9 100644 --- a/test/Microsoft.SqlTools.Hosting.UnitTests/ExtensibilityTests/ServiceProviderTests.cs +++ b/external/Microsoft.SqlTools.Hosting.UnitTests/ExtensibilityTests/ServiceProviderTests.cs @@ -68,7 +68,7 @@ namespace Microsoft.SqlTools.Hosting.UnitTests.ExtensibilityTests public void GetServicesShouldReturnRegisteredServiceWhenMultipleServicesRegistered() { MyProviderService service = new MyProviderService(); - provider.RegisterSingleService(service); + provider.RegisterSingleService(service); var returnedServices = provider.GetServices(); Assert.AreEqual(service, returnedServices.Single()); diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/Microsoft.SqlTools.Hosting.UnitTests.csproj b/external/Microsoft.SqlTools.Hosting.UnitTests/Microsoft.SqlTools.Hosting.UnitTests.csproj similarity index 100% rename from test/Microsoft.SqlTools.Hosting.UnitTests/Microsoft.SqlTools.Hosting.UnitTests.csproj rename to external/Microsoft.SqlTools.Hosting.UnitTests/Microsoft.SqlTools.Hosting.UnitTests.csproj diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/EventContextTests.cs b/external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/EventContextTests.cs similarity index 99% rename from test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/EventContextTests.cs rename to external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/EventContextTests.cs index 8efd32a4..0a81e700 100644 --- a/test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/EventContextTests.cs +++ b/external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/EventContextTests.cs @@ -4,7 +4,7 @@ // using System.Collections.Concurrent; -using System.Linq; +using System.Linq; using Microsoft.SqlTools.Hosting.Protocol; using NUnit.Framework; @@ -22,9 +22,9 @@ namespace Microsoft.SqlTools.Hosting.UnitTests.ProtocolTests // If: I construct an event context with a message writer // And send an event with it var eventContext = new EventContext(bc); - eventContext.SendEvent(CommonObjects.EventType, CommonObjects.TestMessageContents.DefaultInstance); - - // Then: The message should be added to the queue + eventContext.SendEvent(CommonObjects.EventType, CommonObjects.TestMessageContents.DefaultInstance); + + // Then: The message should be added to the queue var messages = bc.ToArray().Select(m => m.MessageType); Assert.That(messages, Is.EqualTo(new[] { MessageType.Event }), "Single message of type event in the queue after SendEvent"); } diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/JsonRpcHostTests.cs b/external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/JsonRpcHostTests.cs similarity index 99% rename from test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/JsonRpcHostTests.cs rename to external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/JsonRpcHostTests.cs index 0122d04d..a664eeaa 100644 --- a/test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/JsonRpcHostTests.cs +++ b/external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/JsonRpcHostTests.cs @@ -68,9 +68,9 @@ namespace Microsoft.SqlTools.Hosting.UnitTests.ProtocolTests // If: I assign a request handler on the JSON RPC host var jh = new JsonRpcHost(GetChannelBase(null, null).Object); - jh.SetAsyncRequestHandler(CommonObjects.RequestType, requestHandler.Object); - - // Then: It should be the only request handler set + jh.SetAsyncRequestHandler(CommonObjects.RequestType, requestHandler.Object); + + // Then: It should be the only request handler set Assert.That(jh.requestHandlers.Keys, Is.EqualTo(new[] { CommonObjects.RequestType.MethodName }), "requestHandlers.Keys after SetAsyncRequestHandler"); // If: I call the stored request handler @@ -98,12 +98,12 @@ namespace Microsoft.SqlTools.Hosting.UnitTests.ProtocolTests // If: I assign a request handler on the JSON RPC host var jh = new JsonRpcHost(GetChannelBase(null, null).Object); - jh.SetRequestHandler(CommonObjects.RequestType, requestHandler.Object); - - // Then: It should be the only request handler set - Assert.That(jh.requestHandlers.Keys, Is.EqualTo(new[] { CommonObjects.RequestType.MethodName }), "requestHandlers.Keys after SetRequestHandler"); - - // If: I call the stored request handler + jh.SetRequestHandler(CommonObjects.RequestType, requestHandler.Object); + + // Then: It should be the only request handler set + Assert.That(jh.requestHandlers.Keys, Is.EqualTo(new[] { CommonObjects.RequestType.MethodName }), "requestHandlers.Keys after SetRequestHandler"); + + // If: I call the stored request handler await jh.requestHandlers[CommonObjects.RequestType.MethodName](message); await jh.requestHandlers[CommonObjects.RequestType.MethodName](message); @@ -204,12 +204,12 @@ namespace Microsoft.SqlTools.Hosting.UnitTests.ProtocolTests // If: I assign an event handler on the JSON RPC host var jh = new JsonRpcHost(GetChannelBase(null, null).Object); - jh.SetAsyncEventHandler(CommonObjects.EventType, eventHandler.Object); - - // Then: It should be the only event handler set - Assert.That(jh.eventHandlers.Keys, Is.EqualTo(new[] { CommonObjects.EventType.MethodName }), "eventHandlers.Keys after SetAsyncRequestHandler"); - - // If: I call the stored event handler + jh.SetAsyncEventHandler(CommonObjects.EventType, eventHandler.Object); + + // Then: It should be the only event handler set + Assert.That(jh.eventHandlers.Keys, Is.EqualTo(new[] { CommonObjects.EventType.MethodName }), "eventHandlers.Keys after SetAsyncRequestHandler"); + + // If: I call the stored event handler await jh.eventHandlers[CommonObjects.EventType.MethodName](message); await jh.eventHandlers[CommonObjects.EventType.MethodName](message); @@ -320,9 +320,9 @@ namespace Microsoft.SqlTools.Hosting.UnitTests.ProtocolTests var jh = new JsonRpcHost(GetChannelBase(null, null, true).Object); // If: I send an event - jh.SendEvent(CommonObjects.EventType, CommonObjects.TestMessageContents.DefaultInstance); - - // Then: The message should be added to the output queue + jh.SendEvent(CommonObjects.EventType, CommonObjects.TestMessageContents.DefaultInstance); + + // Then: The message should be added to the output queue Assert.That(jh.outputQueue.ToArray().Select(m => (m.Contents, m.Method)), Is.EqualTo(new[] { (CommonObjects.TestMessageContents.SerializedContents, CommonObjects.EventType.MethodName) }), "outputQueue after SendEvent"); } @@ -581,17 +581,17 @@ namespace Microsoft.SqlTools.Hosting.UnitTests.ProtocolTests var mr = new Mock(Stream.Null, null); mr.SetupSequence(o => o.ReadMessage()) .ReturnsAsync(CommonObjects.RequestMessage) - .Returns(Task.FromException(new EndOfStreamException())); - - // If: I start the input consumption loop + .Returns(Task.FromException(new EndOfStreamException())); + + // If: I start the input consumption loop var jh = new JsonRpcHost(GetChannelBase(mr.Object, null).Object); - await jh.ConsumeInput().WithTimeout(TimeSpan.FromSeconds(1)); - - // Then: - // ... Read message should have been called twice - mr.Verify(o => o.ReadMessage(), Times.Exactly(2)); - - // ... + await jh.ConsumeInput().WithTimeout(TimeSpan.FromSeconds(1)); + + // Then: + // ... Read message should have been called twice + mr.Verify(o => o.ReadMessage(), Times.Exactly(2)); + + // ... var outgoing = jh.outputQueue.ToArray(); Assert.That(outgoing.Select(m => (m.MessageType, m.Id, m.Contents.Value("code"))), Is.EqualTo(new[] { (MessageType.ResponseError, CommonObjects.MessageId, -32601) }), "There should be an outgoing message with the error"); } diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageReaderTests.cs b/external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageReaderTests.cs similarity index 99% rename from test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageReaderTests.cs rename to external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageReaderTests.cs index 86318947..f14ecf86 100644 --- a/test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageReaderTests.cs +++ b/external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageReaderTests.cs @@ -78,7 +78,7 @@ namespace Microsoft.SqlTools.Hosting.UnitTests.ProtocolTests [Test] public async Task ReadMessageInvalidHeaders( [Values( - "Content-Type: application/json\r\n\r\n",// Missing content-length header + "Content-Type: application/json\r\n\r\n",// Missing content-length header "Content-Length: abc\r\n\r\n"// Content-length is not a number )]string testString) { diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageTests.cs b/external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageTests.cs similarity index 100% rename from test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageTests.cs rename to external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageTests.cs diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageWriterTests.cs b/external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageWriterTests.cs similarity index 99% rename from test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageWriterTests.cs rename to external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageWriterTests.cs index d9f93a96..289dbd11 100644 --- a/test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageWriterTests.cs +++ b/external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/MessageWriterTests.cs @@ -53,10 +53,10 @@ namespace Microsoft.SqlTools.Hosting.UnitTests.ProtocolTests { // If: I write a message var mw = new MessageWriter(outputStream); - await mw.WriteMessage(Message.CreateResponse(CommonObjects.MessageId, contents)); - - // Then: - // ... The returned bytes on the stream should compose a valid message + await mw.WriteMessage(Message.CreateResponse(CommonObjects.MessageId, contents)); + + // Then: + // ... The returned bytes on the stream should compose a valid message Assert.That(outputStream.Position, Is.Not.EqualTo(0), "outputStream.Position after WriteMessage"); var messageDict = ValidateMessageHeaders(output, (int) outputStream.Position); diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/RequestContextTests.cs b/external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/RequestContextTests.cs similarity index 99% rename from test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/RequestContextTests.cs rename to external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/RequestContextTests.cs index ceda755d..efae059c 100644 --- a/test/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/RequestContextTests.cs +++ b/external/Microsoft.SqlTools.Hosting.UnitTests/ProtocolTests/RequestContextTests.cs @@ -38,8 +38,8 @@ namespace Microsoft.SqlTools.Hosting.UnitTests.ProtocolTests // If: I write an event with the request context var rc = new RequestContext(CommonObjects.RequestMessage, bc); - rc.SendEvent(CommonObjects.EventType, CommonObjects.TestMessageContents.DefaultInstance); - + rc.SendEvent(CommonObjects.EventType, CommonObjects.TestMessageContents.DefaultInstance); + Assert.That(bc.Select(m => m.MessageType), Is.EqualTo(new[] { MessageType.Event }), "The message writer should have sent an event"); } @@ -53,11 +53,11 @@ namespace Microsoft.SqlTools.Hosting.UnitTests.ProtocolTests // If: I write an error with the request context var rc = new RequestContext(CommonObjects.RequestMessage, bc); - rc.SendError(errorMessage, errorCode); - - Assert.That(bc.Select(m => m.MessageType), Is.EqualTo(new[] { MessageType.ResponseError }), "The message writer should have sent an error"); - - // ... The error object it built should have the reuired fields set + rc.SendError(errorMessage, errorCode); + + Assert.That(bc.Select(m => m.MessageType), Is.EqualTo(new[] { MessageType.ResponseError }), "The message writer should have sent an error"); + + // ... The error object it built should have the reuired fields set var contents = bc.ToArray()[0].GetTypedContents(); Assert.AreEqual(errorCode, contents.Code); Assert.AreEqual(errorMessage, contents.Message); @@ -73,11 +73,11 @@ namespace Microsoft.SqlTools.Hosting.UnitTests.ProtocolTests const string errorMessage = "error"; var e = new Exception(errorMessage); var rc = new RequestContext(CommonObjects.RequestMessage, bc); - rc.SendError(e); - - Assert.That(bc.Select(m => m.MessageType), Is.EqualTo(new[] { MessageType.ResponseError }), "The message writer should have sent an error"); - - // ... The error object it built should have the reuired fields set + rc.SendError(e); + + Assert.That(bc.Select(m => m.MessageType), Is.EqualTo(new[] { MessageType.ResponseError }), "The message writer should have sent an error"); + + // ... The error object it built should have the reuired fields set var contents = bc.First().GetTypedContents(); Assert.AreEqual(e.HResult, contents.Code); Assert.AreEqual(errorMessage, contents.Message); diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/ServiceHostTests/ExtensibleServiceHostTest.cs b/external/Microsoft.SqlTools.Hosting.UnitTests/ServiceHostTests/ExtensibleServiceHostTest.cs similarity index 100% rename from test/Microsoft.SqlTools.Hosting.UnitTests/ServiceHostTests/ExtensibleServiceHostTest.cs rename to external/Microsoft.SqlTools.Hosting.UnitTests/ServiceHostTests/ExtensibleServiceHostTest.cs diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/ServiceHostTests/ServiceHostTests.cs b/external/Microsoft.SqlTools.Hosting.UnitTests/ServiceHostTests/ServiceHostTests.cs similarity index 99% rename from test/Microsoft.SqlTools.Hosting.UnitTests/ServiceHostTests/ServiceHostTests.cs rename to external/Microsoft.SqlTools.Hosting.UnitTests/ServiceHostTests/ServiceHostTests.cs index 0db35204..e2b8cb0a 100644 --- a/test/Microsoft.SqlTools.Hosting.UnitTests/ServiceHostTests/ServiceHostTests.cs +++ b/external/Microsoft.SqlTools.Hosting.UnitTests/ServiceHostTests/ServiceHostTests.cs @@ -283,8 +283,8 @@ namespace Microsoft.SqlTools.Hosting.UnitTests.ServiceHostTests await sh.HandleShutdownRequest(shutdownParams, mockContext); mockHandler.Verify(h => h(shutdownParams, mockContext), Times.Exactly(2), "The mock handler should have been called twice"); - - + + Assert.That(bc.Count, Is.EqualTo(1), "There should have been a response sent"); } diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/TaskExtensions.cs b/external/Microsoft.SqlTools.Hosting.UnitTests/TaskExtensions.cs similarity index 100% rename from test/Microsoft.SqlTools.Hosting.UnitTests/TaskExtensions.cs rename to external/Microsoft.SqlTools.Hosting.UnitTests/TaskExtensions.cs diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/UtilityTests/AsyncLockTests.cs b/external/Microsoft.SqlTools.Hosting.UnitTests/UtilityTests/AsyncLockTests.cs similarity index 100% rename from test/Microsoft.SqlTools.Hosting.UnitTests/UtilityTests/AsyncLockTests.cs rename to external/Microsoft.SqlTools.Hosting.UnitTests/UtilityTests/AsyncLockTests.cs diff --git a/test/Microsoft.SqlTools.Hosting.UnitTests/UtilityTests/LoggerTests.cs b/external/Microsoft.SqlTools.Hosting.UnitTests/UtilityTests/LoggerTests.cs similarity index 100% rename from test/Microsoft.SqlTools.Hosting.UnitTests/UtilityTests/LoggerTests.cs rename to external/Microsoft.SqlTools.Hosting.UnitTests/UtilityTests/LoggerTests.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Channels/ChannelBase.cs b/external/Microsoft.SqlTools.Hosting.v2/Channels/ChannelBase.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Channels/ChannelBase.cs rename to external/Microsoft.SqlTools.Hosting.v2/Channels/ChannelBase.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Channels/StdioClientChannel.cs b/external/Microsoft.SqlTools.Hosting.v2/Channels/StdioClientChannel.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Channels/StdioClientChannel.cs rename to external/Microsoft.SqlTools.Hosting.v2/Channels/StdioClientChannel.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Channels/StdioServerChannel.cs b/external/Microsoft.SqlTools.Hosting.v2/Channels/StdioServerChannel.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Channels/StdioServerChannel.cs rename to external/Microsoft.SqlTools.Hosting.v2/Channels/StdioServerChannel.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Extensibility/ExportStandardMetadataAttribute.cs b/external/Microsoft.SqlTools.Hosting.v2/Extensibility/ExportStandardMetadataAttribute.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Extensibility/ExportStandardMetadataAttribute.cs rename to external/Microsoft.SqlTools.Hosting.v2/Extensibility/ExportStandardMetadataAttribute.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Extensibility/ExtensionServiceProvider.cs b/external/Microsoft.SqlTools.Hosting.v2/Extensibility/ExtensionServiceProvider.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Extensibility/ExtensionServiceProvider.cs rename to external/Microsoft.SqlTools.Hosting.v2/Extensibility/ExtensionServiceProvider.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Extensibility/IComposableService.cs b/external/Microsoft.SqlTools.Hosting.v2/Extensibility/IComposableService.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Extensibility/IComposableService.cs rename to external/Microsoft.SqlTools.Hosting.v2/Extensibility/IComposableService.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Extensibility/IHostedService.cs b/external/Microsoft.SqlTools.Hosting.v2/Extensibility/IHostedService.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Extensibility/IHostedService.cs rename to external/Microsoft.SqlTools.Hosting.v2/Extensibility/IHostedService.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Extensibility/IMultiServiceProvider.cs b/external/Microsoft.SqlTools.Hosting.v2/Extensibility/IMultiServiceProvider.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Extensibility/IMultiServiceProvider.cs rename to external/Microsoft.SqlTools.Hosting.v2/Extensibility/IMultiServiceProvider.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Extensibility/IStandardMetadata.cs b/external/Microsoft.SqlTools.Hosting.v2/Extensibility/IStandardMetadata.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Extensibility/IStandardMetadata.cs rename to external/Microsoft.SqlTools.Hosting.v2/Extensibility/IStandardMetadata.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Extensibility/RegisteredServiceProvider.cs b/external/Microsoft.SqlTools.Hosting.v2/Extensibility/RegisteredServiceProvider.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Extensibility/RegisteredServiceProvider.cs rename to external/Microsoft.SqlTools.Hosting.v2/Extensibility/RegisteredServiceProvider.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/ExtensibleServiceHost.cs b/external/Microsoft.SqlTools.Hosting.v2/ExtensibleServiceHost.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/ExtensibleServiceHost.cs rename to external/Microsoft.SqlTools.Hosting.v2/ExtensibleServiceHost.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/IServiceHost.cs b/external/Microsoft.SqlTools.Hosting.v2/IServiceHost.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/IServiceHost.cs rename to external/Microsoft.SqlTools.Hosting.v2/IServiceHost.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Localization/sr.cs b/external/Microsoft.SqlTools.Hosting.v2/Localization/sr.cs old mode 100755 new mode 100644 similarity index 96% rename from src/Microsoft.SqlTools.Hosting.v2/Localization/sr.cs rename to external/Microsoft.SqlTools.Hosting.v2/Localization/sr.cs index ca807daa..0ea22ad9 --- a/src/Microsoft.SqlTools.Hosting.v2/Localization/sr.cs +++ b/external/Microsoft.SqlTools.Hosting.v2/Localization/sr.cs @@ -1,230 +1,230 @@ -// WARNING: -// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0 -// from information in sr.strings -// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN -// -namespace Microsoft.SqlTools.Hosting.v2 -{ - using System; - using System.Reflection; - using System.Resources; - using System.Globalization; - - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class SR - { - protected SR() - { } - - public static CultureInfo Culture - { - get - { - return Keys.Culture; - } - set - { - Keys.Culture = value; - } - } - - - public static string ServiceAlreadyRegistered - { - get - { - return Keys.GetString(Keys.ServiceAlreadyRegistered); - } - } - - public static string MultipleServicesFound - { - get - { - return Keys.GetString(Keys.MultipleServicesFound); - } - } - - public static string IncompatibleServiceForExtensionLoader - { - get - { - return Keys.GetString(Keys.IncompatibleServiceForExtensionLoader); - } - } - - public static string ServiceProviderNotSet - { - get - { - return Keys.GetString(Keys.ServiceProviderNotSet); - } - } - - public static string ServiceNotFound - { - get - { - return Keys.GetString(Keys.ServiceNotFound); - } - } - - public static string ServiceNotOfExpectedType - { - get - { - return Keys.GetString(Keys.ServiceNotOfExpectedType); - } - } - - public static string HostingUnexpectedEndOfStream - { - get - { - return Keys.GetString(Keys.HostingUnexpectedEndOfStream); - } - } - - public static string HostingHeaderMissingColon - { - get - { - return Keys.GetString(Keys.HostingHeaderMissingColon); - } - } - - public static string HostingHeaderMissingContentLengthHeader - { - get - { - return Keys.GetString(Keys.HostingHeaderMissingContentLengthHeader); - } - } - - public static string HostingHeaderMissingContentLengthValue - { - get - { - return Keys.GetString(Keys.HostingHeaderMissingContentLengthValue); - } - } - - public static string HostingJsonRpcHostAlreadyStarted - { - get - { - return Keys.GetString(Keys.HostingJsonRpcHostAlreadyStarted); - } - } - - public static string HostingJsonRpcHostNotStarted - { - get - { - return Keys.GetString(Keys.HostingJsonRpcHostNotStarted); - } - } - - public static string HostingJsonRpcVersionMissing - { - get - { - return Keys.GetString(Keys.HostingJsonRpcVersionMissing); - } - } - - public static string HostingMessageMissingMethod - { - get - { - return Keys.GetString(Keys.HostingMessageMissingMethod); - } - } - - public static string HostingMethodHandlerDoesNotExist(string messageType, string method) - { - return Keys.GetString(Keys.HostingMethodHandlerDoesNotExist, messageType, method); - } - - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - public class Keys - { - static ResourceManager resourceManager = new ResourceManager("Microsoft.SqlTools.Hosting.v2.Localization.SR", typeof(SR).GetTypeInfo().Assembly); - - static CultureInfo _culture = null; - - - public const string ServiceAlreadyRegistered = "ServiceAlreadyRegistered"; - - - public const string MultipleServicesFound = "MultipleServicesFound"; - - - public const string IncompatibleServiceForExtensionLoader = "IncompatibleServiceForExtensionLoader"; - - - public const string ServiceProviderNotSet = "ServiceProviderNotSet"; - - - public const string ServiceNotFound = "ServiceNotFound"; - - - public const string ServiceNotOfExpectedType = "ServiceNotOfExpectedType"; - - - public const string HostingUnexpectedEndOfStream = "HostingUnexpectedEndOfStream"; - - - public const string HostingHeaderMissingColon = "HostingHeaderMissingColon"; - - - public const string HostingHeaderMissingContentLengthHeader = "HostingHeaderMissingContentLengthHeader"; - - - public const string HostingHeaderMissingContentLengthValue = "HostingHeaderMissingContentLengthValue"; - - - public const string HostingJsonRpcHostAlreadyStarted = "HostingJsonRpcHostAlreadyStarted"; - - - public const string HostingJsonRpcHostNotStarted = "HostingJsonRpcHostNotStarted"; - - - public const string HostingJsonRpcVersionMissing = "HostingJsonRpcVersionMissing"; - - - public const string HostingMessageMissingMethod = "HostingMessageMissingMethod"; - - - public const string HostingMethodHandlerDoesNotExist = "HostingMethodHandlerDoesNotExist"; - - - private Keys() - { } - - public static CultureInfo Culture - { - get - { - return _culture; - } - set - { - _culture = value; - } - } - - public static string GetString(string key) - { - return resourceManager.GetString(key, _culture); - } - - - public static string GetString(string key, object arg0, object arg1) - { - return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0, arg1); - } - - } - } -} +// WARNING: +// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0 +// from information in sr.strings +// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN +// +namespace Microsoft.SqlTools.Hosting.v2 +{ + using System; + using System.Reflection; + using System.Resources; + using System.Globalization; + + [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class SR + { + protected SR() + { } + + public static CultureInfo Culture + { + get + { + return Keys.Culture; + } + set + { + Keys.Culture = value; + } + } + + + public static string ServiceAlreadyRegistered + { + get + { + return Keys.GetString(Keys.ServiceAlreadyRegistered); + } + } + + public static string MultipleServicesFound + { + get + { + return Keys.GetString(Keys.MultipleServicesFound); + } + } + + public static string IncompatibleServiceForExtensionLoader + { + get + { + return Keys.GetString(Keys.IncompatibleServiceForExtensionLoader); + } + } + + public static string ServiceProviderNotSet + { + get + { + return Keys.GetString(Keys.ServiceProviderNotSet); + } + } + + public static string ServiceNotFound + { + get + { + return Keys.GetString(Keys.ServiceNotFound); + } + } + + public static string ServiceNotOfExpectedType + { + get + { + return Keys.GetString(Keys.ServiceNotOfExpectedType); + } + } + + public static string HostingUnexpectedEndOfStream + { + get + { + return Keys.GetString(Keys.HostingUnexpectedEndOfStream); + } + } + + public static string HostingHeaderMissingColon + { + get + { + return Keys.GetString(Keys.HostingHeaderMissingColon); + } + } + + public static string HostingHeaderMissingContentLengthHeader + { + get + { + return Keys.GetString(Keys.HostingHeaderMissingContentLengthHeader); + } + } + + public static string HostingHeaderMissingContentLengthValue + { + get + { + return Keys.GetString(Keys.HostingHeaderMissingContentLengthValue); + } + } + + public static string HostingJsonRpcHostAlreadyStarted + { + get + { + return Keys.GetString(Keys.HostingJsonRpcHostAlreadyStarted); + } + } + + public static string HostingJsonRpcHostNotStarted + { + get + { + return Keys.GetString(Keys.HostingJsonRpcHostNotStarted); + } + } + + public static string HostingJsonRpcVersionMissing + { + get + { + return Keys.GetString(Keys.HostingJsonRpcVersionMissing); + } + } + + public static string HostingMessageMissingMethod + { + get + { + return Keys.GetString(Keys.HostingMessageMissingMethod); + } + } + + public static string HostingMethodHandlerDoesNotExist(string messageType, string method) + { + return Keys.GetString(Keys.HostingMethodHandlerDoesNotExist, messageType, method); + } + + [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Keys + { + static ResourceManager resourceManager = new ResourceManager("Microsoft.SqlTools.Hosting.v2.Localization.SR", typeof(SR).GetTypeInfo().Assembly); + + static CultureInfo _culture = null; + + + public const string ServiceAlreadyRegistered = "ServiceAlreadyRegistered"; + + + public const string MultipleServicesFound = "MultipleServicesFound"; + + + public const string IncompatibleServiceForExtensionLoader = "IncompatibleServiceForExtensionLoader"; + + + public const string ServiceProviderNotSet = "ServiceProviderNotSet"; + + + public const string ServiceNotFound = "ServiceNotFound"; + + + public const string ServiceNotOfExpectedType = "ServiceNotOfExpectedType"; + + + public const string HostingUnexpectedEndOfStream = "HostingUnexpectedEndOfStream"; + + + public const string HostingHeaderMissingColon = "HostingHeaderMissingColon"; + + + public const string HostingHeaderMissingContentLengthHeader = "HostingHeaderMissingContentLengthHeader"; + + + public const string HostingHeaderMissingContentLengthValue = "HostingHeaderMissingContentLengthValue"; + + + public const string HostingJsonRpcHostAlreadyStarted = "HostingJsonRpcHostAlreadyStarted"; + + + public const string HostingJsonRpcHostNotStarted = "HostingJsonRpcHostNotStarted"; + + + public const string HostingJsonRpcVersionMissing = "HostingJsonRpcVersionMissing"; + + + public const string HostingMessageMissingMethod = "HostingMessageMissingMethod"; + + + public const string HostingMethodHandlerDoesNotExist = "HostingMethodHandlerDoesNotExist"; + + + private Keys() + { } + + public static CultureInfo Culture + { + get + { + return _culture; + } + set + { + _culture = value; + } + } + + public static string GetString(string key) + { + return resourceManager.GetString(key, _culture); + } + + + public static string GetString(string key, object arg0, object arg1) + { + return string.Format(global::System.Globalization.CultureInfo.CurrentCulture, resourceManager.GetString(key, _culture), arg0, arg1); + } + + } + } +} diff --git a/src/Microsoft.SqlTools.Hosting.v2/Localization/sr.resx b/external/Microsoft.SqlTools.Hosting.v2/Localization/sr.resx old mode 100755 new mode 100644 similarity index 97% rename from src/Microsoft.SqlTools.Hosting.v2/Localization/sr.resx rename to external/Microsoft.SqlTools.Hosting.v2/Localization/sr.resx index c71ec876..93843be0 --- a/src/Microsoft.SqlTools.Hosting.v2/Localization/sr.resx +++ b/external/Microsoft.SqlTools.Hosting.v2/Localization/sr.resx @@ -1,181 +1,181 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Cannot register service for type {0}, one or more services already registered - - - - Multiple services found for type {0}, expected only 1 - - - - Service of type {0} cannot be created by ExtensionLoader<{1}> - - - - SetServiceProvider() was not called to establish the required service provider - - - - Service {0} was not found in the service provider - - - - Service of Type {0} is not compatible with registered Type {1} - - - - MessageReader's input stream ended unexpectedly, terminating - - - - Message header must separate key and value using ':' - - - - Fatal error: Content-Length header must be provided - - - - Fatal error: Content-Length value is not an integer - - - - JSON RPC host has already started - - - - JSON RPC host has not started - - - - JSON RPC version parameter is missing or invalid - - - - JSON RPC message is missing required method parameter - - - - {0} handler for method '{1}' does not exist. - . - Parameters: 0 - messageType (string), 1 - method (string) - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Cannot register service for type {0}, one or more services already registered + + + + Multiple services found for type {0}, expected only 1 + + + + Service of type {0} cannot be created by ExtensionLoader<{1}> + + + + SetServiceProvider() was not called to establish the required service provider + + + + Service {0} was not found in the service provider + + + + Service of Type {0} is not compatible with registered Type {1} + + + + MessageReader's input stream ended unexpectedly, terminating + + + + Message header must separate key and value using ':' + + + + Fatal error: Content-Length header must be provided + + + + Fatal error: Content-Length value is not an integer + + + + JSON RPC host has already started + + + + JSON RPC host has not started + + + + JSON RPC version parameter is missing or invalid + + + + JSON RPC message is missing required method parameter + + + + {0} handler for method '{1}' does not exist. + . + Parameters: 0 - messageType (string), 1 - method (string) + + diff --git a/src/Microsoft.SqlTools.Hosting.v2/Localization/sr.strings b/external/Microsoft.SqlTools.Hosting.v2/Localization/sr.strings similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Localization/sr.strings rename to external/Microsoft.SqlTools.Hosting.v2/Localization/sr.strings diff --git a/src/Microsoft.SqlTools.Hosting.v2/Localization/sr.xlf b/external/Microsoft.SqlTools.Hosting.v2/Localization/sr.xlf similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Localization/sr.xlf rename to external/Microsoft.SqlTools.Hosting.v2/Localization/sr.xlf diff --git a/src/Microsoft.SqlTools.Hosting.v2/Microsoft.SqlTools.Hosting.v2.csproj b/external/Microsoft.SqlTools.Hosting.v2/Microsoft.SqlTools.Hosting.v2.csproj similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Microsoft.SqlTools.Hosting.v2.csproj rename to external/Microsoft.SqlTools.Hosting.v2/Microsoft.SqlTools.Hosting.v2.csproj diff --git a/src/Microsoft.SqlTools.Hosting.v2/Properties/AssemblyInfo.cs b/external/Microsoft.SqlTools.Hosting.v2/Properties/AssemblyInfo.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Properties/AssemblyInfo.cs rename to external/Microsoft.SqlTools.Hosting.v2/Properties/AssemblyInfo.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Protocol/EventContext.cs b/external/Microsoft.SqlTools.Hosting.v2/Protocol/EventContext.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Protocol/EventContext.cs rename to external/Microsoft.SqlTools.Hosting.v2/Protocol/EventContext.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Protocol/Exceptions.cs b/external/Microsoft.SqlTools.Hosting.v2/Protocol/Exceptions.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Protocol/Exceptions.cs rename to external/Microsoft.SqlTools.Hosting.v2/Protocol/Exceptions.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Protocol/IEventSender.cs b/external/Microsoft.SqlTools.Hosting.v2/Protocol/IEventSender.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Protocol/IEventSender.cs rename to external/Microsoft.SqlTools.Hosting.v2/Protocol/IEventSender.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Protocol/IJsonRpcHost.cs b/external/Microsoft.SqlTools.Hosting.v2/Protocol/IJsonRpcHost.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Protocol/IJsonRpcHost.cs rename to external/Microsoft.SqlTools.Hosting.v2/Protocol/IJsonRpcHost.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Protocol/IMessageDispatcher.cs b/external/Microsoft.SqlTools.Hosting.v2/Protocol/IMessageDispatcher.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Protocol/IMessageDispatcher.cs rename to external/Microsoft.SqlTools.Hosting.v2/Protocol/IMessageDispatcher.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Protocol/IRequestSender.cs b/external/Microsoft.SqlTools.Hosting.v2/Protocol/IRequestSender.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Protocol/IRequestSender.cs rename to external/Microsoft.SqlTools.Hosting.v2/Protocol/IRequestSender.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Protocol/JsonRpcHost.cs b/external/Microsoft.SqlTools.Hosting.v2/Protocol/JsonRpcHost.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Protocol/JsonRpcHost.cs rename to external/Microsoft.SqlTools.Hosting.v2/Protocol/JsonRpcHost.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Protocol/Message.cs b/external/Microsoft.SqlTools.Hosting.v2/Protocol/Message.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Protocol/Message.cs rename to external/Microsoft.SqlTools.Hosting.v2/Protocol/Message.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Protocol/MessageReader.cs b/external/Microsoft.SqlTools.Hosting.v2/Protocol/MessageReader.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Protocol/MessageReader.cs rename to external/Microsoft.SqlTools.Hosting.v2/Protocol/MessageReader.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Protocol/MessageWriter.cs b/external/Microsoft.SqlTools.Hosting.v2/Protocol/MessageWriter.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Protocol/MessageWriter.cs rename to external/Microsoft.SqlTools.Hosting.v2/Protocol/MessageWriter.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Protocol/RequestContext.cs b/external/Microsoft.SqlTools.Hosting.v2/Protocol/RequestContext.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Protocol/RequestContext.cs rename to external/Microsoft.SqlTools.Hosting.v2/Protocol/RequestContext.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/ServiceHost.cs b/external/Microsoft.SqlTools.Hosting.v2/ServiceHost.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/ServiceHost.cs rename to external/Microsoft.SqlTools.Hosting.v2/ServiceHost.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Utility/AsyncLock.cs b/external/Microsoft.SqlTools.Hosting.v2/Utility/AsyncLock.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Utility/AsyncLock.cs rename to external/Microsoft.SqlTools.Hosting.v2/Utility/AsyncLock.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Utility/CommandOptions.cs b/external/Microsoft.SqlTools.Hosting.v2/Utility/CommandOptions.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Utility/CommandOptions.cs rename to external/Microsoft.SqlTools.Hosting.v2/Utility/CommandOptions.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Utility/Extensions.cs b/external/Microsoft.SqlTools.Hosting.v2/Utility/Extensions.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Utility/Extensions.cs rename to external/Microsoft.SqlTools.Hosting.v2/Utility/Extensions.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Utility/Logger.cs b/external/Microsoft.SqlTools.Hosting.v2/Utility/Logger.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Utility/Logger.cs rename to external/Microsoft.SqlTools.Hosting.v2/Utility/Logger.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Utility/ServiceProviderNotSetException.cs b/external/Microsoft.SqlTools.Hosting.v2/Utility/ServiceProviderNotSetException.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Utility/ServiceProviderNotSetException.cs rename to external/Microsoft.SqlTools.Hosting.v2/Utility/ServiceProviderNotSetException.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Utility/TaskExtensions.cs b/external/Microsoft.SqlTools.Hosting.v2/Utility/TaskExtensions.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Utility/TaskExtensions.cs rename to external/Microsoft.SqlTools.Hosting.v2/Utility/TaskExtensions.cs diff --git a/src/Microsoft.SqlTools.Hosting.v2/Utility/Validate.cs b/external/Microsoft.SqlTools.Hosting.v2/Utility/Validate.cs similarity index 100% rename from src/Microsoft.SqlTools.Hosting.v2/Utility/Validate.cs rename to external/Microsoft.SqlTools.Hosting.v2/Utility/Validate.cs diff --git a/sqltoolsservice.sln b/sqltoolsservice.sln index 8b8be487..b25bda99 100644 --- a/sqltoolsservice.sln +++ b/sqltoolsservice.sln @@ -60,19 +60,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.Credenti EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.Hosting", "src\Microsoft.SqlTools.Hosting\Microsoft.SqlTools.Hosting.csproj", "{AAE1F8D1-F7AB-4ABE-A55B-D423393AB352}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.DataProtocol.Contracts", "src\Microsoft.SqlTools.DataProtocol.Contracts\Microsoft.SqlTools.DataProtocol.Contracts.csproj", "{220E1DEC-32EC-4B3B-A1DB-159ECFDD3A8D}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.CoreServices", "src\Microsoft.SqlTools.CoreServices\Microsoft.SqlTools.CoreServices.csproj", "{444E79F1-477A-481A-9BE6-6559B32CE177}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.Hosting.Contracts", "src\Microsoft.SqlTools.Hosting.Contracts\Microsoft.SqlTools.Hosting.Contracts.csproj", "{BE04C532-C9AE-4C32-9283-F6629112228B}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.ServiceLayer", "src\Microsoft.SqlTools.ServiceLayer\Microsoft.SqlTools.ServiceLayer.csproj", "{835EDEB4-289B-4D6D-A9A0-609E43A87D6E}" ProjectSection(ProjectDependencies) = postProject {3F82F298-700A-48DF-8A69-D048DFBA782C} = {3F82F298-700A-48DF-8A69-D048DFBA782C} EndProjectSection EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.Hosting.UnitTests", "test\Microsoft.SqlTools.Hosting.UnitTests\Microsoft.SqlTools.Hosting.UnitTests.csproj", "{BA3C9622-ABFF-45A2-91AA-CC5189083256}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.ServiceLayer.UnitTests", "test\Microsoft.SqlTools.ServiceLayer.UnitTests\Microsoft.SqlTools.ServiceLayer.UnitTests.csproj", "{F18471B5-2042-409D-BF2C-E5403C322DC9}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.ServiceLayer.TestDriver", "test\Microsoft.SqlTools.ServiceLayer.TestDriver\Microsoft.SqlTools.ServiceLayer.TestDriver.csproj", "{4F250E56-F8B4-4E69-AECC-4D31EDD891E7}" @@ -89,14 +81,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.ServiceL EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.ResourceProvider", "src\Microsoft.SqlTools.ResourceProvider\Microsoft.SqlTools.ResourceProvider.csproj", "{6FEE7E14-8A1D-454E-8F7C-B63597801787}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.ResourceProvider.Core", "src\Microsoft.SqlTools.ResourceProvider.Core\Microsoft.SqlTools.ResourceProvider.Core.csproj", "{70E63BC1-2C82-41C0-89D6-272FD3C7B0C9}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.ResourceProvider.DefaultImpl", "src\Microsoft.SqlTools.ResourceProvider.DefaultImpl\Microsoft.SqlTools.ResourceProvider.DefaultImpl.csproj", "{EFB39C03-F7D2-4E8D-BE51-09121CD71973}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ScriptGenerator", "test\ScriptGenerator\ScriptGenerator.csproj", "{8EE5B06A-2EB2-4A47-812D-1D5B98D0F49A}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.Hosting.v2", "src\Microsoft.SqlTools.Hosting.v2\Microsoft.SqlTools.Hosting.v2.csproj", "{EF02F89F-417E-4A40-B7E6-B102EE2DF24D}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.ManagedBatchParser", "src\Microsoft.SqlTools.ManagedBatchParser\Microsoft.SqlTools.ManagedBatchParser.csproj", "{3F82F298-700A-48DF-8A69-D048DFBA782C}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.SqlTools.ManagedBatchParser.IntegrationTests", "test\Microsoft.SqlTools.ManagedBatchParser.IntegrationTests\Microsoft.SqlTools.ManagedBatchParser.IntegrationTests.csproj", "{D3696EFA-FB1E-4848-A726-FF7B168AFB96}" @@ -135,37 +121,13 @@ Global {AAE1F8D1-F7AB-4ABE-A55B-D423393AB352}.Integration|Any CPU.ActiveCfg = Debug|Any CPU {AAE1F8D1-F7AB-4ABE-A55B-D423393AB352}.Integration|Any CPU.Build.0 = Debug|Any CPU {AAE1F8D1-F7AB-4ABE-A55B-D423393AB352}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AAE1F8D1-F7AB-4ABE-A55B-D423393AB352}.Release|Any CPU.Build.0 = Release|Any CPU - {220E1DEC-32EC-4B3B-A1DB-159ECFDD3A8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {220E1DEC-32EC-4B3B-A1DB-159ECFDD3A8D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {220E1DEC-32EC-4B3B-A1DB-159ECFDD3A8D}.Integration|Any CPU.ActiveCfg = Release|Any CPU - {220E1DEC-32EC-4B3B-A1DB-159ECFDD3A8D}.Integration|Any CPU.Build.0 = Release|Any CPU - {220E1DEC-32EC-4B3B-A1DB-159ECFDD3A8D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {220E1DEC-32EC-4B3B-A1DB-159ECFDD3A8D}.Release|Any CPU.Build.0 = Release|Any CPU - {444E79F1-477A-481A-9BE6-6559B32CE177}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {444E79F1-477A-481A-9BE6-6559B32CE177}.Debug|Any CPU.Build.0 = Debug|Any CPU - {444E79F1-477A-481A-9BE6-6559B32CE177}.Integration|Any CPU.ActiveCfg = Release|Any CPU - {444E79F1-477A-481A-9BE6-6559B32CE177}.Integration|Any CPU.Build.0 = Release|Any CPU - {444E79F1-477A-481A-9BE6-6559B32CE177}.Release|Any CPU.ActiveCfg = Release|Any CPU - {444E79F1-477A-481A-9BE6-6559B32CE177}.Release|Any CPU.Build.0 = Release|Any CPU - {BE04C532-C9AE-4C32-9283-F6629112228B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BE04C532-C9AE-4C32-9283-F6629112228B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BE04C532-C9AE-4C32-9283-F6629112228B}.Integration|Any CPU.ActiveCfg = Release|Any CPU - {BE04C532-C9AE-4C32-9283-F6629112228B}.Integration|Any CPU.Build.0 = Release|Any CPU - {BE04C532-C9AE-4C32-9283-F6629112228B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BE04C532-C9AE-4C32-9283-F6629112228B}.Release|Any CPU.Build.0 = Release|Any CPU + {AAE1F8D1-F7AB-4ABE-A55B-D423393AB352}.Release|Any CPU.Build.0 = Release|Any CPU {835EDEB4-289B-4D6D-A9A0-609E43A87D6E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {835EDEB4-289B-4D6D-A9A0-609E43A87D6E}.Debug|Any CPU.Build.0 = Debug|Any CPU {835EDEB4-289B-4D6D-A9A0-609E43A87D6E}.Integration|Any CPU.ActiveCfg = Debug|Any CPU {835EDEB4-289B-4D6D-A9A0-609E43A87D6E}.Integration|Any CPU.Build.0 = Debug|Any CPU {835EDEB4-289B-4D6D-A9A0-609E43A87D6E}.Release|Any CPU.ActiveCfg = Release|Any CPU {835EDEB4-289B-4D6D-A9A0-609E43A87D6E}.Release|Any CPU.Build.0 = Release|Any CPU - {BA3C9622-ABFF-45A2-91AA-CC5189083256}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BA3C9622-ABFF-45A2-91AA-CC5189083256}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BA3C9622-ABFF-45A2-91AA-CC5189083256}.Integration|Any CPU.ActiveCfg = Release|Any CPU - {BA3C9622-ABFF-45A2-91AA-CC5189083256}.Integration|Any CPU.Build.0 = Release|Any CPU - {BA3C9622-ABFF-45A2-91AA-CC5189083256}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BA3C9622-ABFF-45A2-91AA-CC5189083256}.Release|Any CPU.Build.0 = Release|Any CPU {F18471B5-2042-409D-BF2C-E5403C322DC9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {F18471B5-2042-409D-BF2C-E5403C322DC9}.Debug|Any CPU.Build.0 = Debug|Any CPU {F18471B5-2042-409D-BF2C-E5403C322DC9}.Integration|Any CPU.ActiveCfg = Debug|Any CPU @@ -214,30 +176,12 @@ Global {6FEE7E14-8A1D-454E-8F7C-B63597801787}.Integration|Any CPU.Build.0 = Debug|Any CPU {6FEE7E14-8A1D-454E-8F7C-B63597801787}.Release|Any CPU.ActiveCfg = Release|Any CPU {6FEE7E14-8A1D-454E-8F7C-B63597801787}.Release|Any CPU.Build.0 = Release|Any CPU - {70E63BC1-2C82-41C0-89D6-272FD3C7B0C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {70E63BC1-2C82-41C0-89D6-272FD3C7B0C9}.Debug|Any CPU.Build.0 = Debug|Any CPU - {70E63BC1-2C82-41C0-89D6-272FD3C7B0C9}.Integration|Any CPU.ActiveCfg = Debug|Any CPU - {70E63BC1-2C82-41C0-89D6-272FD3C7B0C9}.Integration|Any CPU.Build.0 = Debug|Any CPU - {70E63BC1-2C82-41C0-89D6-272FD3C7B0C9}.Release|Any CPU.ActiveCfg = Release|Any CPU - {70E63BC1-2C82-41C0-89D6-272FD3C7B0C9}.Release|Any CPU.Build.0 = Release|Any CPU - {EFB39C03-F7D2-4E8D-BE51-09121CD71973}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EFB39C03-F7D2-4E8D-BE51-09121CD71973}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EFB39C03-F7D2-4E8D-BE51-09121CD71973}.Integration|Any CPU.ActiveCfg = Debug|Any CPU - {EFB39C03-F7D2-4E8D-BE51-09121CD71973}.Integration|Any CPU.Build.0 = Debug|Any CPU - {EFB39C03-F7D2-4E8D-BE51-09121CD71973}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EFB39C03-F7D2-4E8D-BE51-09121CD71973}.Release|Any CPU.Build.0 = Release|Any CPU {8EE5B06A-2EB2-4A47-812D-1D5B98D0F49A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {8EE5B06A-2EB2-4A47-812D-1D5B98D0F49A}.Debug|Any CPU.Build.0 = Debug|Any CPU {8EE5B06A-2EB2-4A47-812D-1D5B98D0F49A}.Integration|Any CPU.ActiveCfg = Debug|Any CPU {8EE5B06A-2EB2-4A47-812D-1D5B98D0F49A}.Integration|Any CPU.Build.0 = Debug|Any CPU {8EE5B06A-2EB2-4A47-812D-1D5B98D0F49A}.Release|Any CPU.ActiveCfg = Release|Any CPU {8EE5B06A-2EB2-4A47-812D-1D5B98D0F49A}.Release|Any CPU.Build.0 = Release|Any CPU - {EF02F89F-417E-4A40-B7E6-B102EE2DF24D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EF02F89F-417E-4A40-B7E6-B102EE2DF24D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EF02F89F-417E-4A40-B7E6-B102EE2DF24D}.Integration|Any CPU.ActiveCfg = Debug|Any CPU - {EF02F89F-417E-4A40-B7E6-B102EE2DF24D}.Integration|Any CPU.Build.0 = Debug|Any CPU - {EF02F89F-417E-4A40-B7E6-B102EE2DF24D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EF02F89F-417E-4A40-B7E6-B102EE2DF24D}.Release|Any CPU.Build.0 = Release|Any CPU {3F82F298-700A-48DF-8A69-D048DFBA782C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {3F82F298-700A-48DF-8A69-D048DFBA782C}.Debug|Any CPU.Build.0 = Debug|Any CPU {3F82F298-700A-48DF-8A69-D048DFBA782C}.Integration|Any CPU.ActiveCfg = Debug|Any CPU @@ -289,11 +233,7 @@ Global {87D9C7D9-18F4-4AB9-B20D-66C02B6075E2} = {AB9CA2B8-6F70-431C-8A1D-67479D8A7BE4} {0F761F76-E0F3-472E-B539-1815CE2BC696} = {2BBD7364-054F-4693-97CD-1C395E3E84A9} {AAE1F8D1-F7AB-4ABE-A55B-D423393AB352} = {2BBD7364-054F-4693-97CD-1C395E3E84A9} - {220E1DEC-32EC-4B3B-A1DB-159ECFDD3A8D} = {2BBD7364-054F-4693-97CD-1C395E3E84A9} - {444E79F1-477A-481A-9BE6-6559B32CE177} = {2BBD7364-054F-4693-97CD-1C395E3E84A9} - {BE04C532-C9AE-4C32-9283-F6629112228B} = {2BBD7364-054F-4693-97CD-1C395E3E84A9} {835EDEB4-289B-4D6D-A9A0-609E43A87D6E} = {2BBD7364-054F-4693-97CD-1C395E3E84A9} - {BA3C9622-ABFF-45A2-91AA-CC5189083256} = {AB9CA2B8-6F70-431C-8A1D-67479D8A7BE4} {F18471B5-2042-409D-BF2C-E5403C322DC9} = {AB9CA2B8-6F70-431C-8A1D-67479D8A7BE4} {4F250E56-F8B4-4E69-AECC-4D31EDD891E7} = {AB9CA2B8-6F70-431C-8A1D-67479D8A7BE4} {8339991B-6D11-45A4-87D0-DF3322198990} = {AB9CA2B8-6F70-431C-8A1D-67479D8A7BE4} @@ -302,10 +242,7 @@ Global {501DB3B2-AF92-41CF-82F6-780F9C37C219} = {AB9CA2B8-6F70-431C-8A1D-67479D8A7BE4} {2C290C58-C98D-46B2-BCED-44D9B67F6D31} = {AB9CA2B8-6F70-431C-8A1D-67479D8A7BE4} {6FEE7E14-8A1D-454E-8F7C-B63597801787} = {2BBD7364-054F-4693-97CD-1C395E3E84A9} - {70E63BC1-2C82-41C0-89D6-272FD3C7B0C9} = {2BBD7364-054F-4693-97CD-1C395E3E84A9} - {EFB39C03-F7D2-4E8D-BE51-09121CD71973} = {2BBD7364-054F-4693-97CD-1C395E3E84A9} {8EE5B06A-2EB2-4A47-812D-1D5B98D0F49A} = {AB9CA2B8-6F70-431C-8A1D-67479D8A7BE4} - {EF02F89F-417E-4A40-B7E6-B102EE2DF24D} = {2BBD7364-054F-4693-97CD-1C395E3E84A9} {3F82F298-700A-48DF-8A69-D048DFBA782C} = {2BBD7364-054F-4693-97CD-1C395E3E84A9} {D3696EFA-FB1E-4848-A726-FF7B168AFB96} = {AB9CA2B8-6F70-431C-8A1D-67479D8A7BE4} {0EC2B30C-0652-49AE-9594-85B3C3E9CA21} = {AB9CA2B8-6F70-431C-8A1D-67479D8A7BE4} diff --git a/src/Microsoft.SqlTools.ResourceProvider.Core/Localization/sr.cs b/src/Microsoft.SqlTools.ResourceProvider.Core/Localization/sr.cs old mode 100755 new mode 100644 index a4e04f87..f933e783 --- a/src/Microsoft.SqlTools.ResourceProvider.Core/Localization/sr.cs +++ b/src/Microsoft.SqlTools.ResourceProvider.Core/Localization/sr.cs @@ -1,183 +1,183 @@ -// WARNING: -// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0 -// from information in sr.strings -// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN -// -namespace Microsoft.SqlTools.ResourceProvider.Core -{ - using System; - using System.Reflection; - using System.Resources; - using System.Globalization; - - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class SR - { - protected SR() - { } - - public static CultureInfo Culture - { - get - { - return Keys.Culture; - } - set - { - Keys.Culture = value; - } - } - - - public static string NoSubscriptionsFound - { - get - { - return Keys.GetString(Keys.NoSubscriptionsFound); - } - } - - public static string AzureServerNotFound - { - get - { - return Keys.GetString(Keys.AzureServerNotFound); - } - } - - public static string AzureSubscriptionFailedErrorMessage - { - get - { - return Keys.GetString(Keys.AzureSubscriptionFailedErrorMessage); - } - } - - public static string DatabaseDiscoveryFailedErrorMessage - { - get - { - return Keys.GetString(Keys.DatabaseDiscoveryFailedErrorMessage); - } - } - - public static string FirewallRuleAccessForbidden - { - get - { - return Keys.GetString(Keys.FirewallRuleAccessForbidden); - } - } - - public static string FirewallRuleCreationFailed - { - get - { - return Keys.GetString(Keys.FirewallRuleCreationFailed); - } - } - - public static string FirewallRuleCreationFailedWithError - { - get - { - return Keys.GetString(Keys.FirewallRuleCreationFailedWithError); - } - } - - public static string InvalidIpAddress - { - get - { - return Keys.GetString(Keys.InvalidIpAddress); - } - } - - public static string InvalidServerTypeErrorMessage - { - get - { - return Keys.GetString(Keys.InvalidServerTypeErrorMessage); - } - } - - public static string LoadingExportableFailedGeneralErrorMessage - { - get - { - return Keys.GetString(Keys.LoadingExportableFailedGeneralErrorMessage); - } - } - - public static string FirewallRuleUnsupportedConnectionType - { - get - { - return Keys.GetString(Keys.FirewallRuleUnsupportedConnectionType); - } - } - - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - public class Keys - { - static ResourceManager resourceManager = new ResourceManager("Microsoft.SqlTools.ResourceProvider.Core.Localization.SR", typeof(SR).GetTypeInfo().Assembly); - - static CultureInfo _culture = null; - - - public const string NoSubscriptionsFound = "NoSubscriptionsFound"; - - - public const string AzureServerNotFound = "AzureServerNotFound"; - - - public const string AzureSubscriptionFailedErrorMessage = "AzureSubscriptionFailedErrorMessage"; - - - public const string DatabaseDiscoveryFailedErrorMessage = "DatabaseDiscoveryFailedErrorMessage"; - - - public const string FirewallRuleAccessForbidden = "FirewallRuleAccessForbidden"; - - - public const string FirewallRuleCreationFailed = "FirewallRuleCreationFailed"; - - - public const string FirewallRuleCreationFailedWithError = "FirewallRuleCreationFailedWithError"; - - - public const string InvalidIpAddress = "InvalidIpAddress"; - - - public const string InvalidServerTypeErrorMessage = "InvalidServerTypeErrorMessage"; - - - public const string LoadingExportableFailedGeneralErrorMessage = "LoadingExportableFailedGeneralErrorMessage"; - - - public const string FirewallRuleUnsupportedConnectionType = "FirewallRuleUnsupportedConnectionType"; - - - private Keys() - { } - - public static CultureInfo Culture - { - get - { - return _culture; - } - set - { - _culture = value; - } - } - - public static string GetString(string key) - { - return resourceManager.GetString(key, _culture); - } - - } - } -} +// WARNING: +// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0 +// from information in sr.strings +// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN +// +namespace Microsoft.SqlTools.ResourceProvider.Core +{ + using System; + using System.Reflection; + using System.Resources; + using System.Globalization; + + [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class SR + { + protected SR() + { } + + public static CultureInfo Culture + { + get + { + return Keys.Culture; + } + set + { + Keys.Culture = value; + } + } + + + public static string NoSubscriptionsFound + { + get + { + return Keys.GetString(Keys.NoSubscriptionsFound); + } + } + + public static string AzureServerNotFound + { + get + { + return Keys.GetString(Keys.AzureServerNotFound); + } + } + + public static string AzureSubscriptionFailedErrorMessage + { + get + { + return Keys.GetString(Keys.AzureSubscriptionFailedErrorMessage); + } + } + + public static string DatabaseDiscoveryFailedErrorMessage + { + get + { + return Keys.GetString(Keys.DatabaseDiscoveryFailedErrorMessage); + } + } + + public static string FirewallRuleAccessForbidden + { + get + { + return Keys.GetString(Keys.FirewallRuleAccessForbidden); + } + } + + public static string FirewallRuleCreationFailed + { + get + { + return Keys.GetString(Keys.FirewallRuleCreationFailed); + } + } + + public static string FirewallRuleCreationFailedWithError + { + get + { + return Keys.GetString(Keys.FirewallRuleCreationFailedWithError); + } + } + + public static string InvalidIpAddress + { + get + { + return Keys.GetString(Keys.InvalidIpAddress); + } + } + + public static string InvalidServerTypeErrorMessage + { + get + { + return Keys.GetString(Keys.InvalidServerTypeErrorMessage); + } + } + + public static string LoadingExportableFailedGeneralErrorMessage + { + get + { + return Keys.GetString(Keys.LoadingExportableFailedGeneralErrorMessage); + } + } + + public static string FirewallRuleUnsupportedConnectionType + { + get + { + return Keys.GetString(Keys.FirewallRuleUnsupportedConnectionType); + } + } + + [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Keys + { + static ResourceManager resourceManager = new ResourceManager("Microsoft.SqlTools.ResourceProvider.Core.Localization.SR", typeof(SR).GetTypeInfo().Assembly); + + static CultureInfo _culture = null; + + + public const string NoSubscriptionsFound = "NoSubscriptionsFound"; + + + public const string AzureServerNotFound = "AzureServerNotFound"; + + + public const string AzureSubscriptionFailedErrorMessage = "AzureSubscriptionFailedErrorMessage"; + + + public const string DatabaseDiscoveryFailedErrorMessage = "DatabaseDiscoveryFailedErrorMessage"; + + + public const string FirewallRuleAccessForbidden = "FirewallRuleAccessForbidden"; + + + public const string FirewallRuleCreationFailed = "FirewallRuleCreationFailed"; + + + public const string FirewallRuleCreationFailedWithError = "FirewallRuleCreationFailedWithError"; + + + public const string InvalidIpAddress = "InvalidIpAddress"; + + + public const string InvalidServerTypeErrorMessage = "InvalidServerTypeErrorMessage"; + + + public const string LoadingExportableFailedGeneralErrorMessage = "LoadingExportableFailedGeneralErrorMessage"; + + + public const string FirewallRuleUnsupportedConnectionType = "FirewallRuleUnsupportedConnectionType"; + + + private Keys() + { } + + public static CultureInfo Culture + { + get + { + return _culture; + } + set + { + _culture = value; + } + } + + public static string GetString(string key) + { + return resourceManager.GetString(key, _culture); + } + + } + } +} diff --git a/src/Microsoft.SqlTools.ResourceProvider.Core/Localization/sr.resx b/src/Microsoft.SqlTools.ResourceProvider.Core/Localization/sr.resx old mode 100755 new mode 100644 index f29ca678..2ed54975 --- a/src/Microsoft.SqlTools.ResourceProvider.Core/Localization/sr.resx +++ b/src/Microsoft.SqlTools.ResourceProvider.Core/Localization/sr.resx @@ -1,164 +1,164 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - No subscriptions were found for the currently logged in user account. - - - - The server you specified {0} does not exist in any subscription in {1}. Either you have signed in with an incorrect account or your server was removed from subscription(s) in this account. Please check your account and try again. - - - - An error occurred while getting Azure subscriptions: {0} - - - - An error occurred while getting databases from servers of type {0} from {1} - - - - {0} does not have permission to change the server firewall rule. Try again with a different account that is an Owner or Contributor of the Azure subscription or the server. - - - - An error occurred while creating a new firewall rule. - - - - An error occurred while creating a new firewall rule: '{0}' - - - - Invalid IP address - - - - Server Type is invalid. - - - - A required dll cannot be loaded. Please repair your application. - - - - Cannot open a firewall rule for the specified connection type - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + No subscriptions were found for the currently logged in user account. + + + + The server you specified {0} does not exist in any subscription in {1}. Either you have signed in with an incorrect account or your server was removed from subscription(s) in this account. Please check your account and try again. + + + + An error occurred while getting Azure subscriptions: {0} + + + + An error occurred while getting databases from servers of type {0} from {1} + + + + {0} does not have permission to change the server firewall rule. Try again with a different account that is an Owner or Contributor of the Azure subscription or the server. + + + + An error occurred while creating a new firewall rule. + + + + An error occurred while creating a new firewall rule: '{0}' + + + + Invalid IP address + + + + Server Type is invalid. + + + + A required dll cannot be loaded. Please repair your application. + + + + Cannot open a firewall rule for the specified connection type + + + diff --git a/src/Microsoft.SqlTools.ResourceProvider.DefaultImpl/Localization/sr.cs b/src/Microsoft.SqlTools.ResourceProvider.DefaultImpl/Localization/sr.cs old mode 100755 new mode 100644 index 576a0ecd..12cc7b9f --- a/src/Microsoft.SqlTools.ResourceProvider.DefaultImpl/Localization/sr.cs +++ b/src/Microsoft.SqlTools.ResourceProvider.DefaultImpl/Localization/sr.cs @@ -1,172 +1,172 @@ -// WARNING: -// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0 -// from information in sr.strings -// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN -// -namespace Microsoft.SqlTools.ResourceProvider.DefaultImpl -{ - using System; - using System.Reflection; - using System.Resources; - using System.Globalization; - - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class SR - { - protected SR() - { } - - public static CultureInfo Culture - { - get - { - return Keys.Culture; - } - set - { - Keys.Culture = value; - } - } - - - public static string FailedToGetAzureDatabasesErrorMessage - { - get - { - return Keys.GetString(Keys.FailedToGetAzureDatabasesErrorMessage); - } - } - - public static string FailedToGetAzureSubscriptionsErrorMessage - { - get - { - return Keys.GetString(Keys.FailedToGetAzureSubscriptionsErrorMessage); - } - } - - public static string FailedToGetAzureResourceGroupsErrorMessage - { - get - { - return Keys.GetString(Keys.FailedToGetAzureResourceGroupsErrorMessage); - } - } - - public static string FailedToGetAzureSqlServersErrorMessage - { - get - { - return Keys.GetString(Keys.FailedToGetAzureSqlServersErrorMessage); - } - } - - public static string FailedToGetAzureSqlServersWithError - { - get - { - return Keys.GetString(Keys.FailedToGetAzureSqlServersWithError); - } - } - - public static string FirewallRuleCreationFailed - { - get - { - return Keys.GetString(Keys.FirewallRuleCreationFailed); - } - } - - public static string FirewallRuleCreationFailedWithError - { - get - { - return Keys.GetString(Keys.FirewallRuleCreationFailedWithError); - } - } - - public static string UnsupportedAuthType - { - get - { - return Keys.GetString(Keys.UnsupportedAuthType); - } - } - - public static string UserNotFoundError - { - get - { - return Keys.GetString(Keys.UserNotFoundError); - } - } - - public static string UserNeedsAuthenticationError - { - get - { - return Keys.GetString(Keys.UserNeedsAuthenticationError); - } - } - - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - public class Keys - { - static ResourceManager resourceManager = new ResourceManager("Microsoft.SqlTools.ResourceProvider.DefaultImpl.Localization.SR", typeof(SR).GetTypeInfo().Assembly); - - static CultureInfo _culture = null; - - - public const string FailedToGetAzureDatabasesErrorMessage = "FailedToGetAzureDatabasesErrorMessage"; - - - public const string FailedToGetAzureSubscriptionsErrorMessage = "FailedToGetAzureSubscriptionsErrorMessage"; - - - public const string FailedToGetAzureResourceGroupsErrorMessage = "FailedToGetAzureResourceGroupsErrorMessage"; - - - public const string FailedToGetAzureSqlServersErrorMessage = "FailedToGetAzureSqlServersErrorMessage"; - - - public const string FailedToGetAzureSqlServersWithError = "FailedToGetAzureSqlServersWithError"; - - - public const string FirewallRuleCreationFailed = "FirewallRuleCreationFailed"; - - - public const string FirewallRuleCreationFailedWithError = "FirewallRuleCreationFailedWithError"; - - - public const string UnsupportedAuthType = "UnsupportedAuthType"; - - - public const string UserNotFoundError = "UserNotFoundError"; - - - public const string UserNeedsAuthenticationError = "UserNeedsAuthenticationError"; - - - private Keys() - { } - - public static CultureInfo Culture - { - get - { - return _culture; - } - set - { - _culture = value; - } - } - - public static string GetString(string key) - { - return resourceManager.GetString(key, _culture); - } - - } - } -} +// WARNING: +// This file was generated by the Microsoft DataWarehouse String Resource Tool 4.0.0.0 +// from information in sr.strings +// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN +// +namespace Microsoft.SqlTools.ResourceProvider.DefaultImpl +{ + using System; + using System.Reflection; + using System.Resources; + using System.Globalization; + + [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class SR + { + protected SR() + { } + + public static CultureInfo Culture + { + get + { + return Keys.Culture; + } + set + { + Keys.Culture = value; + } + } + + + public static string FailedToGetAzureDatabasesErrorMessage + { + get + { + return Keys.GetString(Keys.FailedToGetAzureDatabasesErrorMessage); + } + } + + public static string FailedToGetAzureSubscriptionsErrorMessage + { + get + { + return Keys.GetString(Keys.FailedToGetAzureSubscriptionsErrorMessage); + } + } + + public static string FailedToGetAzureResourceGroupsErrorMessage + { + get + { + return Keys.GetString(Keys.FailedToGetAzureResourceGroupsErrorMessage); + } + } + + public static string FailedToGetAzureSqlServersErrorMessage + { + get + { + return Keys.GetString(Keys.FailedToGetAzureSqlServersErrorMessage); + } + } + + public static string FailedToGetAzureSqlServersWithError + { + get + { + return Keys.GetString(Keys.FailedToGetAzureSqlServersWithError); + } + } + + public static string FirewallRuleCreationFailed + { + get + { + return Keys.GetString(Keys.FirewallRuleCreationFailed); + } + } + + public static string FirewallRuleCreationFailedWithError + { + get + { + return Keys.GetString(Keys.FirewallRuleCreationFailedWithError); + } + } + + public static string UnsupportedAuthType + { + get + { + return Keys.GetString(Keys.UnsupportedAuthType); + } + } + + public static string UserNotFoundError + { + get + { + return Keys.GetString(Keys.UserNotFoundError); + } + } + + public static string UserNeedsAuthenticationError + { + get + { + return Keys.GetString(Keys.UserNeedsAuthenticationError); + } + } + + [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + public class Keys + { + static ResourceManager resourceManager = new ResourceManager("Microsoft.SqlTools.ResourceProvider.DefaultImpl.Localization.SR", typeof(SR).GetTypeInfo().Assembly); + + static CultureInfo _culture = null; + + + public const string FailedToGetAzureDatabasesErrorMessage = "FailedToGetAzureDatabasesErrorMessage"; + + + public const string FailedToGetAzureSubscriptionsErrorMessage = "FailedToGetAzureSubscriptionsErrorMessage"; + + + public const string FailedToGetAzureResourceGroupsErrorMessage = "FailedToGetAzureResourceGroupsErrorMessage"; + + + public const string FailedToGetAzureSqlServersErrorMessage = "FailedToGetAzureSqlServersErrorMessage"; + + + public const string FailedToGetAzureSqlServersWithError = "FailedToGetAzureSqlServersWithError"; + + + public const string FirewallRuleCreationFailed = "FirewallRuleCreationFailed"; + + + public const string FirewallRuleCreationFailedWithError = "FirewallRuleCreationFailedWithError"; + + + public const string UnsupportedAuthType = "UnsupportedAuthType"; + + + public const string UserNotFoundError = "UserNotFoundError"; + + + public const string UserNeedsAuthenticationError = "UserNeedsAuthenticationError"; + + + private Keys() + { } + + public static CultureInfo Culture + { + get + { + return _culture; + } + set + { + _culture = value; + } + } + + public static string GetString(string key) + { + return resourceManager.GetString(key, _culture); + } + + } + } +} diff --git a/src/Microsoft.SqlTools.ResourceProvider.DefaultImpl/Localization/sr.resx b/src/Microsoft.SqlTools.ResourceProvider.DefaultImpl/Localization/sr.resx old mode 100755 new mode 100644 index b59df93d..01a74545 --- a/src/Microsoft.SqlTools.ResourceProvider.DefaultImpl/Localization/sr.resx +++ b/src/Microsoft.SqlTools.ResourceProvider.DefaultImpl/Localization/sr.resx @@ -1,160 +1,160 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - An error occurred while getting Azure databases - - - - An error occurred while getting Azure subscriptions: {0} - - - - An error occurred while getting Azure resource groups: {0} - - - - An error occurred while getting Azure Sql Servers - - - - An error occurred while getting Azure Sql Servers: '{0}' - - - - An error occurred while creating a new firewall rule. - - - - An error occurred while creating a new firewall rule: '{0}' - - - - Unsupported account type '{0}' for this provider - - - - No user was found, cannot execute the operation - - - - The current user must be reauthenticated before executing this operation - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + An error occurred while getting Azure databases + + + + An error occurred while getting Azure subscriptions: {0} + + + + An error occurred while getting Azure resource groups: {0} + + + + An error occurred while getting Azure Sql Servers + + + + An error occurred while getting Azure Sql Servers: '{0}' + + + + An error occurred while creating a new firewall rule. + + + + An error occurred while creating a new firewall rule: '{0}' + + + + Unsupported account type '{0}' for this provider + + + + No user was found, cannot execute the operation + + + + The current user must be reauthenticated before executing this operation + + +