You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tools/visual-studio-code/create-azure-function-with-mssql-command-palette.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Microsoft SQL Bindings for VS Code enable users to develop Azure Functions with
20
20
## From the Command Palette
21
21
Run the `MS SQL: Create Azure Function with SQL Binding` command from the command palette to create a new function with a SQL binding.
22
22
23
-
:::image type="content" alt-text="VS Code notification to create a new azure function project since none were found in folder" source="./media/create-azure-function-with-mssql/create-azure-function-using-command-palette.png":::
23
+
:::image type="content" alt-text="VS Code command palette command `MS SQL: Create Azure Function with SQL Binding )(preview)" source="./media/create-azure-function-with-mssql/create-azure-function-using-command-palette.png":::
24
24
25
25
The extension will then prompt you to select the object type to insert (`Input binding`) or upsert into (`Output binding`), either a `Table` or `View`.
26
26
@@ -80,7 +80,8 @@ Once the Azure Function is created, the extension will generate the code either
80
80
81
81
#### In an existing Azure Function
82
82
Open the C# Azure Function in an editor and then run the `MS SQL: Add SQL Binding` command from the command palette to add a SQL binding to an existing function.
83
-
:::image type="content" alt-text="VS Code notification to create a new azure function project since none were found in folder" source="./media/create-azure-function-with-mssql/add-sql-binding-command-palette.png":::
The extension will then prompt you to select Azure function in the current file to add the SQL binding to.
86
87
:::image type="content" alt-text="Azure Functions found in project" source="./media/create-azure-function-with-mssql/select-azure-functions-in-file.png":::
@@ -89,15 +90,15 @@ If you're creating an Azure Function with SQL binding from a table, the extensio
89
90
90
91
If you already have connection strings stored in the local.settings.json, then the extension will prompt you to select the connection string to use for the Azure Function or create a new connection string.
91
92
92
-
:::image type="content" alt-text="Prompt to select connection string setting" source="./media/create-azure-function-with-mssql/create-new-sql-connection-string-setting.png":::
93
+
:::image type="content" alt-text="Prompt to select or create a new connection string setting" source="./media/create-azure-function-with-mssql/create-new-sql-connection-string-setting.png":::
93
94
94
95
If you select `Create new local app setting` then the extension will prompt you to enter the connection string name and value.
95
96
96
97
:::image type="content" alt-text="Prompt to enter connection string" source="./media/create-azure-function-with-mssql/enter-connection-string-setting-name.png":::
97
98
98
99
The extension will then prompt you to select a connection string method to select a connection profile or enter a connection string to use for the SQL binding.
99
100
100
-
:::image type="content" alt-text="Prompt to select connection string setting" source="./media/create-azure-function-with-mssql/select-connection-string-method.png":::
101
+
:::image type="content" alt-text="Prompt to select connection string setting method" source="./media/create-azure-function-with-mssql/select-connection-string-method.png":::
101
102
102
103
If you decide to select a connection profile, the extension will prompt you to select the database from the selected connection to use for the Azure Function.
Copy file name to clipboardExpand all lines: docs/tools/visual-studio-code/create-azure-function-with-mssql.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,14 +33,15 @@ See further documentation to create an Azure function with SQL bindings from the
33
33
## From the Command Palette
34
34
Run the `MS SQL: Create Azure Function with SQL Binding` command from the command palette to create a new function with a SQL binding.
35
35
36
-
:::image type="content" alt-text="VS Code notification to create a new azure function project since none were found in folder" source="./media/create-azure-function-with-mssql/create-azure-function-using-command-palette.png":::
36
+
:::image type="content" alt-text="VS Code command palette command `MS SQL: Create Azure Function with SQL Binding (preview)" source="./media/create-azure-function-with-mssql/create-azure-function-using-command-palette.png":::
37
37
38
38
See further documentation to create an Azure function with SQL bindings from the command palette [here](create-azure-function-with-mssql-command-palette.md).
39
39
40
40
### In an existing Azure Function
41
41
42
42
Open the C# Azure Function in an editor and then run the `MS SQL: Add SQL Binding` command from the command palette to add a SQL binding to an existing function.
43
-
:::image type="content" alt-text="VS Code notification to create a new azure function project since none were found in folder" source="./media/create-azure-function-with-mssql/add-sql-binding-command-palette.png":::
0 commit comments