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
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,59 +20,59 @@ 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="Screenshot of a 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":::
23
+
:::image type="content" alt-text="Screenshot of a 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
27
-
:::image type="content" alt-text="Screenshot of a prompt to select the object type" source="./media/create-azure-function-with-mssql/select-object-type.png":::
27
+
:::image type="content" alt-text="Screenshot of a prompt to select the object type." source="./media/create-azure-function-with-mssql/select-object-type.png":::
28
28
29
29
Then the extension will prompt you to select a connection profile to use for the Azure Function or create a connection profile.
30
30
31
-
:::image type="content" alt-text="Screenshot of a prompt for connection profile" source="./media/create-azure-function-with-mssql/prompt-for-connection-profile.png":::
31
+
:::image type="content" alt-text="Screenshot of a prompt for connection profile." source="./media/create-azure-function-with-mssql/prompt-for-connection-profile.png":::
32
32
33
33
Once you either select a connection profile or create a new connection profile, the extension will prompt you to select the database from the selected connection to use for the Azure Function.
34
34
35
-
:::image type="content" alt-text="Screenshot of a prompt for database" source="./media/create-azure-function-with-mssql/select-database.png":::
35
+
:::image type="content" alt-text="Screenshot of a prompt for database" source.="./media/create-azure-function-with-mssql/select-database.png":::
36
36
37
37
Once you select a database, the extension will prompt you to select a table, or view to use or to enter a table or view to query or upsert into. This prompt is based on the object type you selected earlier.
38
38
39
39
> [!NOTE]
40
40
> Azure Function with SQL Binding from a `View` is only supported for `Input` bindings.
41
41
42
42
Prompt for Table:
43
-
:::image type="content" alt-text="Screenshot of a prompt for table" source="./media/create-azure-function-with-mssql/select-table.png":::
43
+
:::image type="content" alt-text="Screenshot of a prompt for table." source="./media/create-azure-function-with-mssql/select-table.png":::
44
44
45
45
Prompt for View:
46
-
:::image type="content" alt-text="Screenshot of a prompt for view" source="./media/create-azure-function-with-mssql/select-view.png":::
46
+
:::image type="content" alt-text="Screenshot of a prompt for view." source="./media/create-azure-function-with-mssql/select-view.png":::
47
47
48
48
The extension will then prompt you to enter the function name to be used for the Azure Function.
49
49
50
-
:::image type="content" alt-text="Screenshot of a prompt to enter function name" source="./media/create-azure-function-with-mssql/function-name-prompt.png":::
50
+
:::image type="content" alt-text="Screenshot of a prompt to enter function name." source="./media/create-azure-function-with-mssql/function-name-prompt.png":::
51
51
52
52
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.
53
53
54
-
:::image type="content" alt-text="Screenshot of a prompt to select connection string setting" source="./media/create-azure-function-with-mssql/create-new-sql-connection-string-setting.png":::
54
+
:::image type="content" alt-text="Screenshot of a prompt to select connection string setting." source="./media/create-azure-function-with-mssql/create-new-sql-connection-string-setting.png":::
55
55
56
56
If you select `Create new local app setting`, then the extension will prompt you to enter the connection string name and value.
57
57
58
-
:::image type="content" alt-text="Screenshot of a prompt to enter connection string" source="./media/create-azure-function-with-mssql/enter-connection-string-setting-name.png":::
58
+
:::image type="content" alt-text="Screenshot of a prompt to enter connection string." source="./media/create-azure-function-with-mssql/enter-connection-string-setting-name.png":::
59
59
60
60
If you're creating the `Azure Function with SQL Binding` to an existing Azure Function project, then the extension will prompt you whether you would like to include the password for the connection string in the local.settings.json file.
61
61
62
-
:::image type="content" alt-text="Screenshot of a prompt to save the password to the SQL connection string" source="./media/create-azure-function-with-mssql/password-prompt.png":::
62
+
:::image type="content" alt-text="Screenshot of a prompt to save the password to the SQL connection string." source="./media/create-azure-function-with-mssql/password-prompt.png":::
63
63
64
64
If `Yes`, then the password will be saved to the local.settings.json file. If `No` then the extension will warn you that the password won't be saved to the local.settings.json file (shown below), and you'll need to manually add the password later to the local.settings.json file.
65
65
66
-
:::image type="content" alt-text="Screenshot of a warning to add password to SQL connection string later manually" source="./media/create-azure-function-with-mssql/do-not-save-password.png":::
66
+
:::image type="content" alt-text="Screenshot of a warning to add password to SQL connection string later manually." source="./media/create-azure-function-with-mssql/do-not-save-password.png":::
67
67
68
68
The extension will then prompt you to provide the namespace for the Azure Function.
69
-
:::image type="content" alt-text="Screenshot of a prompt for namespace for the Azure Function" source="./media/create-azure-function-with-mssql/namespace-for-function.png":::
69
+
:::image type="content" alt-text="Screenshot of a prompt for namespace for the Azure Function." source="./media/create-azure-function-with-mssql/namespace-for-function.png":::
70
70
71
71
If you're creating a brand new Azure Function project with SQL binding, then the extension will prompt whether you would like to include the password for the connection string in the local.settings.json file.
72
72
73
73
A progress notification will appear to indicate that the Azure Function has completed.
74
74
75
-
:::image type="content" alt-text="Screenshot of a information message indicating finished creating Azure Function Project" source="./media/create-azure-function-with-mssql/finished-creating-project.png":::
75
+
:::image type="content" alt-text="Screenshot of a information message indicating finished creating Azure Function Project." source="./media/create-azure-function-with-mssql/finished-creating-project.png":::
76
76
77
77
Once the Azure Function is created, the extension will generate the code either for an `Input` or `Output` binding shown [here](create-azure-function-with-mssql.md#generated-code-for-azure-functions-with-sql-bindings).
78
78
@@ -81,41 +81,41 @@ Once the Azure Function is created, the extension will generate the code either
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
83
84
-
:::image type="content" alt-text="Screenshot of a VS Code command palette command `MS SQL: Add SQL Binding (preview)" source="./media/create-azure-function-with-mssql/add-sql-binding-command-palette.png":::
84
+
:::image type="content" alt-text="Screenshot of a VS Code command palette command `MS SQL: Add SQL Binding (preview)." source="./media/create-azure-function-with-mssql/add-sql-binding-command-palette.png":::
85
85
86
86
The extension will then prompt you to select Azure function in the current file to add the SQL binding to.
87
-
:::image type="content" alt-text="Screenshot of Azure Functions found in project" source="./media/create-azure-function-with-mssql/select-azure-functions-in-file.png":::
87
+
:::image type="content" alt-text="Screenshot of Azure Functions found in project." source="./media/create-azure-function-with-mssql/select-azure-functions-in-file.png":::
88
88
89
89
If you're creating an Azure Function with SQL binding from a table, the extension will prompt you to select the binding type to use, either an `Input` (Retrieves data from a database) or `Output` (Save data to a database) binding.
90
90
91
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.
92
92
93
-
:::image type="content" alt-text="Screenshot of a 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
+
:::image type="content" alt-text="Screenshot of a prompt to select or create a new connection string setting." source="./media/create-azure-function-with-mssql/create-new-sql-connection-string-setting.png":::
94
94
95
95
If you select `Create new local app setting`, then the extension will prompt you to enter the connection string name and value.
96
96
97
-
:::image type="content" alt-text="Screenshot of a prompt to enter connection string" source="./media/create-azure-function-with-mssql/enter-connection-string-setting-name.png":::
97
+
:::image type="content" alt-text="Screenshot of a prompt to enter connection string." source="./media/create-azure-function-with-mssql/enter-connection-string-setting-name.png":::
98
98
99
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.
100
100
101
-
:::image type="content" alt-text="Screenshot of a prompt to select connection string setting method" source="./media/create-azure-function-with-mssql/select-connection-string-method.png":::
101
+
:::image type="content" alt-text="Screenshot of a prompt to select connection string setting method." source="./media/create-azure-function-with-mssql/select-connection-string-method.png":::
102
102
103
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.
104
104
105
-
:::image type="content" alt-text="Screenshot of a prompt for database" source="./media/create-azure-function-with-mssql/select-database.png":::
105
+
:::image type="content" alt-text="Screenshot of a prompt for database." source="./media/create-azure-function-with-mssql/select-database.png":::
106
106
107
107
Once you select a database, the extension will prompt you to select a table to use, or to enter a table or view to query or upsert into.
108
108
109
109
Prompt for Table:
110
-
:::image type="content" alt-text="Screenshot of a prompt for table" source="./media/create-azure-function-with-mssql/select-table.png":::
110
+
:::image type="content" alt-text="Screenshot of a prompt for table." source="./media/create-azure-function-with-mssql/select-table.png":::
111
111
112
112
The extension will then prompt you whether you would like to include the password for the connection string in the local.settings.json file.
113
113
114
-
:::image type="content" alt-text="Screenshot of a prompt to save the password to the SQL connection string" source="./media/create-azure-function-with-mssql/password-prompt.png":::
114
+
:::image type="content" alt-text="Screenshot of a prompt to save the password to the SQL connection string." source="./media/create-azure-function-with-mssql/password-prompt.png":::
115
115
116
116
If `Yes`, then the password will be saved to the local.settings.json file. If `No` then the extension will warn you that the password won't be saved to the local.settings.json file (shown below), and you'll need to manually add the password later to the local.settings.json file.
117
117
118
-
:::image type="content" alt-text="Screenshot of a warning to add password to SQL connection string later manually" source="./media/create-azure-function-with-mssql/do-not-save-password.png":::
118
+
:::image type="content" alt-text="Screenshot of a warning to add password to SQL connection string later manually." source="./media/create-azure-function-with-mssql/do-not-save-password.png":::
119
119
120
120
Once the Azure Function is created, the extension will generate the code either for an `Input` or `Output` binding shown [here](create-azure-function-with-mssql.md#generated-code-for-azure-functions-with-sql-bindings).
Copy file name to clipboardExpand all lines: docs/tools/visual-studio-code/create-azure-function-with-mssql-object-explorer.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,48 +28,48 @@ To create an Azure Function from a specific `Table` or `View` in object explorer
28
28
29
29
If you haven't yet created the Azure Function project, a VS Code prompt will appear to aid in creating a new Azure Function project.
30
30
31
-
:::image type="content" alt-text="Screenshot of 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-project.png":::
31
+
:::image type="content" alt-text="Screenshot of 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-project.png":::
32
32
33
33
The extension will then ask you to select the folder where you want to create the Azure Function.
34
34
35
-
:::image type="content" alt-text="Screenshot of a prompt to choose folder to create Azure Function with SQL binding to" source="./media/create-azure-function-with-mssql/select-folder-to-use-for-function.png":::
35
+
:::image type="content" alt-text="Screenshot of a prompt to choose folder to create Azure Function with SQL binding to." source="./media/create-azure-function-with-mssql/select-folder-to-use-for-function.png":::
36
36
37
37
If you're creating an Azure Function with SQL binding from a table, the extension will prompt you to select the binding type to use, either an `Input` (Retrieves data from a database) or `Output` (Save data to a database) binding.
38
38
39
39
> [!NOTE]
40
40
> Azure Function with SQL Binding from a `View` is only supported for `Input` bindings.
41
41
42
-
:::image type="content" alt-text="Screenshot of a prompt to select binding type" source="./media/create-azure-function-with-mssql/binding-type-prompt.png":::
42
+
:::image type="content" alt-text="Screenshot of a prompt to select binding type." source="./media/create-azure-function-with-mssql/binding-type-prompt.png":::
43
43
44
44
The extension will then prompt you to enter the function name to be used for the Azure Function.
45
45
46
-
:::image type="content" alt-text="Screenshot of a prompt to enter function name" source="./media/create-azure-function-with-mssql/function-name-prompt.png":::
46
+
:::image type="content" alt-text="Screenshot of a prompt to enter function name." source="./media/create-azure-function-with-mssql/function-name-prompt.png":::
47
47
48
48
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.
49
49
50
-
:::image type="content" alt-text="Screenshot of a prompt to select connection string setting" source="./media/create-azure-function-with-mssql/create-new-sql-connection-string-setting.png":::
50
+
:::image type="content" alt-text="Screenshot of a prompt to select connection string setting." source="./media/create-azure-function-with-mssql/create-new-sql-connection-string-setting.png":::
51
51
52
52
If you select `Create new local app setting`, then the extension will prompt you to enter the connection string name and value.
53
53
54
-
:::image type="content" alt-text="Screenshot of a pPrompt to enter connection string" source="./media/create-azure-function-with-mssql/enter-connection-string-setting-name.png":::
54
+
:::image type="content" alt-text="Screenshot of a pPrompt to enter connection string." source="./media/create-azure-function-with-mssql/enter-connection-string-setting-name.png":::
55
55
56
56
If you're creating the `Azure Function with SQL Binding` to an existing Azure Function project, then the extension will prompt you whether you would like to include the password for the connection string in the local.settings.json file.
57
57
58
-
:::image type="content" alt-text="Screenshot of a prompt to save the password to the SQL connection string" source="./media/create-azure-function-with-mssql/password-prompt.png":::
58
+
:::image type="content" alt-text="Screenshot of a prompt to save the password to the SQL connection string." source="./media/create-azure-function-with-mssql/password-prompt.png":::
59
59
60
60
If `Yes`, then the password will be saved to the local.settings.json file. If `No` then the extension will warn you that the password won't be saved to the local.settings.json file (shown below), and you'll need to manually add the password later to the local.settings.json file.
61
61
62
-
:::image type="content" alt-text="Screenshot of a warning to add password to SQL connection string later manually" source="./media/create-azure-function-with-mssql/do-not-save-password.png":::
62
+
:::image type="content" alt-text="Screenshot of a warning to add password to SQL connection string later manually." source="./media/create-azure-function-with-mssql/do-not-save-password.png":::
63
63
64
64
The extension will then prompt you to provide the namespace for the Azure Function.
65
65
66
-
:::image type="content" alt-text="Screenshot of a prompt for namespace for the Azure Function" source="./media/create-azure-function-with-mssql/namespace-for-function.png":::
66
+
:::image type="content" alt-text="Screenshot of a prompt for namespace for the Azure Function." source="./media/create-azure-function-with-mssql/namespace-for-function.png":::
67
67
68
68
If you're creating a brand new Azure Function project with SQL binding, then the extension will prompt whether you would like to include the password for the connection string in the local.settings.json file.
69
69
70
70
A progress notification will appear to indicate that the Azure Function has completed.
71
71
72
-
:::image type="content" alt-text="Screenshot of a information message indicating finished creating Azure Function Project" source="./media/create-azure-function-with-mssql/finished-creating-project.png":::
72
+
:::image type="content" alt-text="Screenshot of a information message indicating finished creating Azure Function Project." source="./media/create-azure-function-with-mssql/finished-creating-project.png":::
73
73
74
74
Once the Azure Function is created, the extension will generate the code either for an `Input` or `Output` binding shown [here](create-azure-function-with-mssql.md#generated-code-for-azure-functions-with-sql-bindings).
Copy file name to clipboardExpand all lines: docs/tools/visual-studio-code/create-azure-function-with-mssql.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,15 +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 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":::
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.
0 commit comments