CoreStrings.ElementNotMapped(Object, Object, Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
基元集合“{entityType}”的元素类型“{elementType}”。{property}' 无法映射,因为数据库提供程序不支持此类型。 请考虑使用值转换器将元素值转换为数据库支持的类型。 有关详细信息,请参阅 https://aka.ms/efcore-docs-value-converters。 或者,使用“[NotMapped]”属性或“OnModelCreating”中的“EntityTypeBuilder.Ignore”从模型中排除该属性。
public static string ElementNotMapped(object? elementType, object? entityType, object? property);
static member ElementNotMapped : obj * obj * obj -> string
Public Shared Function ElementNotMapped (elementType As Object, entityType As Object, property As Object) As String
参数
- elementType
- Object
- entityType
- Object
- property
- Object