SqlParameterCollection.Add Method
.NET Framework 4.5
Adds a SqlParameter to the SqlParameterCollection.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
| Name | Description | |
|---|---|---|
|
Add(Object) | Adds the specified SqlParameter object to the SqlParameterCollection. (Overrides DbParameterCollection.Add(Object).) |
|
Add(SqlParameter) | Adds the specified SqlParameter object to the SqlParameterCollection. |
|
Add(String, SqlDbType) | Adds a SqlParameter to the SqlParameterCollection given the parameter name and the data type. |
|
Add(String, Object) | Obsolete. Adds the specified SqlParameter object to the SqlParameterCollection. |
|
Add(String, SqlDbType, Int32) | Adds a SqlParameter to the SqlParameterCollection, given the specified parameter name, SqlDbType and size. |
|
Add(String, SqlDbType, Int32, String) | Adds a SqlParameter to the SqlParameterCollection with the parameter name, the data type, and the column length. |