EntityClassGenerator Constructors

Definition

Initializes a new instance of the EntityClassGenerator class.

Overloads

EntityClassGenerator()

Initializes a new instance of the EntityClassGenerator class with a GenerateCSharpCode language option.

EntityClassGenerator(LanguageOption)

Initializes a new instance of the EntityClassGenerator class with the specified LanguageOption.

EntityClassGenerator()

Initializes a new instance of the EntityClassGenerator class with a GenerateCSharpCode language option.

C#
public EntityClassGenerator();

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

EntityClassGenerator(LanguageOption)

Initializes a new instance of the EntityClassGenerator class with the specified LanguageOption.

C#
public EntityClassGenerator(System.Data.Entity.Design.LanguageOption languageOption);

Parameters

languageOption
LanguageOption

A LanguageOption value that specifies the language of the generated code. The default language is C#.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1