VisualBasicMigrationCodeGenerator.GenerateAnnotations 方法

定义

重载

GenerateAnnotations(IDictionary<String,Object>, IndentedTextWriter)

为 生成代码,以重新创建给定的注释字典,以便在将这些注释作为 的参数 DbMigration传递时使用。 代码。

GenerateAnnotations(IDictionary<String,AnnotationValues>, IndentedTextWriter)

为 生成代码,以重新创建给定的注释字典,以便在将这些注释作为 的参数 DbMigration传递时使用。 代码。

GenerateAnnotations(IDictionary<String,Object>, IndentedTextWriter)

为 生成代码,以重新创建给定的注释字典,以便在将这些注释作为 的参数 DbMigration传递时使用。 代码。

protected internal virtual void GenerateAnnotations (System.Collections.Generic.IDictionary<string,object> annotations, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member GenerateAnnotations : System.Collections.Generic.IDictionary<string, obj> * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
override this.GenerateAnnotations : System.Collections.Generic.IDictionary<string, obj> * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
Protected Friend Overridable Sub GenerateAnnotations (annotations As IDictionary(Of String, Object), writer As IndentedTextWriter)

参数

annotations
IDictionary<String,Object>

要生成的批注。

writer
IndentedTextWriter

生成代码应写入的编写器。

适用于

GenerateAnnotations(IDictionary<String,AnnotationValues>, IndentedTextWriter)

为 生成代码,以重新创建给定的注释字典,以便在将这些注释作为 的参数 DbMigration传递时使用。 代码。

protected internal virtual void GenerateAnnotations (System.Collections.Generic.IDictionary<string,System.Data.Entity.Infrastructure.Annotations.AnnotationValues> annotations, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member GenerateAnnotations : System.Collections.Generic.IDictionary<string, System.Data.Entity.Infrastructure.Annotations.AnnotationValues> * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
override this.GenerateAnnotations : System.Collections.Generic.IDictionary<string, System.Data.Entity.Infrastructure.Annotations.AnnotationValues> * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
Protected Friend Overridable Sub GenerateAnnotations (annotations As IDictionary(Of String, AnnotationValues), writer As IndentedTextWriter)

参数

annotations
IDictionary<String,AnnotationValues>

要生成的批注。

writer
IndentedTextWriter

生成代码应写入的编写器。

适用于