共用方式為


CSharpMigrationOperationGenerator.OldAnnotations 方法

定義

多載

OldAnnotations(IEnumerable<Annotation>, IndentedStringBuilder)

產生已移除 Annotation 物件的程式碼。

OldAnnotations(IEnumerable<Annotation>, IndentedStringBuilder)

產生已移除 Annotation 物件的程式碼。

OldAnnotations(IEnumerable<Annotation>, IndentedStringBuilder)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs

產生已移除 Annotation 物件的程式碼。

protected virtual void OldAnnotations (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.Annotation> annotations, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder builder);
abstract member OldAnnotations : seq<Microsoft.EntityFrameworkCore.Infrastructure.Annotation> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.OldAnnotations : seq<Microsoft.EntityFrameworkCore.Infrastructure.Annotation> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub OldAnnotations (annotations As IEnumerable(Of Annotation), builder As IndentedStringBuilder)

參數

annotations
IEnumerable<Annotation>

註解。

builder
IndentedStringBuilder

建立器程式碼會新增至 。

適用於

OldAnnotations(IEnumerable<Annotation>, IndentedStringBuilder)

來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs
來源:
CSharpMigrationOperationGenerator.cs

產生已移除 Annotation 物件的程式碼。

protected virtual void OldAnnotations (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.Annotation> annotations, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder builder);
abstract member OldAnnotations : seq<Microsoft.EntityFrameworkCore.Infrastructure.Annotation> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.OldAnnotations : seq<Microsoft.EntityFrameworkCore.Infrastructure.Annotation> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub OldAnnotations (annotations As IEnumerable(Of Annotation), builder As IndentedStringBuilder)

參數

annotations
IEnumerable<Annotation>

註解。

builder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

建立器程式碼會新增至 。

適用於