ModelExtensions.GetProductVersion(IModel) Method

Definition

Gets the EF Core assembly version used to build this model

C#
public static string GetProductVersion (this Microsoft.EntityFrameworkCore.Metadata.IModel model);

Parameters

model
IModel

The model to get the version for.

Returns

Applies to

Produkt Versioner
Entity Framework Core 3.0, 3.1, 5.0