CosmosRelationshipDiscoveryConvention Class
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.
A convention that configures relationships between entity types based on the navigation properties as long as there is no ambiguity as to which is the corresponding inverse navigation. All navigations are assumed to be targeting owned entity types for Cosmos.
public class CosmosRelationshipDiscoveryConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.RelationshipDiscoveryConvention
type CosmosRelationshipDiscoveryConvention = class
inherit RelationshipDiscoveryConvention
Public Class CosmosRelationshipDiscoveryConvention
Inherits RelationshipDiscoveryConvention
- Inheritance
Remarks
See Model building conventions, and Accessing Azure Cosmos DB with EF Core for more information and examples.
Constructors
CosmosRelationshipDiscoveryConvention(ProviderConventionSetBuilderDependencies) |
Creates a new instance of RelationshipDiscoveryConvention. |
Properties
Dependencies |
Dependencies for this service. (Inherited from RelationshipDiscoveryConvention) |
Methods
Applies to
Entity Framework