CoreStrings.ForeignKeyTypeMismatch(Object, Object, Object, Object) Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Типы свойств, указанных для внешнего ключа {foreignKeyProperties} в типе сущности "{dependentType}", не соответствуют типам свойств в основном ключе {principalKeyProperties} для типа сущности "{principalType}". Предоставьте свойства, использующие одни и те же типы в том же порядке.
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
Параметры
- foreignKeyforeignKeyProperties
- Object
- dependentType
- Object
- principalKeyprincipalKeyProperties
- Object
- principalType
- Object
Возвращаемое значение
Применяется к
Entity Framework
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по