CoreStrings.PropertyNotAdded(Object, Object, Object) Method

Definition

The property '{entityType}.{property}' could not be mapped because it is of type '{propertyType}', which is not a supported primitive type or a valid entity type. Either explicitly map this property, or ignore it using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.

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

Parameters

entityType
Object
property
Object
propertyType
Object

Returns

Applies to