What does SqlDbType.Structured mean?

后端 未结 1 946
暗喜
暗喜 2021-01-05 02:12

From msdn website I get the following:

A special data type for specifying structured data contained in table-valued parameters.

相关标签:
1条回答
  • 2021-01-05 03:05

    In SQL Server, you can define stored procedures and you can pass tables as parameter. This is then called a table valued parameter.

    When you are programming in C#, you can pass such a table-valued parameter to the database by using the SqlDbType.Structured constant.

    This post shows an example: How to pass a table-value parameter

    0 讨论(0)
提交回复
热议问题