Compartir a través de


CSharpMigrationCodeGenerator.GenerateAnnotations Método

Definición

Sobrecargas

GenerateAnnotations(IDictionary<String,Object>, IndentedTextWriter)

Genera código para volver a crear el diccionario de anotaciones especificado para su uso al pasar estas anotaciones como parámetro de .DbMigration call:

GenerateAnnotations(IDictionary<String,AnnotationValues>, IndentedTextWriter)

Genera código para volver a crear el diccionario de anotaciones especificado para su uso al pasar estas anotaciones como parámetro de .DbMigration call:

GenerateAnnotations(IDictionary<String,Object>, IndentedTextWriter)

Genera código para volver a crear el diccionario de anotaciones especificado para su uso al pasar estas anotaciones como parámetro de .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)

Parámetros

annotations
IDictionary<String,Object>

Anotaciones que se van a generar.

writer
IndentedTextWriter

Escritor en el que se debe escribir el código generado.

Se aplica a

GenerateAnnotations(IDictionary<String,AnnotationValues>, IndentedTextWriter)

Genera código para volver a crear el diccionario de anotaciones especificado para su uso al pasar estas anotaciones como parámetro de .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)

Parámetros

annotations
IDictionary<String,AnnotationValues>

Anotaciones que se van a generar.

writer
IndentedTextWriter

Escritor en el que se debe escribir el código generado.

Se aplica a