Changeset 4092 for branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.LINQDataAccess/3.3/VarBinaryStream.cs
- Timestamp:
- 07/23/10 14:17:20 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.LINQDataAccess/3.3/VarBinaryStream.cs
r3578 r4092 150 150 dataColumn, string keyColumn, Guid key) { 151 151 _connection = connection; 152 _transaction = (SqlTransaction) ContextFactory. Context.Transaction;152 _transaction = (SqlTransaction) ContextFactory.Instance.CurrentContext.Transaction; 153 153 /* 154 154 if (_connection.State == ConnectionState.Closed) { … … 263 263 if (_connection != null) { 264 264 _connection.Close(); 265 ContextFactory. Context.Dispose();266 ContextFactory. Context = null;265 ContextFactory.Instance.CurrentContext.Dispose(); 266 ContextFactory.Instance.RemoveContext(); 267 267 Logger.Info("Connection and Context disposed and set null"); 268 268 }
Note: See TracChangeset
for help on using the changeset viewer.