다음을 통해 공유


OperationBuilder<TOperation>.Annotation(String, Object) 메서드

정의

지정된 이름/값 쌍을 사용하여 작업에 주석을 추가합니다.

public virtual Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<TOperation> Annotation (string name, object value);
public virtual Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<TOperation> Annotation (string name, object? value);
abstract member Annotation : string * obj -> Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<'Operation (requires 'Operation :> Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation)>
override this.Annotation : string * obj -> Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.OperationBuilder<'Operation (requires 'Operation :> Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation)>
Public Overridable Function Annotation (name As String, value As Object) As OperationBuilder(Of TOperation)

매개 변수

name
String

주석 이름입니다.

value
Object

주석 값입니다.

반환

여러 호출을 연결할 수 있도록 동일한 작성기입니다.

적용 대상