ModelSourceDependencies.ModelCustomizer 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
得到 IModelCustomizer 的 會對模型進行額外的配置,除了慣例所發現的內容外。
public Microsoft.EntityFrameworkCore.Infrastructure.IModelCustomizer ModelCustomizer { get; init; }
public Microsoft.EntityFrameworkCore.Infrastructure.IModelCustomizer ModelCustomizer { get; }
member this.ModelCustomizer : Microsoft.EntityFrameworkCore.Infrastructure.IModelCustomizer with get, set
member this.ModelCustomizer : Microsoft.EntityFrameworkCore.Infrastructure.IModelCustomizer
Public Property ModelCustomizer As IModelCustomizer
Public ReadOnly Property ModelCustomizer As IModelCustomizer