CoreStrings.PropertyWrongClrType(Object, Object, Object, Object) Method

Definition

The property '{property}' cannot be added to the type '{type}' because the type of the corresponding CLR property or field '{clrType}' does not match the specified type '{propertyType}'.

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

Parameters

property
Object
entityTypetype
Object
clrType
Object
propertyType
Object

Returns

Applies to