Ejemplo n.º 1
0
        public static bool Equal(ITableEntity a, ITableEntity b)
        {
            if (a == null || b == null)
            {
                if (a == null && b == null)
                {
                    return(true);
                }
                return(false);
            }

            if (a is DynamicTableEntity && b is DynamicTableEntity)
            {
                return(Equal(a as DynamicTableEntity, b as DynamicTableEntity));
            }

            return(a.Equals(b));
        }