CoreStrings.ForeignKeyTypeMismatch(Object, Object, Object, Object) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Os tipos das propriedades especificadas para a chave estrangeira {foreignKeyProperties} no tipo de entidade '{dependentType}' não correspondem aos tipos das propriedades na chave principal {principalKeyProperties} no tipo de entidade '{principalType}'. Forneça propriedades que usam os mesmos tipos na mesma ordem.
public static string ForeignKeyTypeMismatch (object foreignKey, object dependentType, object principalKey, object principalType);
public static string ForeignKeyTypeMismatch (object foreignKeyProperties, object dependentType, object principalKey, object principalType);
public static string ForeignKeyTypeMismatch (object? foreignKeyProperties, object? dependentType, object? principalKeyProperties, object? principalType);
static member ForeignKeyTypeMismatch : obj * obj * obj * obj -> string
static member ForeignKeyTypeMismatch : obj * obj * obj * obj -> string
static member ForeignKeyTypeMismatch : obj * obj * obj * obj -> string
Public Shared Function ForeignKeyTypeMismatch (foreignKey As Object, dependentType As Object, principalKey As Object, principalType As Object) As String
Public Shared Function ForeignKeyTypeMismatch (foreignKeyProperties As Object, dependentType As Object, principalKey As Object, principalType As Object) As String
Public Shared Function ForeignKeyTypeMismatch (foreignKeyProperties As Object, dependentType As Object, principalKeyProperties As Object, principalType As Object) As String
Parâmetros
- foreignKeyforeignKeyProperties
- Object
- dependentType
- Object
- principalKeyprincipalKeyProperties
- Object
- principalType
- Object
Retornos
Aplica-se a
Entity Framework
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de