CheckConstraintConvention クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
派生型の check 制約が基本型の check 制約と互換性があることを保証する規則。 また、宣言する型が最新であることを確認します。
[System.Runtime.CompilerServices.Nullable(0)]
public class CheckConstraintConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention
public class CheckConstraintConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type CheckConstraintConvention = class
interface IEntityTypeBaseTypeChangedConvention
interface IConvention
interface IEntityTypeAddedConvention
type CheckConstraintConvention = class
interface IEntityTypeBaseTypeChangedConvention
interface IConvention
interface IEntityTypeAddedConvention
Public Class CheckConstraintConvention
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention
- 継承
-
CheckConstraintConvention
- 属性
- 実装
注釈
詳細と例については、「 モデル構築規則 」を参照してください。
コンストラクター
| Name | 説明 |
|---|---|
| CheckConstraintConvention(ProviderConventionSetBuilderDependencies, RelationalConventionSetBuilderDependencies) |
CheckConstraintConventionの新しいインスタンスを作成します。 |
プロパティ
| Name | 説明 |
|---|---|
| Dependencies |
このサービスの依存関係。 |
| RelationalDependencies |
このサービスのリレーショナル プロバイダー固有の依存関係。 |
メソッド
| Name | 説明 |
|---|---|
| ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>) |
エンティティ型がモデルに追加された後に呼び出されます。 |
| ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, IConventionContext<IConventionEntityType>) |
エンティティ型の基本型が変更された後に呼び出されます。 |