mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Update SQL binding prompt string to be more clear (#16982)
* update SQL binding prompt string to be more clear * update variable name
This commit is contained in:
@@ -452,7 +452,7 @@ export const input = localize('input', "Input");
|
|||||||
export const output = localize('output', "Output");
|
export const output = localize('output', "Output");
|
||||||
export const selectBindingType = localize('selectBindingType', "Select type of binding");
|
export const selectBindingType = localize('selectBindingType', "Select type of binding");
|
||||||
export const selectAzureFunction = localize('selectAzureFunction', "Select an Azure function in the current file to add SQL binding to");
|
export const selectAzureFunction = localize('selectAzureFunction', "Select an Azure function in the current file to add SQL binding to");
|
||||||
export const sqlObjectToQuery = localize('sqlObjectToQuery', "SQL object to query");
|
export const sqlTableOrViewToQuery = localize('sqlTableOrViewToQuery', "SQL table or view to query");
|
||||||
export const sqlTableToUpsert = localize('sqlTableToUpsert', "SQL table to upsert into");
|
export const sqlTableToUpsert = localize('sqlTableToUpsert', "SQL table to upsert into");
|
||||||
export const connectionStringSetting = localize('connectionStringSetting', "Connection string setting name");
|
export const connectionStringSetting = localize('connectionStringSetting', "Connection string setting name");
|
||||||
export const selectSetting = localize('selectSetting', "Select SQL connection string setting from local.settings.json");
|
export const selectSetting = localize('selectSetting', "Select SQL connection string setting from local.settings.json");
|
||||||
|
|||||||
@@ -65,7 +65,7 @@ export async function launchAddSqlBindingQuickpick(uri: vscode.Uri | undefined,
|
|||||||
|
|
||||||
// 3. ask for object name for the binding
|
// 3. ask for object name for the binding
|
||||||
const objectName = await vscode.window.showInputBox({
|
const objectName = await vscode.window.showInputBox({
|
||||||
prompt: selectedBinding.type === BindingType.input ? constants.sqlObjectToQuery : constants.sqlTableToUpsert,
|
prompt: selectedBinding.type === BindingType.input ? constants.sqlTableOrViewToQuery : constants.sqlTableToUpsert,
|
||||||
value: constants.placeHolderObject,
|
value: constants.placeHolderObject,
|
||||||
ignoreFocusOut: true
|
ignoreFocusOut: true
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user