CoreStrings.InterfacePropertyNotAdded(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 property '{entityType}.{navigation}' is of an interface type ('{propertyType}'). If it is a navigation, manually configure the relationship for this property by casting it to a mapped entity type. Otherwise, ignore the property using the [NotMapped] attribute or 'Ignore' in 'OnModelCreating'.
public static string InterfacePropertyNotAdded (object entityType, object navigation, object propertyType);
public static string InterfacePropertyNotAdded (object? entityType, object? navigation, object? propertyType);
static member InterfacePropertyNotAdded : obj * obj * obj -> string
Public Shared Function InterfacePropertyNotAdded (entityType As Object, navigation As Object, propertyType As Object) As String
Parameters
- entityType
- Object
- navigation
- Object
- propertyType
- Object
Returns
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för