Beispiel #1
0
 public void CommitTransaction()
 {
     Context = Context.ParentContext;
     if (ReferenceEquals(Context, null))
     {
         Context = new IrbisTransactionContext();
     }
 }
Beispiel #2
0
 public IrbisTransactionContext
 (
     IrbisTransactionContext parentContext
 )
     : this()
 {
     ParentContext = parentContext;
 }
Beispiel #3
0
 public IrbisTransactionContext
 (
     string name,
     IrbisTransactionContext parentContext
 )
     : this()
 {
     Name          = name;
     ParentContext = parentContext;
 }
Beispiel #4
0
 public void BeginTransaction
 (
     string name
 )
 {
     Context = new IrbisTransactionContext
               (
         name,
         Context
               );
 }
Beispiel #5
0
        public IrbisTransactionManager
        (
            ManagedClient64 client
        )
        {
            if (ReferenceEquals(client, null))
            {
                throw new ArgumentNullException("client");
            }

            Context = new IrbisTransactionContext();

            Client              = client;
            Client.Transaction += _EventHandler;
        }