CoreStrings.PrincipalKeylessType(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 keyless entity type '{entityType}' cannot be on the principal end of the relationship between '{firstNavigationSpecification}' and '{secondNavigationSpecification}'. The principal entity type must have a key. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
public static string PrincipalKeylessType (object entityType, object firstNavigationSpecification, object secondNavigationSpecification);
public static string PrincipalKeylessType (object? entityType, object? firstNavigationSpecification, object? secondNavigationSpecification);
static member PrincipalKeylessType : obj * obj * obj -> string
Public Shared Function PrincipalKeylessType (entityType As Object, firstNavigationSpecification As Object, secondNavigationSpecification As Object) As String
Parameters
- entityType
- Object
- firstNavigationSpecification
- Object
- secondNavigationSpecification
- 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