EntityParameter Construtores

Definição

Inicializa uma nova instância da classe EntityParameter.Initializes a new instance of the EntityParameter class.

Sobrecargas

EntityParameter()

Inicializa uma nova instância da classe EntityParameter usando os valores padrão.Initializes a new instance of the EntityParameter class using the default values.

EntityParameter(String, DbType)

Inicializa uma nova instância da classe EntityParameter usando o nome do parâmetro e tipo de dados especificados.Initializes a new instance of the EntityParameter class using the specified parameter name and data type.

EntityParameter(String, DbType, Int32)

Inicializa uma nova instância da classe EntityParameter usando o nome do parâmetro, tipo de dados e tamanho especificados.Initializes a new instance of the EntityParameter class using the specified parameter name, data type and size.

EntityParameter(String, DbType, Int32, String)

Inicializa uma nova instância da classe EntityParameter usando as propriedades especificadas.Initializes a new instance of the EntityParameter class using the specified properties.

EntityParameter(String, DbType, Int32, ParameterDirection, Boolean, Byte, Byte, String, DataRowVersion, Object)

Inicializa uma nova instância da classe EntityParameter usando as propriedades especificadas.Initializes a new instance of the EntityParameter class using the specified properties.

EntityParameter()

Inicializa uma nova instância da classe EntityParameter usando os valores padrão.Initializes a new instance of the EntityParameter class using the default values.

public:
 EntityParameter();
public EntityParameter ();
Public Sub New ()

Aplica-se a

EntityParameter(String, DbType)

Inicializa uma nova instância da classe EntityParameter usando o nome do parâmetro e tipo de dados especificados.Initializes a new instance of the EntityParameter class using the specified parameter name and data type.

public:
 EntityParameter(System::String ^ parameterName, System::Data::DbType dbType);
public EntityParameter (string parameterName, System.Data.DbType dbType);
new System.Data.EntityClient.EntityParameter : string * System.Data.DbType -> System.Data.EntityClient.EntityParameter
Public Sub New (parameterName As String, dbType As DbType)

Parâmetros

parameterName
String

O nome do parâmetro.The name of the parameter.

dbType
DbType

Um dos valores de DbType.One of the DbType values.

Exceções

O valor fornecido no parâmetro dbType é um tipo de dados de back-end inválido.The value supplied in the dbType parameter is an invalid back-end data type.

Aplica-se a

EntityParameter(String, DbType, Int32)

Inicializa uma nova instância da classe EntityParameter usando o nome do parâmetro, tipo de dados e tamanho especificados.Initializes a new instance of the EntityParameter class using the specified parameter name, data type and size.

public:
 EntityParameter(System::String ^ parameterName, System::Data::DbType dbType, int size);
public EntityParameter (string parameterName, System.Data.DbType dbType, int size);
new System.Data.EntityClient.EntityParameter : string * System.Data.DbType * int -> System.Data.EntityClient.EntityParameter
Public Sub New (parameterName As String, dbType As DbType, size As Integer)

Parâmetros

parameterName
String

O nome do parâmetro.The name of the parameter.

dbType
DbType

Um dos valores de DbType.One of the DbType values.

size
Int32

O tamanho do parâmetro.The size of the parameter.

Exceções

O valor fornecido no parâmetro dbType é um tipo de dados de back-end inválido.The value supplied in the dbType parameter is an invalid back-end data type.

Aplica-se a

EntityParameter(String, DbType, Int32, String)

Inicializa uma nova instância da classe EntityParameter usando as propriedades especificadas.Initializes a new instance of the EntityParameter class using the specified properties.

public:
 EntityParameter(System::String ^ parameterName, System::Data::DbType dbType, int size, System::String ^ sourceColumn);
public EntityParameter (string parameterName, System.Data.DbType dbType, int size, string sourceColumn);
new System.Data.EntityClient.EntityParameter : string * System.Data.DbType * int * string -> System.Data.EntityClient.EntityParameter
Public Sub New (parameterName As String, dbType As DbType, size As Integer, sourceColumn As String)

Parâmetros

parameterName
String

O nome do parâmetro.The name of the parameter.

dbType
DbType

Um dos valores de DbType.One of the DbType values.

size
Int32

O tamanho do parâmetro.The size of the parameter.

sourceColumn
String

O nome da coluna de origem.The name of the source column.

Exceções

O valor fornecido no parâmetro dbType é um tipo de dados de back-end inválido.The value supplied in the dbType parameter is an invalid back-end data type.

Aplica-se a

EntityParameter(String, DbType, Int32, ParameterDirection, Boolean, Byte, Byte, String, DataRowVersion, Object)

Inicializa uma nova instância da classe EntityParameter usando as propriedades especificadas.Initializes a new instance of the EntityParameter class using the specified properties.

public:
 EntityParameter(System::String ^ parameterName, System::Data::DbType dbType, int size, System::Data::ParameterDirection direction, bool isNullable, System::Byte precision, System::Byte scale, System::String ^ sourceColumn, System::Data::DataRowVersion sourceVersion, System::Object ^ value);
public EntityParameter (string parameterName, System.Data.DbType dbType, int size, System.Data.ParameterDirection direction, bool isNullable, byte precision, byte scale, string sourceColumn, System.Data.DataRowVersion sourceVersion, object value);
new System.Data.EntityClient.EntityParameter : string * System.Data.DbType * int * System.Data.ParameterDirection * bool * byte * byte * string * System.Data.DataRowVersion * obj -> System.Data.EntityClient.EntityParameter
Public Sub New (parameterName As String, dbType As DbType, size As Integer, direction As ParameterDirection, isNullable As Boolean, precision As Byte, scale As Byte, sourceColumn As String, sourceVersion As DataRowVersion, value As Object)

Parâmetros

parameterName
String

O nome do parâmetro.The name of the parameter.

dbType
DbType

Um dos valores de DbType.One of the DbType values.

size
Int32

O tamanho do parâmetro.The size of the parameter.

direction
ParameterDirection

Um dos valores de ParameterDirection.One of the ParameterDirection values.

isNullable
Boolean

true para indicar que o parâmetro aceita valores nulos; caso contrário, false.true to indicate that the parameter accepts null values; otherwise, false.

precision
Byte

O número de dígitos usados para representar o valor.The number of digits used to represent the value.

scale
Byte

O número de casas decimais para o qual o valor é resolvido.The number of decimal places to which value is resolved.

sourceColumn
String

O nome da coluna de origem.The name of the source column.

sourceVersion
DataRowVersion

Um dos valores de DataRowVersion.One of the DataRowVersion values.

value
Object

O valor do parâmetro.The value of the parameter.

Exceções

O valor fornecido no parâmetro dbType é um tipo de dados de back-end inválido.The value supplied in the dbType parameter is an invalid back-end data type.

Aplica-se a