Share via


DbPropertyExpression.ToKeyValuePair Method

Definition

Creates a new key/value pair based on this property expression.

public System.Collections.Generic.KeyValuePair<string,System.Data.Entity.Core.Common.CommandTrees.DbExpression> ToKeyValuePair ();
member this.ToKeyValuePair : unit -> System.Collections.Generic.KeyValuePair<string, System.Data.Entity.Core.Common.CommandTrees.DbExpression>
Public Function ToKeyValuePair () As KeyValuePair(Of String, DbExpression)

Returns

A new key/value pair with the key and value derived from the DbPropertyExpression .

Applies to