Exemple #1
0
        /// <summary>
        /// Performs a case-insensitive comparison of two objects of the same type and returns a value indicating whether one is less than, equal to, or greater than the other.
        /// </summary>
        /// <param name="a">The first object to compare.</param>
        /// <param name="b">The second object to compare.</param>
        /// <returns></returns>
        public int Compare(Date a, Date b)
        {
            EntityPropertyComparer entityPropertyComparer = new EntityPropertyComparer(this.whichComparison.ToString());

            return(entityPropertyComparer.Compare(a, b));
        }
Exemple #2
0
        /// <summary>
        /// Performs a case-insensitive comparison of two objects of the same type and returns a value indicating whether one is less than, equal to, or greater than the other.
        /// </summary>
        /// <param name="a">The first object to compare.</param>
        /// <param name="b">The second object to compare.</param>
        /// <returns></returns>
        public int Compare(GoodsGrp a, GoodsGrp b)
        {
            EntityPropertyComparer entityPropertyComparer = new EntityPropertyComparer(this.whichComparison.ToString());

            return(entityPropertyComparer.Compare(a, b));
        }
        /// <summary>
        /// Performs a case-insensitive comparison of two objects of the same type and returns a value indicating whether one is less than, equal to, or greater than the other.
        /// </summary>
        /// <param name="a">The first object to compare.</param>
        /// <param name="b">The second object to compare.</param>
        /// <returns></returns>
        public int Compare(MercLocation a, MercLocation b)
        {
            EntityPropertyComparer entityPropertyComparer = new EntityPropertyComparer(this.whichComparison.ToString());

            return(entityPropertyComparer.Compare(a, b));
        }
Exemple #4
0
        /// <summary>
        /// Performs a case-insensitive comparison of two objects of the same type and returns a value indicating whether one is less than, equal to, or greater than the other.
        /// </summary>
        /// <param name="a">The first object to compare.</param>
        /// <param name="b">The second object to compare.</param>
        /// <returns></returns>
        public int Compare(Currency a, Currency b)
        {
            EntityPropertyComparer entityPropertyComparer = new EntityPropertyComparer(this.whichComparison.ToString());

            return(entityPropertyComparer.Compare(a, b));
        }
        /// <summary>
        /// Performs a case-insensitive comparison of two objects of the same type and returns a value indicating whether one is less than, equal to, or greater than the other.
        /// </summary>
        /// <param name="a">The first object to compare.</param>
        /// <param name="b">The second object to compare.</param>
        /// <returns></returns>
        public int Compare(Transnum a, Transnum b)
        {
            EntityPropertyComparer entityPropertyComparer = new EntityPropertyComparer(this.whichComparison.ToString());

            return(entityPropertyComparer.Compare(a, b));
        }
Exemple #6
0
        /// <summary>
        /// Performs a case-insensitive comparison of two objects of the same type and returns a value indicating whether one is less than, equal to, or greater than the other.
        /// </summary>
        /// <param name="a">The first object to compare.</param>
        /// <param name="b">The second object to compare.</param>
        /// <returns></returns>
        public int Compare(KitInfo a, KitInfo b)
        {
            EntityPropertyComparer entityPropertyComparer = new EntityPropertyComparer(this.whichComparison.ToString());

            return(entityPropertyComparer.Compare(a, b));
        }