DbPropertyExpression Implicit Conversion (DbPropertyExpression to KeyValuePair<String, DbExpression>)

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Data.Common.CommandTrees
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public static implicit operator KeyValuePair<string, DbExpression> (
	DbPropertyExpression value


Type: System.Data.Common.CommandTrees.DbPropertyExpression

This property expression.

Return Value

Type: System.Collections.Generic.KeyValuePair<String, DbExpression>

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

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.

.NET Framework
Available since 4.0
Return to top