Dela via


ModelExtensions.GetProductVersion(IModel) Method

Definition

Gets the EF Core assembly version used to build this model

public static string GetProductVersion (this Microsoft.EntityFrameworkCore.Metadata.IModel model);
static member GetProductVersion : Microsoft.EntityFrameworkCore.Metadata.IModel -> string
<Extension()>
Public Function GetProductVersion (model As IModel) As String

Parameters

model
IModel

The model to get the version for.

Returns

Applies to