EntityParameterCollection.AddWithValue(String, Object) Metodo

Definizione

Aggiunge un valore alla fine dell'oggetto EntityParameterCollection.

public:
 System::Data::EntityClient::EntityParameter ^ AddWithValue(System::String ^ parameterName, System::Object ^ value);
public System.Data.EntityClient.EntityParameter AddWithValue(string parameterName, object value);
member this.AddWithValue : string * obj -> System.Data.EntityClient.EntityParameter
Public Function AddWithValue (parameterName As String, value As Object) As EntityParameter

Parametri

parameterName
String

Nome del parametro.

value
Object

Il valore da aggiungere.

Valori restituiti

Un oggetto EntityParameter.

Si applica a