public override bool Transform(AliasDefine node)
 {
     if (node.Order == AliasDefine.OrderType.Column)
     {
         string tmpVal = node.Value;
         node.Value  = CaseFormatUtils.Convert(_entity.ReservedWordCase, "AS");
         node.Value += _entity.BeforeAliasDefineWhiteSpace;
         node.Value += tmpVal;
     }
     return(base.Transform(node));
 }
예제 #2
0
 public override bool Transform(TableOrColumnName node)
 {
     if (node.Order == TableOrColumnName.OrderType.Table)
     {
         node.Value = CaseFormatUtils.Convert(_entity.ColumnNameCase, node.Value);
     }
     else if (node.Order == TableOrColumnName.OrderType.Column)
     {
         node.Value = CaseFormatUtils.Convert(_entity.TableNameCase, node.Value);
     }
     return(base.Transform(node));
 }
예제 #3
0
 public override bool Transform(Statement node)
 {
     node.Value = CaseFormatUtils.Convert(_entity.StatementSeparatorCase, node.Value);
     return(base.Transform(node));
 }
예제 #4
0
 public override bool Transform(ReservedTopLevel node)
 {
     node.Value = CaseFormatUtils.Convert(_entity.TopReservedWordCase, node.Value);
     return(base.Transform(node));
 }
예제 #5
0
 public override bool Transform(AliasDefine node)
 {
     node.Value = CaseFormatUtils.Convert(_entity.AliasNameCase, node.Value);
     return(base.Transform(node));
 }