Language

DatabaseTrigger クラス

定義

既存のデータベースをリバース エンジニアリングするときに使用されるデータベース トリガーの単純なモデル。

[System.Runtime.CompilerServices.Nullable(0)]
public class DatabaseTrigger : Microsoft.EntityFrameworkCore.Infrastructure.Annotatable
public class DatabaseTrigger : Microsoft.EntityFrameworkCore.Infrastructure.Annotatable
[<System.Runtime.CompilerServices.Nullable(0)>]
type DatabaseTrigger = class
    inherit Annotatable
type DatabaseTrigger = class
    inherit Annotatable
Public Class DatabaseTrigger
Inherits Annotatable
継承
属性

注釈

詳細と例については、 既存のデータベースのリバース エンジニアリング (スキャフォールディング) と EF Core のデザイン時サービス を参照してください。

コンストラクター

Name 説明
DatabaseTrigger()

既存のデータベースをリバース エンジニアリングするときに使用されるデータベース トリガーの単純なモデル。

プロパティ

Name 説明
IsReadOnly

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

(継承元 AnnotatableBase)
Name

トリガー名。

メソッド

Name 説明
AddAnnotations(IEnumerable<IAnnotation>)

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

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

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

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

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

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

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

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

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

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

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

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

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

(継承元 AnnotatableBase)
EnsureMutable()

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

(継承元 Annotatable)
EnsureReadOnly()

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

(継承元 Annotatable)
FindRuntimeAnnotation(String)

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

(継承元 AnnotatableBase)
GetAnnotation(String)

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

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

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

(継承元 AnnotatableBase)
GetRuntimeAnnotations()

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

(継承元 AnnotatableBase)
RemoveRuntimeAnnotation(String)

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

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

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

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

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

(継承元 AnnotatableBase)

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

Name 説明
IAnnotatable.AddRuntimeAnnotation(String, Object)

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

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

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

(継承元 AnnotatableBase)
IAnnotatable.GetRuntimeAnnotations()

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

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

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

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

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

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

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

(継承元 Annotatable)
IMutableAnnotatable.RemoveAnnotation(String)

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

(継承元 Annotatable)
IMutableAnnotatable.SetOrRemoveAnnotation(String, Object)

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

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

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

(継承元 AnnotatableBase)
IReadOnlyAnnotatable.GetAnnotations()

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

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

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

(継承元 AnnotatableBase)

適用対象