Share via


CSharpSnapshotGenerator.GenerateAnnotation Method

Definition

Overloads

GenerateAnnotation(IAnnotation, IndentedStringBuilder)

Generates code for an annotation which does not have a fluent API call.

GenerateAnnotation(IAnnotation, IndentedStringBuilder)

Generates code for an annotation.

GenerateAnnotation(IAnnotation, IndentedStringBuilder)

Generates code for an annotation which does not have a fluent API call.

protected virtual void GenerateAnnotation (Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateAnnotation : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateAnnotation : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateAnnotation (annotation As IAnnotation, stringBuilder As IndentedStringBuilder)

Parameters

annotation
IAnnotation

The annotation.

stringBuilder
IndentedStringBuilder

The builder code is added to.

Applies to

GenerateAnnotation(IAnnotation, IndentedStringBuilder)

Generates code for an annotation.

protected virtual void GenerateAnnotation (Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateAnnotation : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateAnnotation : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateAnnotation (annotation As IAnnotation, stringBuilder As IndentedStringBuilder)

Parameters

annotation
IAnnotation

The annotation.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

The builder code is added to.

Applies to