mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
* Check database case sensitivity before peek definition token matching * Add sr gen * add tests for ignore case * remove sr.Designer
722 lines
21 KiB
C#
722 lines
21 KiB
C#
// WARNING:
|
|
// This file was generated by the Microsoft DataWarehouse String Resource Tool 1.37.0.0
|
|
// from information in sr.strings
|
|
// DO NOT MODIFY THIS FILE'S CONTENTS, THEY WILL BE OVERWRITTEN
|
|
//
|
|
namespace Microsoft.SqlTools.ServiceLayer
|
|
{
|
|
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 CredentialsServiceInvalidCriticalHandle
|
|
{
|
|
get
|
|
{
|
|
return Keys.GetString(Keys.CredentialsServiceInvalidCriticalHandle);
|
|
}
|
|
}
|
|
|
|
public static string CredentialsServicePasswordLengthExceeded
|
|
{
|
|
get
|
|
{
|
|
return Keys.GetString(Keys.CredentialsServicePasswordLengthExceeded);
|
|
}
|
|
}
|
|
|
|
public static string CredentialsServiceTargetForDelete
|
|
{
|
|
get
|
|
{
|
|
return Keys.GetString(Keys.CredentialsServiceTargetForDelete);
|
|
}
|
|
}
|
|
|
|
public static string CredentialsServiceTargetForLookup
|
|
{
|
|
get
|
|
{
|
|
return Keys.GetString(Keys.CredentialsServiceTargetForLookup);
|
|
}
|
|
}
|
|
|
|
public static string CredentialServiceWin32CredentialDisposed
|
|
{
|
|
get
|
|
{
|
|
return Keys.GetString(Keys.CredentialServiceWin32CredentialDisposed);
|
|
}
|
|
}
|
|
|
|
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 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 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 QueryServiceResultSetReaderNull
|
|
{
|
|
get
|
|
{
|
|
return Keys.GetString(Keys.QueryServiceResultSetReaderNull);
|
|
}
|
|
}
|
|
|
|
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 WorkspaceServicePositionLineOutOfRange
|
|
{
|
|
get
|
|
{
|
|
return Keys.GetString(Keys.WorkspaceServicePositionLineOutOfRange);
|
|
}
|
|
}
|
|
|
|
public static string ConnectionServiceListDbErrorNotConnected(string uri)
|
|
{
|
|
return Keys.GetString(Keys.ConnectionServiceListDbErrorNotConnected, 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);
|
|
}
|
|
|
|
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
|
public class Keys
|
|
{
|
|
static ResourceManager resourceManager = new ResourceManager("Microsoft.SqlTools.ServiceLayer.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 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 CredentialsServiceInvalidCriticalHandle = "CredentialsServiceInvalidCriticalHandle";
|
|
|
|
|
|
public const string CredentialsServicePasswordLengthExceeded = "CredentialsServicePasswordLengthExceeded";
|
|
|
|
|
|
public const string CredentialsServiceTargetForDelete = "CredentialsServiceTargetForDelete";
|
|
|
|
|
|
public const string CredentialsServiceTargetForLookup = "CredentialsServiceTargetForLookup";
|
|
|
|
|
|
public const string CredentialServiceWin32CredentialDisposed = "CredentialServiceWin32CredentialDisposed";
|
|
|
|
|
|
public const string HostingUnexpectedEndOfStream = "HostingUnexpectedEndOfStream";
|
|
|
|
|
|
public const string HostingHeaderMissingColon = "HostingHeaderMissingColon";
|
|
|
|
|
|
public const string HostingHeaderMissingContentLengthHeader = "HostingHeaderMissingContentLengthHeader";
|
|
|
|
|
|
public const string HostingHeaderMissingContentLengthValue = "HostingHeaderMissingContentLengthValue";
|
|
|
|
|
|
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 QueryServiceRequestsNoQuery = "QueryServiceRequestsNoQuery";
|
|
|
|
|
|
public const string QueryServiceQueryInvalidOwnerUri = "QueryServiceQueryInvalidOwnerUri";
|
|
|
|
|
|
public const string QueryServiceQueryInProgress = "QueryServiceQueryInProgress";
|
|
|
|
|
|
public const string QueryServiceMessageSenderNotSql = "QueryServiceMessageSenderNotSql";
|
|
|
|
|
|
public const string QueryServiceResultSetReaderNull = "QueryServiceResultSetReaderNull";
|
|
|
|
|
|
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 WorkspaceServicePositionLineOutOfRange = "WorkspaceServicePositionLineOutOfRange";
|
|
|
|
|
|
public const string WorkspaceServicePositionColumnOutOfRange = "WorkspaceServicePositionColumnOutOfRange";
|
|
|
|
|
|
public const string WorkspaceServiceBufferPositionOutOfOrder = "WorkspaceServiceBufferPositionOutOfOrder";
|
|
|
|
|
|
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);
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|