CSharpMigrationCodeGenerator.WriteClassAttributes 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.
Generates class attributes.
protected virtual void WriteClassAttributes (System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer, bool designer);
abstract member WriteClassAttributes : System.Data.Entity.Migrations.Utilities.IndentedTextWriter * bool -> unit
override this.WriteClassAttributes : System.Data.Entity.Migrations.Utilities.IndentedTextWriter * bool -> unit
Protected Overridable Sub WriteClassAttributes (writer As IndentedTextWriter, designer As Boolean)
Parameters
- writer
- IndentedTextWriter
Text writer to add the generated code to.
- designer
- Boolean
A value indicating if this class is being generated for a code-behind file.
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