CSharpSnapshotGenerator.GenerateAnnotations Method

Definition

Overloads

GenerateAnnotations(IEnumerable<IAnnotation>, IndentedStringBuilder)

Generates code for annotations.

GenerateAnnotations(IReadOnlyList<IAnnotation>, IndentedStringBuilder)

Generates code for annotations.

GenerateAnnotations(IEnumerable<IAnnotation>, IndentedStringBuilder)

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)

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