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
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