CosmosPartitionKeyInPrimaryKeyConvention クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
EF 主キーにパーティション キーのプロパティを追加する規則。
[System.Runtime.CompilerServices.Nullable(0)]
public class CosmosPartitionKeyInPrimaryKeyConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAnnotationChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypePrimaryKeyChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyOwnershipChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IForeignKeyRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IKeyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IKeyRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAnnotationChangedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type CosmosPartitionKeyInPrimaryKeyConvention = class
interface IEntityTypeAddedConvention
interface IConvention
interface IPropertyAnnotationChangedConvention
interface IForeignKeyOwnershipChangedConvention
interface IForeignKeyRemovedConvention
interface IKeyAddedConvention
interface IKeyRemovedConvention
interface IEntityTypePrimaryKeyChangedConvention
interface IEntityTypeAnnotationChangedConvention
interface IEntityTypeBaseTypeChangedConvention
Public Class CosmosPartitionKeyInPrimaryKeyConvention
Implements IEntityTypeAddedConvention, IEntityTypeAnnotationChangedConvention, IEntityTypeBaseTypeChangedConvention, IEntityTypePrimaryKeyChangedConvention, IForeignKeyOwnershipChangedConvention, IForeignKeyRemovedConvention, IKeyAddedConvention, IKeyRemovedConvention, IPropertyAnnotationChangedConvention
- 継承
-
CosmosPartitionKeyInPrimaryKeyConvention
- 属性
- 実装
注釈
詳細と例については、「モデルの構築規則」および「EF Core を使用したAzure Cosmos DBへのアクセス」を参照してください。
コンストラクター
| Name | 説明 |
|---|---|
| CosmosPartitionKeyInPrimaryKeyConvention(ProviderConventionSetBuilderDependencies) |
CosmosPartitionKeyInPrimaryKeyConventionの新しいインスタンスを作成します。 |
フィールド
| Name | 説明 |
|---|---|
| JObjectPropertyName |
これは、パブリック API と同じ互換性標準の対象ではなく、Entity Framework Core インフラストラクチャをサポートする内部 API です。 これは、任意のリリースで予告なしに変更または削除される可能性があります。 コード内で直接使用する場合は、細心の注意を払う必要があります。これを行うと、新しいEntity Framework Core リリースに更新するときにアプリケーションのエラーが発生する可能性があることを認識してください。 |
プロパティ
| Name | 説明 |
|---|---|
| Dependencies |
このサービスの依存関係。 |