CoreStrings.FieldNameMismatch(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 specified field '{field}' cannot be used for the property '{entityType}.{property}' because it does not match the property name. Entity type properties that aren't associated with a CLR property must match the field name exactly.
public static string FieldNameMismatch (object field, object entityType, object property);
public static string FieldNameMismatch (object? field, object? entityType, object? property);
static member FieldNameMismatch : obj * obj * obj -> string
Public Shared Function FieldNameMismatch (field As Object, entityType As Object, property As Object) As String
Parameters
- field
- Object
- entityType
- Object
- property
- 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