CSharpSnapshotGenerator.GenerateAnnotations 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
GenerateAnnotations(IEnumerable<IAnnotation>, IndentedStringBuilder) |
Generates code for annotations. |
GenerateAnnotations(IReadOnlyList<IAnnotation>, IndentedStringBuilder) |
Generates code for annotations. |
GenerateAnnotations(IEnumerable<IAnnotation>, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
Generates code for annotations.
protected virtual void GenerateAnnotations (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateAnnotations : seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateAnnotations : seq<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateAnnotations (annotations As IEnumerable(Of IAnnotation), stringBuilder As IndentedStringBuilder)
Parameters
- annotations
- IEnumerable<IAnnotation>
The annotations.
- stringBuilder
- IndentedStringBuilder
The builder code is added to.
Applies to
GenerateAnnotations(IReadOnlyList<IAnnotation>, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
Generates code for annotations.
protected virtual void GenerateAnnotations (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateAnnotations : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateAnnotations : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateAnnotations (annotations As IReadOnlyList(Of IAnnotation), stringBuilder As IndentedStringBuilder)
Parameters
- annotations
- IReadOnlyList<IAnnotation>
The annotations.
- stringBuilder
- 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