mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-10 02:02:37 -05:00
Add error for sql bindings when .net 5 (#1259)
* add error for sql bindings when .net 5 * add test * cleanup linq stuff and move out common code
This commit is contained in:
@@ -3053,6 +3053,14 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
}
|
||||
}
|
||||
|
||||
public static string SqlBindingsNet5NotSupported
|
||||
{
|
||||
get
|
||||
{
|
||||
return Keys.GetString(Keys.SqlBindingsNet5NotSupported);
|
||||
}
|
||||
}
|
||||
|
||||
public static string ConnectionServiceListDbErrorNotConnected(string uri)
|
||||
{
|
||||
return Keys.GetString(Keys.ConnectionServiceListDbErrorNotConnected, uri);
|
||||
@@ -4571,6 +4579,9 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
public const string MoreThanOneAzureFunctionWithName = "MoreThanOneAzureFunctionWithName";
|
||||
|
||||
|
||||
public const string SqlBindingsNet5NotSupported = "SqlBindingsNet5NotSupported";
|
||||
|
||||
|
||||
private Keys()
|
||||
{ }
|
||||
|
||||
|
||||
@@ -1864,4 +1864,8 @@
|
||||
<comment>.
|
||||
Parameters: 0 - functionName (string), 1 - fileName (string) </comment>
|
||||
</data>
|
||||
<data name="SqlBindingsNet5NotSupported" xml:space="preserve">
|
||||
<value>Adding SQL bindings is not supported for .NET 5</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
</root>
|
||||
|
||||
@@ -853,4 +853,5 @@ SqlAssessmentUnsuppoertedEdition(int editionCode) = Unsupported engine edition {
|
||||
############################################################################
|
||||
# Azure Functions
|
||||
CouldntFindAzureFunction(string functionName, string fileName) = Couldn't find Azure function with FunctionName '{0}' in {1}
|
||||
MoreThanOneAzureFunctionWithName(string functionName, string fileName) = More than one Azure function found with the FunctionName '{0}' in {1}
|
||||
MoreThanOneAzureFunctionWithName(string functionName, string fileName) = More than one Azure function found with the FunctionName '{0}' in {1}
|
||||
SqlBindingsNet5NotSupported = Adding SQL bindings is not supported for .NET 5
|
||||
@@ -2173,6 +2173,11 @@
|
||||
<note>.
|
||||
Parameters: 0 - functionName (string), 1 - fileName (string) </note>
|
||||
</trans-unit>
|
||||
<trans-unit id="SqlBindingsNet5NotSupported">
|
||||
<source>Adding SQL bindings is not supported for .NET 5</source>
|
||||
<target state="new">Adding SQL bindings is not supported for .NET 5</target>
|
||||
<note></note>
|
||||
</trans-unit>
|
||||
</body>
|
||||
</file>
|
||||
</xliff>
|
||||
Reference in New Issue
Block a user