DbPropertyExpression.ToKeyValuePair Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new key/value pair based on this property expression.
public:
System::Collections::Generic::KeyValuePair<System::String ^, System::Data::Common::CommandTrees::DbExpression ^> ToKeyValuePair();
public System.Collections.Generic.KeyValuePair<string,System.Data.Common.CommandTrees.DbExpression> ToKeyValuePair ();
member this.ToKeyValuePair : unit -> System.Collections.Generic.KeyValuePair<string, System.Data.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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för