Share via


CompiledModelCodeGenerationOptions Class

Definition

Represents the options to use while generating code for compiled model metadata.

[System.Runtime.CompilerServices.Nullable(0)]
public class CompiledModelCodeGenerationOptions
public class CompiledModelCodeGenerationOptions
[<System.Runtime.CompilerServices.Nullable(0)>]
type CompiledModelCodeGenerationOptions = class
type CompiledModelCodeGenerationOptions = class
Public Class CompiledModelCodeGenerationOptions
Inheritance
CompiledModelCodeGenerationOptions
Attributes

Constructors

Name Description
CompiledModelCodeGenerationOptions()

Properties

Name Description
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