Freigeben über


DbPropertyExpression.ToKeyValuePair-Methode

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Erstellt auf Grundlage dieses Eigenschaftsausdrucks ein neues Schlüssel-Wert-Paar.

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

Syntax

'Declaration
Public Function ToKeyValuePair As KeyValuePair(Of String, DbExpression)
'Usage
Dim instance As DbPropertyExpression 
Dim returnValue As KeyValuePair(Of String, DbExpression)

returnValue = instance.ToKeyValuePair()
public KeyValuePair<string, DbExpression> ToKeyValuePair()
public:
KeyValuePair<String^, DbExpression^> ToKeyValuePair()
member ToKeyValuePair : unit -> KeyValuePair<string, DbExpression> 
public function ToKeyValuePair() : KeyValuePair<String, DbExpression>

Rückgabewert

Typ: System.Collections.Generic.KeyValuePair<String, DbExpression>
Ein neues Schlüssel-Wert-Paar mit dem von der DbPropertyExpression abgeleiteten Schlüssel und Wert.

Siehe auch

Verweis

DbPropertyExpression Klasse

System.Data.Entity.Core.Common.CommandTrees-Namespace