CSharpMigrationCodeGenerator.WriteClassEnd(String, 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.
Generates the closing code for a class that was started with WriteClassStart.
protected virtual void WriteClassEnd (string namespace, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1716:IdentifiersShouldNotMatchKeywords", MessageId="namespace")]
protected virtual void WriteClassEnd (string namespace, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member WriteClassEnd : string * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
override this.WriteClassEnd : string * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
Protected Overridable Sub WriteClassEnd (namespace As String, writer As IndentedTextWriter)
Parameters
- namespace
- String
Namespace that code should be generated in.
- writer
- IndentedTextWriter
Text writer to add the generated code to.
- Attributes
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