CoreStrings.KeyPropertyCannotBeNullable(Object, 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.
The property '{1_entityType}.{0_property}' cannot be marked as nullable/optional because it has been included in the key {keyProperties}.
public static string KeyPropertyCannotBeNullable (object property, object entityType, object key);
public static string KeyPropertyCannotBeNullable (object property, object entityType, object keyProperties);
public static string KeyPropertyCannotBeNullable (object? property, object? entityType, object? keyProperties);
static member KeyPropertyCannotBeNullable : obj * obj * obj -> string
static member KeyPropertyCannotBeNullable : obj * obj * obj -> string
Public Shared Function KeyPropertyCannotBeNullable (property As Object, entityType As Object, key As Object) As String
Public Shared Function KeyPropertyCannotBeNullable (property As Object, entityType As Object, keyProperties As Object) As String
Parameters
- property
- Object
- entityType
- Object
- keykeyProperties
- Object
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework