AnnotationCodeGenerator.Generate Method (String, Object, IndentedTextWriter)
Generates code for the given annotation value.
Assembly: EntityFramework (in EntityFramework.dll)
public abstract void Generate( string annotationName, object annotation, IndentedTextWriter writer )
Parameters
- annotationName
-
Type:
System.String
The name of the annotation for which a value is being generated.
- annotation
-
Type:
System.Object
The annotation value.
- writer
-
Type:
System.Data.Entity.Migrations.Utilities.IndentedTextWriter
The writer to which generated code should be written.