Bagikan melalui


OperationBuilder<TOperation>.Annotation(String, Object) Metode

Definisi

Anotasi operasi dengan pasangan nama/nilai yang diberikan.

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)

Parameter

name
String

Nama anotasi.

value
Object

Nilai anotasi.

Mengembalikan

Penyusun yang sama sehingga beberapa panggilan dapat dirangkai.

Berlaku untuk