CSharpMigrationOperationGenerator.OldAnnotations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OldAnnotations(IEnumerable<Annotation>, IndentedStringBuilder) |
Generates code for removed Annotation objects. |
OldAnnotations(IEnumerable<Annotation>, IndentedStringBuilder) |
Generates code for removed Annotation objects. |
OldAnnotations(IEnumerable<Annotation>, IndentedStringBuilder)
Generates code for removed Annotation objects.
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)
Parameters
- annotations
- IEnumerable<Annotation>
The annotations.
- builder
- IndentedStringBuilder
The builder code is added to.
Applies to
OldAnnotations(IEnumerable<Annotation>, IndentedStringBuilder)
Generates code for removed Annotation objects.
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)
Parameters
- annotations
- IEnumerable<Annotation>
The annotations.
- builder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
The builder code is added to.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework