EntityParameterCollection.Add Método

Definição

Sobrecargas

Name Description
Add(EntityParameter)

Adiciona o objeto especificado EntityParameter ao EntityParameterCollection.

Add(Object)

Adiciona o objeto especificado ao EntityParameterCollection.

Add(String, DbType)

Adiciona a EntityParameter ao EntityParameterCollection nome do parâmetro dado e ao tipo de dado.

Add(String, DbType, Int32)

Adiciona a EntityParameter ao EntityParameterCollection com o nome do parâmetro, o tipo de dado e o comprimento da coluna.

Add(EntityParameter)

Adiciona o objeto especificado EntityParameter ao EntityParameterCollection.

public:
 System::Data::EntityClient::EntityParameter ^ Add(System::Data::EntityClient::EntityParameter ^ value);
public System.Data.EntityClient.EntityParameter Add(System.Data.EntityClient.EntityParameter value);
override this.Add : System.Data.EntityClient.EntityParameter -> System.Data.EntityClient.EntityParameter
Public Function Add (value As EntityParameter) As EntityParameter

Parâmetros

value
EntityParameter

A EntityParameter acrescentar à coleção.

Devoluções

Um novo EntityParameter objeto.

Exceções

O EntityParameter especificado no value parâmetro já é adicionado a este ou a outro EntityParameterCollection.

O parâmetro aprovado não era um EntityParameter.

O value parâmetro é nulo.

Aplica-se a

Add(Object)

Adiciona o objeto especificado ao EntityParameterCollection.

public:
 override int Add(System::Object ^ value);
public override int Add(object value);
override this.Add : obj -> int
Public Overrides Function Add (value As Object) As Integer

Parâmetros

value
Object

Um Object.

Devoluções

O índice do novo EntityParameter objeto.

Aplica-se a

Add(String, DbType)

Adiciona a EntityParameter ao EntityParameterCollection nome do parâmetro dado e ao tipo de dado.

public:
 System::Data::EntityClient::EntityParameter ^ Add(System::String ^ parameterName, System::Data::DbType dbType);
public System.Data.EntityClient.EntityParameter Add(string parameterName, System.Data.DbType dbType);
override this.Add : string * System.Data.DbType -> System.Data.EntityClient.EntityParameter
Public Function Add (parameterName As String, dbType As DbType) As EntityParameter

Parâmetros

parameterName
String

O nome do parâmetro.

dbType
DbType

Um dos DbType valores.

Devoluções

Um novo EntityParameter objeto.

Aplica-se a

Add(String, DbType, Int32)

Adiciona a EntityParameter ao EntityParameterCollection com o nome do parâmetro, o tipo de dado e o comprimento da coluna.

public:
 System::Data::EntityClient::EntityParameter ^ Add(System::String ^ parameterName, System::Data::DbType dbType, int size);
public System.Data.EntityClient.EntityParameter Add(string parameterName, System.Data.DbType dbType, int size);
override this.Add : string * System.Data.DbType * int -> System.Data.EntityClient.EntityParameter
Public Function Add (parameterName As String, dbType As DbType, size As Integer) As EntityParameter

Parâmetros

parameterName
String

O nome do parâmetro.

dbType
DbType

Um dos DbType valores.

size
Int32

O comprimento da coluna.

Devoluções

Um novo EntityParameter objeto.

Aplica-se a