Język

CoreStrings.CompositePKWithDataAnnotation(Object) Metoda

Definicja

Typ jednostki "{entityType}" ma wiele właściwości z atrybutem [Key]. Złożone klucze podstawowe można skonfigurować, umieszczając atrybut [PrimaryKey] w klasie typu jednostki lub używając polecenia "HasKey" w elemecie "OnModelCreating".

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

Parametry

entityType
Object

Zwraca

Dotyczy