Share via


AnnotationCodeGenerator.Generate(String, Object, IndentedTextWriter) Method

Definition

Implement this method to generate code for the given annotation value.

public abstract void Generate (string annotationName, object annotation, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member Generate : string * obj * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
Public MustOverride Sub Generate (annotationName As String, annotation As Object, writer As IndentedTextWriter)

Parameters

annotationName
String

The name of the annotation for which a value is being generated.

annotation
Object

The annotation value.

writer
IndentedTextWriter

The writer to which generated code should be written.

Applies to