CosmosJsonIdConvention Constructor
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.
Creates a new instance of CosmosJsonIdConvention.
public CosmosJsonIdConvention (Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies dependencies, Microsoft.EntityFrameworkCore.Cosmos.Metadata.Internal.IJsonIdDefinitionFactory definitionFactory);
new Microsoft.EntityFrameworkCore.Metadata.Conventions.CosmosJsonIdConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure.ProviderConventionSetBuilderDependencies * Microsoft.EntityFrameworkCore.Cosmos.Metadata.Internal.IJsonIdDefinitionFactory -> Microsoft.EntityFrameworkCore.Metadata.Conventions.CosmosJsonIdConvention
Public Sub New (dependencies As ProviderConventionSetBuilderDependencies, definitionFactory As IJsonIdDefinitionFactory)
Parameters
- dependencies
- ProviderConventionSetBuilderDependencies
Parameter object containing dependencies for this convention.
- definitionFactory
- Microsoft.EntityFrameworkCore.Cosmos.Metadata.Internal.IJsonIdDefinitionFactory
The factory to create a Microsoft.EntityFrameworkCore.Cosmos.Metadata.Internal.IJsonIdDefinition for each entity type.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Entity Framework