CSharpMigrationCodeGenerator.GenerateAnnotations 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
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
Entity Framework