Sprache

CoreStrings.CompositePKWithDataAnnotation(Object) Methode

Definition

Der Entitätstyp '{entityType}' verfügt über mehrere Eigenschaften mit dem [Key]-Attribut. Zusammengesetzte Primärschlüssel können konfiguriert werden, indem sie das [PrimaryKey]-Attribut in der Entitätstypklasse oder mithilfe von "HasKey" in "OnModelCreating" platzieren.

public static string CompositePKWithDataAnnotation(object? entityType);
public static string CompositePKWithDataAnnotation(object entityType);
static member CompositePKWithDataAnnotation : obj -> string
Public Shared Function CompositePKWithDataAnnotation (entityType As Object) As String

Parameter

entityType
Object

Gibt zurück

Gilt für: