TransactionContext コンストラクター
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
TransactionContext クラスの新しいインスタンスを初期化します。
名前空間: System.Data.Entity.Infrastructure
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
Public Sub New ( _
existingConnection As DbConnection _
)
'使用
Dim existingConnection As DbConnection
Dim instance As New TransactionContext(existingConnection)
public TransactionContext(
DbConnection existingConnection
)
public:
TransactionContext(
DbConnection^ existingConnection
)
new :
existingConnection:DbConnection -> TransactionContext
public function TransactionContext(
existingConnection : DbConnection
)
パラメーター
- existingConnection
型 : System.Data.Common.DbConnection
トランザクションが記録されるコンテキストで使用される接続。