IReadOnlyModel.GetProductVersion Method

Definition

Gets the EF Core assembly version used to build this model.

C#
public virtual string? GetProductVersion ();

Returns

Remarks

See Modeling entity types and relationships for more information and examples.

Applies to

Produkt Versioner
Entity Framework Core 6.0, 7.0, 8.0, 9.0