CoreStrings.InvalidType(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 value for property '{1_entityType}.{0_property}' cannot be set to a value of type '{valueType}' because its type is '{propertyType}'.
public static string InvalidType (object property, object entityType, object valueType, object propertyType);
public static string InvalidType (object? property, object? entityType, object? valueType, object? propertyType);
static member InvalidType : obj * obj * obj * obj -> string
Public Shared Function InvalidType (property As Object, entityType As Object, valueType As Object, propertyType As Object) As String
Parameters
- property
- Object
- entityType
- Object
- valueType
- 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