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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for