CSharpSnapshotGenerator.GenerateAnnotation 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
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)
- Source:
- CSharpSnapshotGenerator.cs
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)
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
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
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