ModelExtensions.GetProductVersion(IModel) 方法

定義

取得用來建置此模型的 EF Core 元件版本

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

參數

model
IModel

要為其取得版本的模型。

傳回

適用於