IPrincipalKeyValueFactory<TKey>.CreateFromKeyValues 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.
Overloads
CreateFromKeyValues(IReadOnlyList<Object>) |
Creates a key object from key values obtained in-order from the given enumerable. |
CreateFromKeyValues(Object[]) |
Creates a key object from key values obtained in-order from the given array. |
CreateFromKeyValues(IReadOnlyList<Object>)
Creates a key object from key values obtained in-order from the given enumerable.
public object? CreateFromKeyValues (System.Collections.Generic.IReadOnlyList<object?> keyValues);
abstract member CreateFromKeyValues : System.Collections.Generic.IReadOnlyList<obj> -> obj
Public Function CreateFromKeyValues (keyValues As IReadOnlyList(Of Object)) As Object
Parameters
- keyValues
- IReadOnlyList<Object>
The key values.
Returns
The key object, or null if any of the key values were null.
Applies to
CreateFromKeyValues(Object[])
Creates a key object from key values obtained in-order from the given array.
public object CreateFromKeyValues (object[] keyValues);
public object? CreateFromKeyValues (object?[] keyValues);
abstract member CreateFromKeyValues : obj[] -> obj
Public Function CreateFromKeyValues (keyValues As Object()) As Object
Parameters
- keyValues
- Object[]
The key values.
Returns
The key object, or null if any of the key values were null.
Applies to
Entity Framework
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