語言

AdHocMapperDependencies(IModel, ModelCreationDependencies) 建構函式

定義

這是一個內部 API,支援 Entity Framework Core 基礎架構,且不受公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用它,並且要非常謹慎,並且要知道這樣做可能會導致更新到新的 Entity Framework Core 版本時應用程式失敗。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public AdHocMapperDependencies(Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.ModelCreationDependencies modelCreationDependencies);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.AdHocMapperDependencies : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.ModelCreationDependencies -> Microsoft.EntityFrameworkCore.Metadata.AdHocMapperDependencies
Public Sub New (model As IModel, modelCreationDependencies As ModelCreationDependencies)

參數

model
IModel
modelCreationDependencies
ModelCreationDependencies
屬性

適用於