示例#1
0
        public static bool IsEqual(this SingleModel sm, SingleModel Compare)
        {
            if (sm.IsNull())
            {
                return(false);
            }

            if (Compare.IsNull())
            {
                return(false);
            }

            if (sm.GetModelObject == Compare.GetModelObject)
            {
                return(true);
            }

            return(false);
        }
示例#2
0
 public static bool IsNull(this SingleModel sm) => sm == null;