다음을 통해 공유


TriggerBuilder.HasAnnotation(String, Object) 메서드

정의

트리거에 주석을 추가하거나 업데이트합니다. 에 지정된 annotation 키가 있는 주석이 이미 있는 경우 해당 값이 업데이트됩니다.

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TriggerBuilder HasAnnotation (string annotation, object? value);
abstract member HasAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Metadata.Builders.TriggerBuilder
override this.HasAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Metadata.Builders.TriggerBuilder
Public Overridable Function HasAnnotation (annotation As String, value As Object) As TriggerBuilder

매개 변수

annotation
String

추가하거나 업데이트할 주석의 키입니다.

value
Object

주석에 저장할 값입니다.

반환

동일한 작성기가 여러 구성 호출을 연결할 수 있도록 instance.

적용 대상