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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework