ScaffoldedModel.ContextFile Property

Definition

Gets or sets the generated file containing the DbContext.

C#
public virtual Microsoft.EntityFrameworkCore.Scaffolding.ScaffoldedFile ContextFile { get; set; }

Property Value

The generated file containing the DbContext.

Applies to

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