Exemple #1
0
 public virtual void _0001(RollbackTransactionGrbit ident)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     if (ident < (RollbackTransactionGrbit)0 || ident > (RollbackTransactionGrbit)1)
     {
         throw new ArgumentOutOfRangeException("value");
     }
     _StatusError = ident;
 }
        public static string PublishIssuer(Type info, RollbackTransactionGrbit cont, UtilsRequestStrategy consumer)
        {
            //Discarded unreachable code: IL_0002
            //IL_0003: Incompatible stack heights: 0 vs 1
            string text = WriteIssuer(info, consumer);

            switch (cont)
            {
            case (RollbackTransactionGrbit)0:
                return(RevertIssuer(text));

            case (RollbackTransactionGrbit)1:
                return(text);

            default:
                throw new ArgumentOutOfRangeException();
            }
        }
Exemple #3
0
 /// <summary>
 /// Undoes the changes made to the state of the database
 /// and returns to the last save point. JetRollback will also close any cursors
 /// opened during the save point. If the outermost save point is undone, the
 /// session will exit the transaction.
 /// </summary>
 /// <param name="sesid">The session to rollback the transaction for.</param>
 /// <param name="grbit">Rollback options.</param>
 public static void JetRollback(JET_SESID sesid, RollbackTransactionGrbit grbit)
 {
     Api.Check(Impl.JetRollback(sesid, grbit));
 }
Exemple #4
0
 public override void _0001(RollbackTransactionGrbit init)
 {
     //Discarded unreachable code: IL_0002
     //IL_0003: Incompatible stack heights: 0 vs 1
     m_ExpressionProperty._0001(init);
 }