CoreStrings.NullableKey(Object, Object) 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.
A key on entity type '{entityType}' cannot contain the property '{property}' because it is nullable/optional. All properties on which a key is declared must be marked as non-nullable/required.
public static string NullableKey (object entityType, object property);
public static string NullableKey (object? entityType, object? property);
static member NullableKey : obj * obj -> string
Public Shared Function NullableKey (entityType As Object, property As Object) As String
Parameters
- entityType
- Object
- property
- Object
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework