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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework