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