次の方法で共有


DbContextInfo コンストラクター (Type)

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

指定されたコンテキスト型で DbContextInfo クラスの新しいインスタンスを初期化します。

名前空間:  System.Data.Entity.Infrastructure
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
Public Sub New ( _
    contextType As Type _
)
'使用
Dim contextType As Type 

Dim instance As New DbContextInfo(contextType)
public DbContextInfo(
    Type contextType
)
public:
DbContextInfo(
    Type^ contextType
)
new : 
        contextType:Type -> DbContextInfo
public function DbContextInfo(
    contextType : Type
)

パラメーター

参照

参照

DbContextInfo クラス

DbContextInfo オーバーロード

System.Data.Entity.Infrastructure 名前空間