The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
EntityParameter Constructor (String^, DbType, Int32, ParameterDirection, Boolean, Byte, Byte, String^, DataRowVersion, Object^)
.NET Framework (current version)
Initializes a new instance of the EntityParameter class using the specified properties.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
public: EntityParameter( String^ parameterName, DbType dbType, int size, ParameterDirection direction, bool isNullable, unsigned char precision, unsigned char scale, String^ sourceColumn, DataRowVersion sourceVersion, Object^ value )
Parameters
- parameterName
-
Type:
System::String^
The name of the parameter.
- dbType
-
Type:
System.Data::DbType
One of the DbType values.
- size
-
Type:
System::Int32
The size of the parameter.
- direction
-
Type:
System.Data::ParameterDirection
One of the ParameterDirection values.
- isNullable
-
Type:
System::Boolean
true to indicate that the parameter accepts null values; otherwise, false.
- precision
-
Type:
System::Byte
The number of digits used to represent the value.
- scale
-
Type:
System::Byte
The number of decimal places to which value is resolved.
- sourceColumn
-
Type:
System::String^
The name of the source column.
- sourceVersion
-
Type:
System.Data::DataRowVersion
One of the DataRowVersion values.
- value
-
Type:
System::Object^
The value of the parameter.
.NET Framework
Available since 3.5
Available since 3.5
Show: