示例#1
0
 public override void Visit(SetTransactionIsolationLevelStatement node)
 {
     if (node.Level == IsolationLevel.ReadUncommitted)
     {
         TransactionIsolationLevelFound = true;
     }
 }
 public void ProcessSetTransactionIolationLevelStatement(SetTransactionIsolationLevelStatement Statement)
 {
     switch (Statement.Level)
     {
         case IsolationLevel.ReadUncommitted:
             _smells.SendFeedBack(10, Statement);
             break;
     }
 }
 public void ProcessSetTransactionIolationLevelStatement(SetTransactionIsolationLevelStatement Statement)
 {
     switch (Statement.Level)
     {
     case IsolationLevel.ReadUncommitted:
         _smells.SendFeedBack(10, Statement);
         break;
     }
 }
示例#4
0
 public override void Visit(SetTransactionIsolationLevelStatement node) { this.action(node); }
 public override void ExplicitVisit(SetTransactionIsolationLevelStatement fragment)
 {
     _fragments.Add(fragment);
 }