Annotatable.EnsureMutable Method

Definition

Throws if the model is read-only.

C#
protected override void EnsureMutable ();

Applies to

Product Versions
Entity Framework Core 6.0, 7.0, 8.0, 9.0