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

            Context = new IrbisTransactionContext();

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