ModelSnapshot 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.
Base class for the snapshot of the IModel state generated by Migrations.
public abstract class ModelSnapshot
type ModelSnapshot = class
Public MustInherit Class ModelSnapshot
- Inheritance
-
ModelSnapshot
Remarks
See Database migrations for more information and examples.
Constructors
ModelSnapshot() |
Constructs a new snapshot instance. |
Properties
Model |
The snapshot model. |
Methods
BuildModel(ModelBuilder) |
Called lazily by Model to build the model snapshot the first time it is requested. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework