CompiledModelCodeGenerationOptions Class
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.
Represents the options to use while generating code for compiled model metadata.
public class CompiledModelCodeGenerationOptions
type CompiledModelCodeGenerationOptions = class
Public Class CompiledModelCodeGenerationOptions
- Inheritance
-
CompiledModelCodeGenerationOptions
Constructors
CompiledModelCodeGenerationOptions() |
Properties
ContextType |
Gets or sets the type of the corresponding DbContext. |
ForNativeAot |
Gets or sets a value indicating whether the generated code should be compatible with NativeAOT. |
GeneratedFileNames |
Gets or sets the set of file names generated so far. |
Language |
Gets or sets the programming language to scaffold for. |
ModelNamespace |
Gets or sets the namespace for model metadata classes. |
Suffix |
Gets or sets the suffix to attach to the name of all the generated files. |
UseNullableReferenceTypes |
Gets or sets a value indicating whether nullable reference types are enabled. |
Applies to
Entity Framework