CoreStrings.KeyWrongType(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 key {keyProperties} cannot be removed from the entity type '{entityType}' because it is defined on the entity type '{otherEntityType}'.
public static string KeyWrongType (object key, object otherEntityType, object entityType);
public static string KeyWrongType (object keyProperties, object entityType, object otherEntityType);
public static string KeyWrongType (object? keyProperties, object? entityType, object? otherEntityType);
static member KeyWrongType : obj * obj * obj -> string
static member KeyWrongType : obj * obj * obj -> string
Public Shared Function KeyWrongType (key As Object, otherEntityType As Object, entityType As Object) As String
Public Shared Function KeyWrongType (keyProperties As Object, entityType As Object, otherEntityType As Object) As String
Parameters
- keykeyProperties
- Object
- otherEntityTypeentityType
- Object
- entityTypeotherEntityType
- 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