Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/06/10 14:14:47 (15 years ago)
Author:
kgrading
Message:

changed the isolation level of the binary stream and added output to PersistableObject (#828)

Location:
trunk/sources/HeuristicLab.DataAccess.ADOHelper/3.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.DataAccess.ADOHelper/3.2/SessionFactory.cs

    r2096 r2606  
    3535
    3636    public Type DbConnectionType { get;  set; }
    37     public String DbConnectionString { get;  set; }
     37    private String dbConnectionString;
     38    public String DbConnectionString {
     39        get {
     40            return dbConnectionString;
     41        }
     42        set {
     43            this.dbConnectionString = value;
     44            Console.WriteLine("connection set! "+ value);
     45        }
     46    }
    3847
    3948    public SessionFactory() {
  • trunk/sources/HeuristicLab.DataAccess.ADOHelper/3.2/VarBinaryStream.cs

    r2123 r2606  
    173173
    174174          _ownedTransaction = false;
    175 
    176           if (_transaction.IsolationLevel != IsolationLevel.RepeatableRead &&
    177               _transaction.IsolationLevel != IsolationLevel.Serializable) {
    178             throw new ArgumentException("Transaction level must be at least repeatable read");
    179           }
    180175        } else {
    181176          _transaction =
    182177            _connection.BeginTransaction(
    183           IsolationLevel.RepeatableRead)
     178          IsolationLevel.ReadCommitted)
    184179            as SqlTransaction;
    185180
Note: See TracChangeset for help on using the changeset viewer.