Share via


CSharpMigrationCodeGenerator.GenerateAnnotations Method

Definition

Overloads

GenerateAnnotations(IDictionary<String,Object>, IndentedTextWriter)

Generates code for to re-create the given dictionary of annotations for use when passing these annotations as a parameter of a DbMigration. call.

GenerateAnnotations(IDictionary<String,AnnotationValues>, IndentedTextWriter)

Generates code for to re-create the given dictionary of annotations for use when passing these annotations as a parameter of a DbMigration. call.

GenerateAnnotations(IDictionary<String,Object>, IndentedTextWriter)

Generates code for to re-create the given dictionary of annotations for use when passing these annotations as a parameter of a DbMigration. call.

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)

Parameters

annotations
IDictionary<String,Object>

The annotations to generate.

writer
IndentedTextWriter

The writer to which generated code should be written.

Applies to

GenerateAnnotations(IDictionary<String,AnnotationValues>, IndentedTextWriter)

Generates code for to re-create the given dictionary of annotations for use when passing these annotations as a parameter of a DbMigration. call.

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)

Parameters

annotations
IDictionary<String,AnnotationValues>

The annotations to generate.

writer
IndentedTextWriter

The writer to which generated code should be written.

Applies to