CoreStrings.ForeignKeyPropertyInKey(Object, Object, Object, Object) Método

Definição

A propriedade '{property}' não pode fazer parte de uma chave estrangeira em '{entityType}' porque tem um valor gerado pelo repositório e está contida na chave {keyProperties} definida em um tipo de entidade base '{baseEntityType}'. Configure '{property}' com 'ValueGeneratedNever' ou defina a chave estrangeira em '{entityType}' em vez disso.

public static string ForeignKeyPropertyInKey (object property, object entityType, object key, object baseEntityType);
public static string ForeignKeyPropertyInKey (object property, object entityType, object keyProperties, object baseEntityType);
public static string ForeignKeyPropertyInKey (object? property, object? entityType, object? keyProperties, object? baseEntityType);
static member ForeignKeyPropertyInKey : obj * obj * obj * obj -> string
static member ForeignKeyPropertyInKey : obj * obj * obj * obj -> string
Public Shared Function ForeignKeyPropertyInKey (property As Object, entityType As Object, key As Object, baseEntityType As Object) As String
Public Shared Function ForeignKeyPropertyInKey (property As Object, entityType As Object, keyProperties As Object, baseEntityType As Object) As String

Parâmetros

property
Object
entityType
Object
keykeyProperties
Object
baseEntityType
Object

Retornos

Aplica-se a