Sdílet prostřednictvím


AnnotationCodeGenerator.Generate(String, Object, IndentedTextWriter) Metoda

Definice

Implementujte tuto metodu pro vygenerování kódu pro danou hodnotu poznámky.

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)

Parametry

annotationName
String

Název poznámky, pro kterou se generuje hodnota.

annotation
Object

Hodnota poznámky.

writer
IndentedTextWriter

Zapisovač, do kterého se má vygenerovaný kód zapsat.

Platí pro