CoreStrings.PropertyNotAdded(Object, Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework