RelationalStrings.PropertyNotMapped(Object, 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 '{propertyType}' property '{entityType}.{property}' could not be mapped to the database type '{storeType}' because the database provider does not support mapping '{propertyType}' properties to '{storeType}' columns. Consider mapping to a different database type or converting the property value to a type supported by the database using a value converter. See https://aka.ms/efcore-docs-value-converters for more information. Alternately, exclude the property from the model using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
public static string PropertyNotMapped (object? propertyType, object? entityType, object? property, object? storeType);
static member PropertyNotMapped : obj * obj * obj * obj -> string
Public Shared Function PropertyNotMapped (propertyType As Object, entityType As Object, property As Object, storeType As Object) As String
Parameters
- propertyType
- Object
- entityType
- Object
- property
- Object
- storeType
- Object
Returns
Applies to
Entity Framework