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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework