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
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