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
* Batch #2
* Reverting removal of the snippet files.
* Fixing build break caused by parameter not having a comment.
* These changes should fix the broken comments
Copy file name to clipboardExpand all lines: doc/snippets/Microsoft.Data.SqlClient/SqlBatchCommand.xml
+99-30Lines changed: 99 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -1,34 +1,89 @@
1
-
<?xml version="1.0"?>
2
-
<docs>
1
+
<docs>
3
2
<membersname="SqlBatchCommand">
4
3
<SqlBatchCommand>
5
4
<summary>
6
-
SqlBatchCommand allows for the execution of multiple SQL commands in a SqlBatch.
7
-
</summary>
5
+
SqlBatchCommand allows for the execution of multiple SQL commands in a SqlBatch.
6
+
</summary>
8
7
</SqlBatchCommand>
9
8
<ctor1>
10
-
<summary>Initializes a new <seecref="SqlBatchCommand"/>.</summary>
11
-
<remarks>
12
-
<formattype="text/markdown">
13
-
<.</param>
64
+
<summary>
65
+
Initializes a new <seecref="T:SqlBatchCommand" />.
66
+
</summary>
67
+
<paramname="commandText">
68
+
The text of the <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" />.
69
+
</param>
70
+
<paramname="commandType">
71
+
Indicates how the <seecref="P:Microsoft.Data.SqlClient.SqlBatchCommand.CommandText" /> property is to be interpreted.
72
+
</param>
73
+
<paramname="parameters">
74
+
A collection of <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> objects is used to create the <seecref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.
75
+
</param>
76
+
<paramname="columnEncryptionSetting">
77
+
The encryption setting. For more information, see <seehref="/sql/relational-databases/security/encryption/always-encrypted-database-engine">Always Encrypted</see>.
78
+
</param>
28
79
</ctor2>
29
80
<Parameters>
30
-
<summary>Gets the <seecref="T:Microsoft.Data.SqlClient.SqlParameterCollection"/>.</summary>
31
-
<value>The parameters of the Transact-SQL statement or stored procedure. The default is an empty collection.</value>
81
+
<summary>
82
+
Gets the <seecref="T:Microsoft.Data.SqlClient.SqlParameterCollection" />.
83
+
</summary>
84
+
<value>
85
+
The parameters of the Transact-SQL statement or stored procedure. The default is an empty collection.
86
+
</value>
32
87
</Parameters>
33
88
<CommandBehavior>
34
89
<summary>
@@ -38,28 +93,42 @@ The following example creates a <xref:Microsoft.Data.SqlClient.SqlConnection> an
38
93
<ColumnEncryptionSetting>
39
94
<summary>
40
95
Not currently implemented.
41
-
The encryption setting. For more information, see [Always Encrypted](/sql/relational-databases/security/encryption/always-encrypted-database-engine).
96
+
The encryption setting. For more information, see <seehref="/sql/relational-databases/security/encryption/always-encrypted-database-engine">Always Encrypted</see>.
42
97
</summary>
43
98
</ColumnEncryptionSetting>
44
99
<CreateParameter>
45
-
<summary>Creates a new instance of a <seecref="T:Microsoft.Data.SqlClient.SqlParameter"/> object.</summary>
100
+
<summary>
101
+
Creates a new instance of a <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> object.
102
+
</summary>
46
103
</CreateParameter>
47
104
<CanCreateParameter>
48
105
<summary>
49
-
Returns whether the <seecref="P:Microsoft.Data.SqlClient.SqlBatchCommand.CreateParameter"/> method is implemented.
106
+
Returns whether the <seecref="P:Microsoft.Data.SqlClient.SqlBatchCommand.CreateParameter"/> method is implemented.
50
107
</summary>
51
108
</CanCreateParameter>
52
109
<CommandText>
53
-
<summary>Gets or sets the text command to run against the data source.</summary>
54
-
<value>The text command to execute. The default value is an empty string ("").</value>
110
+
<summary>
111
+
Gets or sets the text command to run against the data source.
112
+
</summary>
113
+
<value>
114
+
The text command to execute. The default value is an empty string ("").
115
+
</value>
55
116
</CommandText>
56
117
<CommandType>
57
-
<summary>Gets or sets how the <seecref="P:Microsoft.Data.SqlClient.SqlBatchCommand.CommandText" /> property is interpreted.</summary>
58
-
<value>One of the enumeration values that specifies how a command string is interpreted. The default is <seelangword="Text" />.</value>
118
+
<summary>
119
+
Gets or sets how the <seecref="P:Microsoft.Data.SqlClient.SqlBatchCommand.CommandText" /> property is interpreted.
120
+
</summary>
121
+
<value>
122
+
One of the enumeration values that specifies how a command string is interpreted. The default is <seecref="F:System.Data.CommandType.Text" />.
123
+
</value>
59
124
</CommandType>
60
125
<DbParameterCollection>
61
-
<summary>Gets the collection of <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> objects.</summary>
62
-
<value>The parameters of the SQL statement or stored procedure.</value>
126
+
<summary>
127
+
Gets the collection of <seecref="T:Microsoft.Data.SqlClient.SqlParameter" /> objects.
128
+
</summary>
129
+
<value>
130
+
The parameters of the SQL statement or stored procedure.
A collection of instances of <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" />, contained within a <seecref="T:Microsoft.Data.SqlClient.SqlBatch" />.
9
6
</summary>
10
7
</SqlBatchCommandCollection>
11
8
<Add1>
12
9
<summary>
13
-
Add a
14
-
<seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" /> to the end of the
Determines whether a <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" /> is in the <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommandCollection" />.
33
24
</summary>
34
-
<value></value>
35
25
</Contains1>
36
26
<Contains2>
37
27
<paramname="item">
@@ -43,13 +33,11 @@
43
33
<returns>
44
34
<seelangword="true" /> if the <seecref="T:System.Data.Common.DbBatchCommand" /> is in the collection; otherwise <seelangword="false" />.
45
35
</returns>
46
-
<remarks>To be added.</remarks>
47
36
</Contains2>
48
37
<CopyTo1>
49
38
<summary>
50
39
Copies the entire <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommandCollection" /> to a one dimensional array, starting at the target index of the target array.
51
40
</summary>
52
-
<value></value>
53
41
</CopyTo1>
54
42
<CopyTo2>
55
43
<paramname="array">
@@ -61,7 +49,6 @@
61
49
<summary>
62
50
Copies the elements of the <seecref="T:System.Collections.Generic.ICollection`1" /> to an <seecref="T:System.Array" />, starting at a particular <seecref="T:System.Array" /> index.
63
51
</summary>
64
-
<remarks>To be added.</remarks>
65
52
</CopyTo2>
66
53
<IndexOf1>
67
54
<summary>
@@ -81,13 +68,11 @@
81
68
<returns>
82
69
The index of the specified <seecref="T:System.Data.Common.DbBatchCommand" /> object.
83
70
</returns>
84
-
<remarks>To be added.</remarks>
85
-
</IndexOf2>
71
+
</IndexOf2>
86
72
<Insert1>
87
73
<summary>
88
74
Inserts an item into the <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommandCollection" /> at the specified index.
Inserts the specified index of the <seecref="T:System.Data.Common.DbBatchCommand" /> object with the specified name into the collection at the specified index.
101
86
</summary>
102
-
<remarks>To be added.</remarks>
103
87
</Insert2>
104
88
<Remove1>
105
89
<summary>
@@ -111,25 +95,30 @@
111
95
</Remove1>
112
96
<Remove2>
113
97
<paramname="item">
114
-
The object to remove from the <seecref="T:System.Collections.Generic.ICollection`1" />.
98
+
The object to remove from the <seecref="T:System.Collections.Generic.ICollection`1" />.
115
99
</param>
116
100
<summary>
117
101
Removes the specified <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" /> object from the collection.
118
102
</summary>
119
103
<returns>
120
104
<seelangword="true" /> if <paramrefname="item" /> was successfully removed; otherwise, <seelangword="false" />. This method also returns <seelangword="false" /> if <paramrefname="item" /> was not found in the <seecref="T:System.Collections.Generic.ICollection`1" />.
121
-
</returns>
122
-
<remarks>To be added.</remarks>
105
+
</returns>
123
106
</Remove2>
124
107
<this1>
125
-
<summary>Gets or Sets the element at the specified index.</summary>
126
-
<returns>The element at the specified index.</returns>
The index where the <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" /> object should be located.
148
137
</param>
149
-
<paramname="batchCommand">To be added.</param>
138
+
<paramname="batchCommand">
139
+
The <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" /> object to add to the collection.
140
+
</param>
150
141
<summary>
151
142
Sets the <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" /> object at the specified index to a new value.
152
143
</summary>
153
-
<remarks>To be added.</remarks>
154
144
</SetBatchCommand>
155
145
<Count>
156
-
<summary>Gets the number of elements contained in the <seecref="T:System.Collections.Generic.ICollection`1" />.</summary>
157
-
<value>The number of elements contained in the <seecref="T:System.Collections.Generic.ICollection`1" />.</value>
146
+
<summary>
147
+
Gets the number of elements contained in the <seecref="T:System.Collections.Generic.ICollection`1" />.
148
+
</summary>
149
+
<value>
150
+
The number of elements contained in the <seecref="T:System.Collections.Generic.ICollection`1" />.
151
+
</value>
158
152
</Count>
159
153
<IsReadOnly>
160
-
<summary>Specifies whether the collection is read-only.</summary>
154
+
<summary>
155
+
Specifies whether the collection is read-only.
156
+
</summary>
161
157
<value>
162
-
<seelangword="true" /> if the collection is read-only; otherwise <seelangword="false" />.</value>
158
+
<seelangword="true" /> if the collection is read-only; otherwise <seelangword="false" />.
159
+
</value>
163
160
</IsReadOnly>
164
161
<GetEnumerator>
165
-
<summary>Returns the <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" /> object at the specified index in the collection.</summary>
166
-
<returns>The <seecref="T:System.Data.Common.DbBatchCommand" /> object at the specified index in the collection.</returns>
162
+
<summary>
163
+
Returns the <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" /> object at the specified index in the collection.
164
+
</summary>
165
+
<returns>
166
+
The <seecref="T:System.Data.Common.DbBatchCommand" /> object at the specified index in the collection.
167
+
</returns>
167
168
</GetEnumerator>
168
169
<Clear>
169
-
<summary>Removes all <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" /> values from the <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommandCollection" />.</summary>
170
+
<summary>
171
+
Removes all <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" /> values from the <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommandCollection" />.
172
+
</summary>
170
173
</Clear>
171
174
<RemoveAt>
172
-
<paramname="index">The index where the <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" /> object is located.</param>
173
-
<summary>Removes the <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" /> object at the specified index from the collection.</summary>
175
+
<paramname="index">
176
+
The index where the <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" /> object is located.
177
+
</param>
178
+
<summary>
179
+
Removes the <seecref="T:Microsoft.Data.SqlClient.SqlBatchCommand" /> object at the specified index from the collection.
0 commit comments