CoreStrings.PrimaryKeyDefinedOnNonExistentProperty 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 [PrimaryKey] attribute on the entity type '{entityType}' references properties {properties}, but no property with name '{propertyName}' exists on that entity type or any of its base types.
public static string PrimaryKeyDefinedOnNonExistentProperty (object? entityType, object? properties, object? propertyName);
static member PrimaryKeyDefinedOnNonExistentProperty : obj * obj * obj -> string
Public Shared Function PrimaryKeyDefinedOnNonExistentProperty (entityType As Object, properties As Object, propertyName As Object) As String
Parameters
- entityType
- Object
- properties
- Object
- propertyName
- 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