EntityParameter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class representing a parameter used in EntityCommand
public class EntityParameter : System.Data.Common.DbParameter
type EntityParameter = class
inherit DbParameter
interface IDbDataParameter
interface IDataParameter
Public Class EntityParameter
Inherits DbParameter
- Inheritance
-
EntityParameter
- Implements
Constructors
EntityParameter() |
Initializes a new instance of the EntityParameter class using the default values. |
EntityParameter(String, DbType, Int32, ParameterDirection, Boolean, Byte, Byte, String, DataRowVersion, Object) |
Initializes a new instance of the EntityParameter class using the specified properties. |
EntityParameter(String, DbType, Int32, String) |
Initializes a new instance of the EntityParameter class using the specified properties. |
EntityParameter(String, DbType, Int32) |
Initializes a new instance of the EntityParameter class using the specified parameter name, data type and size. |
EntityParameter(String, DbType) |
Initializes a new instance of the EntityParameter class using the specified parameter name and data type. |
Properties
DbType |
Gets or sets the DbType of the parameter. |
Direction |
Gets or sets the direction of the parameter. |
EdmType |
Gets or sets the type of the parameter, expressed as an EdmType. |
IsNullable |
Gets or sets a value that indicates whether the parameter accepts null values. |
ParameterName |
Gets or sets the name of the entity parameter. |
Precision |
Gets or sets the number of digits used to represent the Value property. |
Scale |
Gets or sets the number of decimal places to which Value is resolved. |
Size |
Gets or sets the maximum size of the data within the column. |
SourceColumn |
Gets or sets the name of the source column mapped to the DataSet and used for loading or returning the Value . |
SourceColumnNullMapping |
Gets or sets a value that indicates whether source column is nullable. |
SourceVersion |
Gets or sets the DataRowVersion to use when loading the value. |
Value |
Gets or sets the value of the parameter. |
Methods
ResetDbType() |
Resets the type associated with the EntityParameter. |
ToString() |
Returns a string representation of the parameter. |
Applies to
Entity Framework