CoreStrings.CompositeFkOnProperty(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.
There are multiple properties with the [ForeignKey] attribute pointing to navigation '{1_entityType}.{0_navigation}'. To define a composite foreign key using data annotations, use the [ForeignKey] attribute on the navigation.
public static string CompositeFkOnProperty (object navigation, object entityType);
public static string CompositeFkOnProperty (object? navigation, object? entityType);
static member CompositeFkOnProperty : obj * obj -> string
Public Shared Function CompositeFkOnProperty (navigation As Object, entityType As Object) As String
Parameters
- navigation
- Object
- entityType
- Object
Returns
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework