语言

EntityParameterCollection.AddWithValue(String, Object) 方法

定义

向末尾 EntityParameterCollection添加一个值。

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

参数

parameterName
String

参数的名称。

value
Object

要添加的值。

返回

一个 EntityParameter 对象。

适用于