Exemplo n.º 1
0
        public static bool CompareObject(SPFieldUserValueCollection x, object y)
        {
            if (y == null || y is DBNull)
            {
                return(false);
            }

            return(x.Sum(p => p.LookupId) == Utils.Cast <SPFieldUserValueCollection>(y).Sum(p => p.LookupId));
        }
Exemplo n.º 2
0
        public static bool CompareObject(SPFieldUserValueCollection x, object y)
        {
            if (y == null || y is DBNull)
            {
                return false;
            }

            return x.Sum(p => p.LookupId) == Utils.Cast<SPFieldUserValueCollection>(y).Sum(p => p.LookupId);
        }