CoreStrings.KeyPropertiesWrongEntity(Object, Object) 메서드

정의

지정된 키 속성 {keyProperties}은(는) 엔터티 형식 '{entityType}'에 선언되지 않습니다. 키 속성이 대상 엔터티 형식에 선언되어 있는지 확인합니다.

public static string KeyPropertiesWrongEntity (object key, object entityType);
public static string KeyPropertiesWrongEntity (object keyProperties, object entityType);
public static string KeyPropertiesWrongEntity (object? keyProperties, object? entityType);

매개 변수

keykeyProperties
Object
entityType
Object

반환

적용 대상

제품 버전
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0