EntityParameter EntityParameter EntityParameter EntityParameter Class

Definition

Represents a parameter used in EntityCommand.

public ref class EntityParameter sealed : System::Data::Common::DbParameter
public sealed class EntityParameter : System.Data.Common.DbParameter
type EntityParameter = class
    inherit DbParameter
    interface IDbDataParameter
    interface IDataParameter
Public NotInheritable Class EntityParameter
Inherits DbParameter
Inheritance
Implements

Constructors

EntityParameter() EntityParameter() EntityParameter() EntityParameter()

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

EntityParameter(String, DbType) EntityParameter(String, DbType) EntityParameter(String, DbType) EntityParameter(String, DbType)

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

EntityParameter(String, DbType, Int32) EntityParameter(String, DbType, Int32) EntityParameter(String, DbType, Int32) EntityParameter(String, DbType, Int32)

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

EntityParameter(String, DbType, Int32, ParameterDirection, Boolean, Byte, Byte, String, DataRowVersion, Object) EntityParameter(String, DbType, Int32, ParameterDirection, Boolean, Byte, Byte, String, DataRowVersion, Object) EntityParameter(String, DbType, Int32, ParameterDirection, Boolean, Byte, Byte, String, DataRowVersion, Object) 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) EntityParameter(String, DbType, Int32, String) EntityParameter(String, DbType, Int32, String) EntityParameter(String, DbType, Int32, String)

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

Properties

DbType DbType DbType DbType

Gets or sets the DbType of the parameter.

Direction Direction Direction Direction

Gets or sets the direction of the parameter.

EdmType EdmType EdmType EdmType

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

IDataParameter.SourceVersion IDataParameter.SourceVersion IDataParameter.SourceVersion IDataParameter.SourceVersion Inherited from DbParameter
IDbDataParameter.Precision IDbDataParameter.Precision IDbDataParameter.Precision IDbDataParameter.Precision

Indicates the precision of numeric parameters.

(Inherited from DbParameter)
IDbDataParameter.Scale IDbDataParameter.Scale IDbDataParameter.Scale IDbDataParameter.Scale

For a description of this member, see Scale.

(Inherited from DbParameter)
IsNullable IsNullable IsNullable IsNullable

Gets or sets a value that indicates whether the parameter accepts null values.

ParameterName ParameterName ParameterName ParameterName

Gets or sets the name of the entity parameter.

Precision Precision Precision Precision

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

Scale Scale Scale Scale

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

Size Size Size Size

Gets or sets the maximum size of the data within the column.

SourceColumn SourceColumn SourceColumn SourceColumn

Gets or sets the name of the source column mapped to the DataSet and used for loading or returning the Value.

SourceColumnNullMapping SourceColumnNullMapping SourceColumnNullMapping SourceColumnNullMapping

Gets or sets a value that indicates whether source column is nullable.

SourceVersion SourceVersion SourceVersion SourceVersion

Gets or sets the DataRowVersion to use when loading the value.

Value Value Value Value

Gets or sets the value of the parameter.

Methods

CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(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)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLifetimeService() GetLifetimeService() GetLifetimeService() GetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
ResetDbType() ResetDbType() ResetDbType() ResetDbType()

Resets the type associated with the EntityParameter.

ToString() ToString() ToString() ToString()

Returns a string representation of the parameter.

Applies to