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)); }
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); }