Language

RuntimeTrigger クラス

定義

テーブルのデータベース トリガーを表します。

[System.Runtime.CompilerServices.Nullable(0)]
public class RuntimeTrigger : Microsoft.EntityFrameworkCore.Infrastructure.RuntimeAnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.ITrigger
public class RuntimeTrigger : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.ITrigger
[System.Runtime.CompilerServices.Nullable(0)]
public class RuntimeTrigger : Microsoft.EntityFrameworkCore.Infrastructure.AnnotatableBase, Microsoft.EntityFrameworkCore.Metadata.ITrigger
[<System.Runtime.CompilerServices.Nullable(0)>]
type RuntimeTrigger = class
    inherit RuntimeAnnotatableBase
    interface ITrigger
    interface IReadOnlyTrigger
    interface IReadOnlyAnnotatable
    interface IAnnotatable
type RuntimeTrigger = class
    inherit AnnotatableBase
    interface ITrigger
    interface IReadOnlyTrigger
    interface IReadOnlyAnnotatable
    interface IAnnotatable
[<System.Runtime.CompilerServices.Nullable(0)>]
type RuntimeTrigger = class
    inherit AnnotatableBase
    interface ITrigger
    interface IReadOnlyTrigger
    interface IReadOnlyAnnotatable
    interface IAnnotatable
Public Class RuntimeTrigger
Inherits RuntimeAnnotatableBase
Implements ITrigger
Public Class RuntimeTrigger
Inherits AnnotatableBase
Implements ITrigger
継承
継承
RuntimeTrigger
属性
実装

コンストラクター

Name 説明
RuntimeTrigger(RuntimeEntityType, String)

これは、パブリック API と同じ互換性標準の対象ではなく、Entity Framework Core インフラストラクチャをサポートする内部 API です。 これは、任意のリリースで予告なしに変更または削除される可能性があります。 コード内で直接使用する場合は、細心の注意を払う必要があります。これを行うと、新しいEntity Framework Core リリースに更新するときにアプリケーションのエラーが発生する可能性があることを認識してください。

プロパティ

Name 説明
DebugView

これは、パブリック API と同じ互換性標準の対象ではなく、Entity Framework Core インフラストラクチャをサポートする内部 API です。 これは、任意のリリースで予告なしに変更または削除される可能性があります。 コード内で直接使用する場合は、細心の注意を払う必要があります。これを行うと、新しいEntity Framework Core リリースに更新するときにアプリケーションのエラーが発生する可能性があることを認識してください。

EntityType

このトリガーが定義されているエンティティ型を取得します。

IsReadOnly

現在のオブジェクトが読み取り専用かどうかを示します。

(継承元 AnnotatableBase)
Item[String]

指定した名前の値注釈を取得し、存在しない場合は null 返します。

(継承元 RuntimeAnnotatableBase)
Item[String]

指定した名前の値注釈を取得し、存在しない場合は null 返します。

(継承元 AnnotatableBase)
ModelName

モデル内のトリガーの名前を取得します。

メソッド

Name 説明
AddAnnotation(String, Annotation)

このオブジェクトに注釈を追加します。 指定した名前の注釈が既に存在する場合にスローします。

(継承元 AnnotatableBase)
AddAnnotation(String, Object)

このオブジェクトに注釈を追加します。 指定した名前の注釈が既に存在する場合にスローします。

(継承元 RuntimeAnnotatableBase)
AddAnnotation(String, Object)

このオブジェクトに注釈を追加します。 指定した名前の注釈が既に存在する場合にスローします。

(継承元 AnnotatableBase)
AddAnnotations(IEnumerable<IAnnotation>)

同じ名前の既存の注釈をオーバーライドするこのオブジェクトに注釈を追加します。

(継承元 RuntimeAnnotatableBase)
AddAnnotations(IEnumerable<IAnnotation>)

このオブジェクトに注釈を追加します。

(継承元 AnnotatableBase)
AddAnnotations(IReadOnlyDictionary<String,Object>)

同じ名前の既存の注釈をオーバーライドするこのオブジェクトに注釈を追加します。

(継承元 RuntimeAnnotatableBase)
AddAnnotations(IReadOnlyDictionary<String,Object>)

このオブジェクトに注釈を追加します。

(継承元 AnnotatableBase)
AddRuntimeAnnotation(String, Annotation)

このオブジェクトにランタイム注釈を追加します。 指定した名前の注釈が既に存在する場合にスローします。

(継承元 RuntimeAnnotatableBase)
AddRuntimeAnnotation(String, Annotation)

このオブジェクトにランタイム注釈を追加します。 指定した名前の注釈が既に存在する場合にスローします。

(継承元 AnnotatableBase)
AddRuntimeAnnotation(String, Object)

このオブジェクトにランタイム注釈を追加します。 指定した名前の注釈が既に存在する場合にスローします。

(継承元 RuntimeAnnotatableBase)
AddRuntimeAnnotation(String, Object)

このオブジェクトにランタイム注釈を追加します。 指定した名前の注釈が既に存在する場合にスローします。

(継承元 AnnotatableBase)
AddRuntimeAnnotations(IEnumerable<Annotation>)

このオブジェクトにランタイム注釈を追加します。

(継承元 RuntimeAnnotatableBase)
AddRuntimeAnnotations(IEnumerable<Annotation>)

このオブジェクトにランタイム注釈を追加します。

(継承元 AnnotatableBase)
AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)

このオブジェクトにランタイム注釈を追加します。

(継承元 RuntimeAnnotatableBase)
AddRuntimeAnnotations(IReadOnlyDictionary<String,Object>)

このオブジェクトにランタイム注釈を追加します。

(継承元 AnnotatableBase)
CreateAnnotation(String, Object)

新しい注釈を作成します。

(継承元 RuntimeAnnotatableBase)
CreateAnnotation(String, Object)

新しい注釈を作成します。

(継承元 AnnotatableBase)
CreateRuntimeAnnotation(String, Object)

新しいランタイム注釈を作成します。

(継承元 RuntimeAnnotatableBase)
CreateRuntimeAnnotation(String, Object)

新しいランタイム注釈を作成します。

(継承元 AnnotatableBase)
EnsureMutable()

モデルが読み取り専用の場合にスローします。

(継承元 AnnotatableBase)
EnsureReadOnly()

モデルが読み取り専用でない場合にスローします。

(継承元 AnnotatableBase)
FindAnnotation(String)

指定した名前の注釈を取得し、存在しない場合は null 返します。

(継承元 RuntimeAnnotatableBase)
FindAnnotation(String)

指定した名前の注釈を取得し、存在しない場合は null 返します。

(継承元 AnnotatableBase)
FindRuntimeAnnotation(String)

指定された名前のランタイム注釈を取得し、存在しない場合は null を返します。

(継承元 RuntimeAnnotatableBase)
FindRuntimeAnnotation(String)

指定された名前のランタイム注釈を取得し、存在しない場合は null を返します。

(継承元 AnnotatableBase)
GetAnnotation(String)

指定した名前の注釈を取得し、存在しない場合はスローします。

(継承元 RuntimeAnnotatableBase)
GetAnnotation(String)

指定した名前の注釈を取得し、存在しない場合はスローします。

(継承元 AnnotatableBase)
GetAnnotations()

現在のオブジェクトのすべての注釈を取得します。

(継承元 AnnotatableBase)
GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg)

指定された名前を持つランタイム注釈の値を取得し、存在しない場合は追加します。

(継承元 RuntimeAnnotatableBase)
GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg)

指定された名前を持つランタイム注釈の値を取得し、存在しない場合は追加します。

(継承元 AnnotatableBase)
GetRuntimeAnnotations()

現在のオブジェクトのすべてのランタイム注釈を取得します。

(継承元 RuntimeAnnotatableBase)
GetRuntimeAnnotations()

現在のオブジェクトのすべてのランタイム注釈を取得します。

(継承元 AnnotatableBase)
OnAnnotationSet(String, Annotation, Annotation)

注釈が設定または削除されたときに呼び出されます。

(継承元 AnnotatableBase)
RemoveAnnotation(String)

このオブジェクトから指定された注釈を削除します。

(継承元 RuntimeAnnotatableBase)
RemoveAnnotation(String)

このオブジェクトから指定された注釈を削除します。

(継承元 AnnotatableBase)
RemoveRuntimeAnnotation(String)

指定されたランタイム注釈をこのオブジェクトから削除します。

(継承元 RuntimeAnnotatableBase)
RemoveRuntimeAnnotation(String)

指定されたランタイム注釈をこのオブジェクトから削除します。

(継承元 AnnotatableBase)
SetAnnotation(String, Annotation, Annotation)

指定したキーの下に格納されている注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

(継承元 AnnotatableBase)
SetAnnotation(String, Object)

指定したキーの下に格納されている注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

(継承元 RuntimeAnnotatableBase)
SetAnnotation(String, Object)

指定したキーの下に格納されている注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

(継承元 AnnotatableBase)
SetRuntimeAnnotation(String, Annotation, Annotation)

指定されたキーの下に格納されているランタイム注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

(継承元 RuntimeAnnotatableBase)
SetRuntimeAnnotation(String, Annotation, Annotation)

指定されたキーの下に格納されているランタイム注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

(継承元 AnnotatableBase)
SetRuntimeAnnotation(String, Object)

指定されたキーの下に格納されているランタイム注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

(継承元 RuntimeAnnotatableBase)
SetRuntimeAnnotation(String, Object)

指定されたキーの下に格納されているランタイム注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

(継承元 AnnotatableBase)
ToString()

テーブルのデータベース トリガーを表します。

明示的なインターフェイスの実装

Name 説明
IAnnotatable.AddRuntimeAnnotation(String, Object)

このオブジェクトにランタイム注釈を追加します。 指定した名前の注釈が既に存在する場合にスローします。

(継承元 RuntimeAnnotatableBase)
IAnnotatable.AddRuntimeAnnotation(String, Object)

このオブジェクトにランタイム注釈を追加します。 指定した名前の注釈が既に存在する場合にスローします。

(継承元 AnnotatableBase)
IAnnotatable.FindRuntimeAnnotation(String)

指定された名前のランタイム注釈を取得し、存在しない場合は null を返します。

(継承元 RuntimeAnnotatableBase)
IAnnotatable.FindRuntimeAnnotation(String)

指定された名前のランタイム注釈を取得し、存在しない場合は null を返します。

(継承元 AnnotatableBase)
IAnnotatable.GetRuntimeAnnotations()

現在のオブジェクトのすべてのランタイム注釈を取得します。

(継承元 RuntimeAnnotatableBase)
IAnnotatable.GetRuntimeAnnotations()

現在のオブジェクトのすべてのランタイム注釈を取得します。

(継承元 AnnotatableBase)
IAnnotatable.RemoveRuntimeAnnotation(String)

指定されたランタイム注釈をこのオブジェクトから削除します。

(継承元 RuntimeAnnotatableBase)
IAnnotatable.RemoveRuntimeAnnotation(String)

指定されたランタイム注釈をこのオブジェクトから削除します。

(継承元 AnnotatableBase)
IAnnotatable.SetRuntimeAnnotation(String, Object)

指定されたキーの下に格納されているランタイム注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

(継承元 RuntimeAnnotatableBase)
IAnnotatable.SetRuntimeAnnotation(String, Object)

指定されたキーの下に格納されているランタイム注釈を設定します。 指定した名前の注釈が既に存在する場合は、既存の注釈を上書きします。

(継承元 AnnotatableBase)
IReadOnlyAnnotatable.FindAnnotation(String)

指定した名前の注釈を取得し、存在しない場合は null 返します。

(継承元 RuntimeAnnotatableBase)
IReadOnlyAnnotatable.FindAnnotation(String)

指定した名前の注釈を取得し、存在しない場合は null 返します。

(継承元 AnnotatableBase)
IReadOnlyAnnotatable.GetAnnotations()

現在のオブジェクトのすべての注釈を取得します。

(継承元 RuntimeAnnotatableBase)
IReadOnlyAnnotatable.GetAnnotations()

現在のオブジェクトのすべての注釈を取得します。

(継承元 AnnotatableBase)
IReadOnlyAnnotatable.Item[String]

指定した名前の注釈の値を取得し、存在しない場合は null 返します。

(継承元 RuntimeAnnotatableBase)
IReadOnlyAnnotatable.Item[String]

指定した名前の注釈の値を取得し、存在しない場合は null 返します。

(継承元 AnnotatableBase)
IReadOnlyTrigger.EntityType

このトリガーが定義されているエンティティ型を取得します。

拡張メソッド

Name 説明
GetDatabaseName(IReadOnlyTrigger, StoreObjectIdentifier)

トリガーのデータベース名を取得します。

GetDatabaseName(IReadOnlyTrigger)

データベース内のトリガーの名前を取得します。

GetDefaultDatabaseName(IReadOnlyTrigger, StoreObjectIdentifier)

このトリガーに使用される既定のデータベース名を返します。

GetDefaultDatabaseName(IReadOnlyTrigger)

データベースでこのトリガーに使用される既定の名前を返します。

GetTableName(IReadOnlyTrigger)

このトリガーが定義されているテーブルの名前を取得します。

GetTableSchema(IReadOnlyTrigger)

このトリガーが定義されているテーブルのスキーマを取得します。

GetTriggerOperation(IReadOnlyTrigger)

このトリガーの Cosmos DB トリガー操作を取得します。

GetTriggerType(IReadOnlyTrigger)

このトリガーの Cosmos DB トリガーの種類を取得します。

適用対象