共用方式為


DbConfiguration.DependencyResolver 屬性

定義

IDbDependencyResolver取得用來解析 Entity Framework 中服務相依性的 。

public static System.Data.Entity.Infrastructure.DependencyResolution.IDbDependencyResolver DependencyResolver { get; }
member this.DependencyResolver : System.Data.Entity.Infrastructure.DependencyResolution.IDbDependencyResolver
Public Shared ReadOnly Property DependencyResolver As IDbDependencyResolver

屬性值

適用於