ModelCodeGenerationOptions.ContextNamespace Property

Definition

Gets or sets the namespace for context class.

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

Property Value

The namespace for context class.

Applies to

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