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

            Context = new IrbisTransactionContext();

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