示例#1
0
        /// <summary>
        /// Determines whether the specified System.Object is equal to the current object.
        /// </summary>
        /// <param name="obj">The System.Object to compare with the current object.</param>
        /// <returns>Returns true if the specified System.Object is equal to the current object; otherwise, false.</returns>
        public override bool Equals(Object obj)
        {
            PositionType PositionTypeobj = obj as PositionType;

            return((PositionTypeobj == null) ? false : (this.PositionTypeID == PositionTypeobj.PositionTypeID));
        }
示例#2
0
 public static List <PositionType> GetAllPositionTypes()
 {
     return(PositionType.GetCollection(ExecuteDataTable("spr_GetAllPositionTypes")));
 }