CoreStrings.ConflictingKeylessAndPrimaryKeyAttributes(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 entity type '{entity}' has both [Keyless] and [PrimaryKey] attributes; one must be removed.
public static string ConflictingKeylessAndPrimaryKeyAttributes (object? entity);
static member ConflictingKeylessAndPrimaryKeyAttributes : obj -> string
Public Shared Function ConflictingKeylessAndPrimaryKeyAttributes (entity As Object) As String
Parameters
- entity
- 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