Compartilhar via


CSharpSnapshotGenerator.GenerateAnnotation Método

Definição

Sobrecargas

GenerateAnnotation(IAnnotation, IndentedStringBuilder)

Gera código para uma anotação que não tem uma chamada à API fluente.

GenerateAnnotation(IAnnotation, IndentedStringBuilder)

Gera código para uma anotação.

GenerateAnnotation(IAnnotation, IndentedStringBuilder)

Gera código para uma anotação que não tem uma chamada à API fluente.

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)

Parâmetros

annotation
IAnnotation

A anotação.

stringBuilder
IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a

GenerateAnnotation(IAnnotation, IndentedStringBuilder)

Gera código para uma anotação.

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)

Parâmetros

annotation
IAnnotation

A anotação.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

O código do construtor é adicionado a.

Aplica-se a