CosmosValueGenerationConvention クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
外部キーの一部ではなく、主キーの一部であるプロパティ、またはデータベースの既定値を持つように構成されたプロパティに対して、ストア値の生成を OnAdd として構成する規則。
public class CosmosValueGenerationConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.ValueGenerationConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAnnotationChangedConvention
type CosmosValueGenerationConvention = class
inherit ValueGenerationConvention
interface IEntityTypeAnnotationChangedConvention
interface IConvention
Public Class CosmosValueGenerationConvention
Inherits ValueGenerationConvention
Implements IEntityTypeAnnotationChangedConvention
- 継承
- 実装
注釈
詳細と例については、 モデル構築規則 と EF Core 値の生成 を参照してください。
コンストラクター
| Name | 説明 |
|---|---|
| CosmosValueGenerationConvention(ProviderConventionSetBuilderDependencies) |
CosmosValueGenerationConventionの新しいインスタンスを作成します。 |
プロパティ
| Name | 説明 |
|---|---|
| Dependencies |
このサービスの依存関係。 (継承元 ValueGenerationConvention) |