public override bool DmlfEquals(DmlfBase obj) { var o = (DmlfUnaryExpression)obj; if (!Argument.DmlfEquals(o.Argument)) return false; if (GetType() != obj.GetType()) return false; return true; }
public override bool DmlfEquals(DmlfBase obj) { var o = (DmlfFuncCallExpression) obj; if (o.Arguments.Count != Arguments.Count) return false; for (int i = 0; i < Arguments.Count; i++) if (!Arguments[i].DmlfEquals(o.Arguments[i])) return false; if (FuncName != o.FuncName) return false; return true; }
public override bool DmlfEquals(DmlfBase obj) { var o = (DmlfLiteralExpression)obj; string xtype1 = "", xdata1 = ""; string xtype2 = "", xdata2 = ""; bool b1 = CdlTool.GetValueAsXml(Value, ref xtype1, ref xdata1); bool b2 = CdlTool.GetValueAsXml(Value, ref xtype2, ref xdata2); if (b1 != b2) return false; if (xtype1 != xtype2) return false; if (xdata1 != xdata2) return false; return true; }
public override bool DmlfEquals(DmlfBase obj) { var o = (DmlfCountDistinctExpression) obj; if (!Argument.DmlfEquals(o.Argument)) return false; return true; }
public override bool DmlfEquals(DmlfBase obj) { var o = (DmlfColumnRefExpression)obj; return Column == o.Column; }
public void GenCommandSql(DmlfBase command) { GenCommandSql(dmp => { command.GenSql(dmp); dmp.EndCommand(); }); }
public override bool DmlfEquals(DmlfBase obj) { var o = (DmlfStringValueExpressionBase)obj; return Value == o.Value; }