CoreStrings.PropertyNotAdded(Object, Object, Object) 方法

定义

属性“{entityType}”。无法映射 {property},因为它的类型为“{propertyType}”,这不是受支持的基元类型或有效的实体类型。 显式映射此属性,或使用“[NotMapped]”属性或“OnModelCreating”中的“EntityTypeBuilder.Ignore”忽略此属性。

public static string PropertyNotAdded (object entityType, object property, object propertyType);
public static string PropertyNotAdded (object? entityType, object? property, object? propertyType);
static member PropertyNotAdded : obj * obj * obj -> string
Public Shared Function PropertyNotAdded (entityType As Object, property As Object, propertyType As Object) As String

参数

entityType
Object
property
Object
propertyType
Object

返回

适用于