Condividi tramite


CSharpSnapshotGenerator.GenerateAnnotation Metodo

Definizione

Overload

GenerateAnnotation(IAnnotation, IndentedStringBuilder)

Genera codice per un'annotazione che non dispone di una chiamata API fluente.

GenerateAnnotation(IAnnotation, IndentedStringBuilder)

Genera codice per un'annotazione.

GenerateAnnotation(IAnnotation, IndentedStringBuilder)

Origine:
CSharpSnapshotGenerator.cs

Genera codice per un'annotazione che non dispone di una chiamata 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)

Parametri

annotation
IAnnotation

Annotazione.

stringBuilder
IndentedStringBuilder

Il codice del generatore viene aggiunto a.

Si applica a

GenerateAnnotation(IAnnotation, IndentedStringBuilder)

Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs
Origine:
CSharpSnapshotGenerator.cs

Genera codice per un'annotazione.

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)

Parametri

annotation
IAnnotation

Annotazione.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Il codice del generatore viene aggiunto a.

Si applica a