Example #1
0
        public override bool DmlfEquals(DmlfBase obj)
        {
            var    o = (DmlfLiteralExpression)obj;
            string xtype1 = "", xdata1 = "";
            string xtype2 = "", xdata2 = "";
            bool   b1 = BedTool.GetValueAsXml(Value, ref xtype1, ref xdata1);
            bool   b2 = BedTool.GetValueAsXml(Value, ref xtype2, ref xdata2);

            if (b1 != b2)
            {
                return(false);
            }
            if (xtype1 != xtype2)
            {
                return(false);
            }
            if (xdata1 != xdata2)
            {
                return(false);
            }
            return(true);
        }
Example #2
0
        public override bool DmlfEquals(DmlfBase obj)
        {
            var o = (DmlfColumnRef)obj;

            return(ColumnName == o.ColumnName && Source == o.Source);
        }
Example #3
0
        public override bool DmlfEquals(DmlfBase obj)
        {
            var o = (DmlfSource)obj;

            return(m_alias == o.m_alias && TableOrView == o.TableOrView);
        }
Example #4
0
        public override bool DmlfEquals(DmlfBase obj)
        {
            var o = (DmlfStringValueExpressionBase)obj;

            return(Value == o.Value);
        }
Example #5
0
        public override bool DmlfEquals(DmlfBase obj)
        {
            var o = (DmlfColumnRefExpression)obj;

            return(Column == o.Column);
        }
Example #6
0
 public virtual bool DmlfEquals(DmlfBase obj)
 {
     return(base.Equals(obj));
 }