Share via


DbProviderServices.SetParameterValue(DbParameter, TypeUsage, Object) Method

Definition

Sets the parameter value and appropriate facets for the given TypeUsage.

public void SetParameterValue (System.Data.Common.DbParameter parameter, System.Data.Entity.Core.Metadata.Edm.TypeUsage parameterType, object value);
member this.SetParameterValue : System.Data.Common.DbParameter * System.Data.Entity.Core.Metadata.Edm.TypeUsage * obj -> unit
Public Sub SetParameterValue (parameter As DbParameter, parameterType As TypeUsage, value As Object)

Parameters

parameter
DbParameter

The parameter.

parameterType
TypeUsage

The type of the parameter.

value
Object

The value of the parameter.

Applies to