CoreStrings.NoParameterlessConstructor(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.
A parameterless constructor was not found on entity type '{entityType}'. In order to create an instance of '{entityType}', Entity Framework requires that a parameterless constructor be declared.
public static string NoParameterlessConstructor (object entityType);
public static string NoParameterlessConstructor (object? entityType);
static member NoParameterlessConstructor : obj -> string
Public Shared Function NoParameterlessConstructor (entityType As Object) As String
Parameters
- entityType
- 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