AnnotationCodeGenerator.Generate(String, Object, IndentedTextWriter) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework