CSharpSnapshotGenerator.GenerateAnnotation 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GenerateAnnotation(IAnnotation, IndentedStringBuilder) |
为没有流畅 API 调用的注释生成代码。 |
GenerateAnnotation(IAnnotation, IndentedStringBuilder) |
为批注生成代码。 |
GenerateAnnotation(IAnnotation, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
为没有流畅 API 调用的注释生成代码。
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)
参数
- annotation
- IAnnotation
批注。
- stringBuilder
- IndentedStringBuilder
将生成器代码添加到 。
适用于
GenerateAnnotation(IAnnotation, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
为批注生成代码。
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)
参数
- annotation
- IAnnotation
批注。
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
将生成器代码添加到 。