EntityParameterCollection.AddWithValue Method (String, Object)

 

Adds a value to the end of the EntityParameterCollection.

Namespace:   System.Data.Entity.Core.EntityClient
Assembly:  EntityFramework (in EntityFramework.dll)

public EntityParameter AddWithValue(
	string parameterName,
	object value
)

Parameters

parameterName
Type: System.String

The name of the parameter.

value
Type: System.Object

The value to be added.