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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework