Share via


CoreStrings.ConflictingKeylessAndPrimaryKeyAttributes(Object) Method

Definition

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