ModelCodeGenerationOptions.RootNamespace Property

Definition

Gets or sets the namespace of the project.

C#
public virtual string RootNamespace { get; set; }
C#
public virtual string? RootNamespace { get; set; }

Property Value

The namespace of the project.

Applies to

Product Versions
Entity Framework Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0