CoreStrings.NavigationCannotCreateType(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 type of navigation '{1_entityType}.{0_navigation}' is '{foundType}' for which it was not possible to create a concrete instance. Either initialize the property before use, add a public parameterless constructor to the type, or use a type which can be assigned a 'HashSet<>' or 'List<>'.
public static string NavigationCannotCreateType (object navigation, object entityType, object foundType);
public static string NavigationCannotCreateType (object? navigation, object? entityType, object? foundType);
static member NavigationCannotCreateType : obj * obj * obj -> string
Public Shared Function NavigationCannotCreateType (navigation As Object, entityType As Object, foundType As Object) As String
Parameters
- navigation
- Object
- entityType
- Object
- foundType
- 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