EntityParameter Class

 

Represents a parameter used in EntityCommand.

Namespace:   System.Data.EntityClient
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

System::Object
  System::MarshalByRefObject
    System.Data.Common::DbParameter
      System.Data.EntityClient::EntityParameter

public ref class EntityParameter sealed : DbParameter, IDbDataParameter, 
	IDataParameter

NameDescription
System_CAPS_pubmethodEntityParameter()

Initializes a new instance of the EntityParameter class using the default values.

System_CAPS_pubmethodEntityParameter(String^, DbType)

Initializes a new instance of the EntityParameter class using the specified parameter name and data type.

System_CAPS_pubmethodEntityParameter(String^, DbType, Int32)

Initializes a new instance of the EntityParameter class using the specified parameter name, data type and size.

System_CAPS_pubmethodEntityParameter(String^, DbType, Int32, ParameterDirection, Boolean, Byte, Byte, String^, DataRowVersion, Object^)

Initializes a new instance of the EntityParameter class using the specified properties.

System_CAPS_pubmethodEntityParameter(String^, DbType, Int32, String^)

Initializes a new instance of the EntityParameter class using the specified properties.

NameDescription
System_CAPS_pubpropertyDbType

Gets or sets the DbType of the parameter.(Overrides DbParameter::DbType.)

System_CAPS_pubpropertyDirection

Gets or sets the direction of the parameter.(Overrides DbParameter::Direction.)

System_CAPS_pubpropertyEdmType

Gets or sets the type of the parameter, expressed as an EdmType.

System_CAPS_pubpropertyIsNullable

Gets or sets a value that indicates whether the parameter accepts null values.(Overrides DbParameter::IsNullable.)

System_CAPS_pubpropertyParameterName

Gets or sets the name of the entity parameter.(Overrides DbParameter::ParameterName.)

System_CAPS_pubpropertyPrecision

Gets or sets the number of digits used to represent the Value property.

System_CAPS_pubpropertyScale

Gets or sets the number of decimal places to which Value is resolved.

System_CAPS_pubpropertySize

Gets or sets the maximum size of the data within the column.(Overrides DbParameter::Size.)

System_CAPS_pubpropertySourceColumn

Gets or sets the name of the source column mapped to the DataSet and used for loading or returning the Value.(Overrides DbParameter::SourceColumn.)

System_CAPS_pubpropertySourceColumnNullMapping

Gets or sets a value that indicates whether source column is nullable.(Overrides DbParameter::SourceColumnNullMapping.)

System_CAPS_pubpropertySourceVersion

Gets or sets the DataRowVersion to use when loading the value.(Overrides DbParameter::SourceVersion.)

System_CAPS_pubpropertyValue

Gets or sets the value of the parameter.(Overrides DbParameter::Value.)

NameDescription
System_CAPS_pubmethodCreateObjRef(Type^)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodResetDbType()

Resets the type associated with the EntityParameter.(Overrides DbParameter::ResetDbType().)

System_CAPS_pubmethodToString()

Returns a string representation of the parameter.(Overrides Object::ToString().)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privpropertyIDbDataParameter::Precision

Indicates the precision of numeric parameters.(Inherited from DbParameter.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIDbDataParameter::Scale

For a description of this member, see IDbDataParameter::Scale.(Inherited from DbParameter.)

No content here will be updated; please do not add material here.

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: