다음을 통해 공유


Annotatable.IMutableAnnotatable.AddAnnotation(String, Object) 메서드

정의

이 개체에 주석을 추가합니다. 지정된 이름의 주석이 이미 있는 경우 을 throw합니다.

Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IMutableAnnotatable.AddAnnotation (string name, object value);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IMutableAnnotatable.AddAnnotation (string name, object value);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation IMutableAnnotatable.AddAnnotation (string name, object? value);
abstract member Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.AddAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.AddAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.AddAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
override this.Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable.AddAnnotation : string * obj -> Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation
Function AddAnnotation (name As String, value As Object) As IAnnotation Implements IMutableAnnotatable.AddAnnotation

매개 변수

name
String

추가할 주석의 이름입니다.

value
Object

주석에 저장할 값입니다.

반환

새로 추가된 주석입니다.

구현

특성

적용 대상