Default IsolationLevel (Wish List)

Posts   
 
    
Marcus avatar
Marcus
User
Posts: 747
Joined: 23-Apr-2004
# Posted on: 13-Jan-2005 11:26:17   

Frans,

What would be the chances of you introducing a default IsolationLevel in the .config. Currently the adapter starts a transaction if one is not already in progress, but the IsolationLevel is hardcoded:

public virtual bool SaveEntity(IEntity2 entityToSave, bool refetchAfterSave, IPredicateExpression updateRestriction, bool recurse)
{
    ...
    StartTransaction(IsolationLevel.ReadCommitted, "RecursiveSave");
    ...
}

I would like to be able to set a global default IsolationLevel in the .config file which I can modify for testing purposes.

Marcus

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 13-Jan-2005 11:48:36   

Added to todolist simple_smile

Frans Bouma | Lead developer LLBLGen Pro
Marcus avatar
Marcus
User
Posts: 747
Joined: 23-Apr-2004
# Posted on: 13-Jan-2005 11:54:37   

Otis wrote:

Added to todolist simple_smile

Thanks smile