DbPropertyExpression.ToKeyValuePair Method

Definition

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

C#
public System.Collections.Generic.KeyValuePair<string,System.Data.Common.CommandTrees.DbExpression> ToKeyValuePair();

Returns

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

Remarks

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.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1