|
229 | 229 | The default behavior, when generating parameter names, is to use <c>@p1</c>, <c>@p2</c>, and so on for the various parameters. Passing <see langword="true" /> for the <paramref name="useColumnsForParameterNames" /> parameter lets you force the command builder to generate parameters based on the column names instead. This succeeds only if the following conditions are met:
|
230 | 230 | </para>
|
231 | 231 | <list type="bullet">
|
232 |
| - <item> |
| 232 | + <item><description> |
233 | 233 | The <see cref="F:System.Data.Common.DbMetaDataColumnNames.ParameterNameMaxLength" /> returned from the <b>GetSchema</b> method call and found in the <see cref="F:System.Data.Common.DbMetaDataCollectionNames.DataSourceInformation" /> collection has been specified and its length is equal to or greater than the generated parameter name.
|
234 |
| - </item> |
235 |
| - <item> |
| 234 | + </description></item> |
| 235 | + <item><description> |
236 | 236 | The generated parameter name meets the criteria specified in the <see cref="F:System.Data.Common.DbMetaDataColumnNames.ParameterNamePattern" /> returned from the <b>GetSchema</b> method call and found in the <see cref="F:System.Data.Common.DbMetaDataCollectionNames.DataSourceInformation" /> collection regular expression.
|
237 |
| - </item> |
238 |
| - <item> |
| 237 | + </description></item> |
| 238 | + <item><description> |
239 | 239 | A <see cref="F:System.Data.Common.DbMetaDataColumnNames.ParameterMarkerFormat" /> returned from the <b>GetSchema</b> method call and found in the <see cref="F:System.Data.Common.DbMetaDataCollectionNames.DataSourceInformation" /> collection is specified.
|
240 |
| - </item> |
| 240 | + </description></item> |
241 | 241 | </list>
|
242 | 242 | <para>
|
243 | 243 | For more information, see <see href="https://learn.microsoft.com/sql/connect/ado-net/generate-commands-with-commandbuilders">Generating Commands with CommandBuilders</see>.
|
|
290 | 290 | The default behavior, when generating parameter names, is to use <c>@p1</c>, <c>@p2</c>, and so on for the various parameters. Passing <see langword="true" /> for the <paramref name="useColumnsForParameterNames" /> parameter lets you force the command builder to generate parameters based on the column names instead. This succeeds only if the following conditions are met:
|
291 | 291 | </para>
|
292 | 292 | <list type="bullet">
|
293 |
| - <item> |
| 293 | + <item><description> |
294 | 294 | The <see cref="F:System.Data.Common.DbMetaDataColumnNames.ParameterNameMaxLength" /> returned from the <b>GetSchema</b> method call and found in the <see cref="F:System.Data.Common.DbMetaDataCollectionNames.DataSourceInformation" /> collection has been specified and its length is equal to or greater than the generated parameter name.
|
295 |
| - </item> |
296 |
| - <item> |
| 295 | + </description></item> |
| 296 | + <item><description> |
297 | 297 | The generated parameter name meets the criteria specified in the <see cref="F:System.Data.Common.DbMetaDataColumnNames.ParameterNamePattern" /> returned from the <b>GetSchema</b> method call and found in the <see cref="F:System.Data.Common.DbMetaDataCollectionNames.DataSourceInformation" /> collection regular expression.
|
298 |
| - </item> |
299 |
| - <item> |
| 298 | + </description></item> |
| 299 | + <item><description> |
300 | 300 | A <see cref="F:System.Data.Common.DbMetaDataColumnNames.ParameterMarkerFormat" /> returned from the <b>GetSchema</b> method call and found in the <see cref="F:System.Data.Common.DbMetaDataCollectionNames.DataSourceInformation" /> collection is specified.
|
301 |
| - </item> |
| 301 | + </description></item> |
302 | 302 | </list>
|
303 | 303 | <para>
|
304 | 304 | For more information, see <see href="https://learn.microsoft.com/sql/connect/ado-net/generate-commands-with-commandbuilders">Generating Commands with CommandBuilders</see>.
|
|
407 | 407 | The default behavior, when generating parameter names, is to use <c>@p1</c>, <c>@p2</c>, and so on for the various parameters. Passing <see langword="true" /> for the <paramref name="useColumnsForParameterNames" /> parameter lets you force the command builder to generate parameters based on the column names instead. This succeeds only if the following conditions are met:
|
408 | 408 | </para>
|
409 | 409 | <list type="bullet">
|
410 |
| - <item> |
| 410 | + <item><description> |
411 | 411 | The <see cref="F:System.Data.Common.DbMetaDataColumnNames.ParameterNameMaxLength" /> returned from the <b>GetSchema</b> method call and found in the <see cref="F:System.Data.Common.DbMetaDataCollectionNames.DataSourceInformation" /> collection has been specified and its length is equal to or greater than the generated parameter name.
|
412 |
| - </item> |
413 |
| - <item> |
| 412 | + </description></item> |
| 413 | + <item><description> |
414 | 414 | The generated parameter name meets the criteria specified in the <see cref="F:System.Data.Common.DbMetaDataColumnNames.ParameterNamePattern" /> returned from the <b>GetSchema</b> method call and found in the <see cref="F:System.Data.Common.DbMetaDataCollectionNames.DataSourceInformation" /> collection regular expression.
|
415 |
| - </item> |
416 |
| - <item> |
| 415 | + </description></item> |
| 416 | + <item><description> |
417 | 417 | A <see cref="F:System.Data.Common.DbMetaDataColumnNames.ParameterMarkerFormat" /> returned from the <b>GetSchema</b> method call and found in the <see cref="F:System.Data.Common.DbMetaDataCollectionNames.DataSourceInformation" /> collection is specified.
|
418 |
| - </item> |
| 418 | + </description></item> |
419 | 419 | </list>
|
420 | 420 | <para>
|
421 | 421 | For more information, see <see href="https://learn.microsoft.com/sql/connect/ado-net/generate-commands-with-commandbuilders">Generating Commands with CommandBuilders</see>.
|
|
0 commit comments