DbPropertyExpression.Implicit(DbPropertyExpression to KeyValuePair<String,DbExpression>) 运算符

定义

基于此属性表达式创建一个新的键/值对。Creates a new key/value pair based on this property expression.

public:
 static operator System::Collections::Generic::KeyValuePair<System::String ^, System::Data::Common::CommandTrees::DbExpression ^>(System::Data::Common::CommandTrees::DbPropertyExpression ^ value);
public static implicit operator System.Collections.Generic.KeyValuePair<string,System.Data.Common.CommandTrees.DbExpression> (System.Data.Common.CommandTrees.DbPropertyExpression value);
static member op_Implicit : System.Data.Common.CommandTrees.DbPropertyExpression -> System.Collections.Generic.KeyValuePair<string, System.Data.Common.CommandTrees.DbExpression>
Public Shared Widening Operator CType (value As DbPropertyExpression) As KeyValuePair(Of String, DbExpression)

参数

value
DbPropertyExpression

此属性表达式。This property expression.

返回

KeyValuePair<String,DbExpression>

具有从 DbPropertyExpression 派生的键和值的新键/值对。A new key/value pair with the key and value derived from the DbPropertyExpression.

注解

在返回的键/值对中,键是一个字符串值,它是引用属性的名称, DbExpression 值是属性表达式本身。In the returned key/value pair, the key is a string value that is the name of the referenced property, and the DbExpression value is the property expression itself.

适用于