CSharpMigrationOperationGenerator.OldAnnotations 方法

定义

重载

OldAnnotations(IEnumerable<Annotation>, IndentedStringBuilder)

为已删除 Annotation 的对象生成代码。

OldAnnotations(IEnumerable<Annotation>, IndentedStringBuilder)

为已删除 Annotation 的对象生成代码。

OldAnnotations(IEnumerable<Annotation>, IndentedStringBuilder)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
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)

Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
CSharpMigrationOperationGenerator.cs
Source:
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

将生成器代码添加到 。

适用于