public override bool Equals(object obj)
 {
     if (obj == null) return false;
     if (obj == this) return true;
     var o = obj as DataCollectitem;
     return o != null && Itemid.Equals(o.Itemid) && Count.Equals(o.Count);
 }
Example #2
0
 protected void drop()
 {
     JumbotOA.BLL.COMDLL com = new JumbotOA.BLL.COMDLL();
     Itemid.DataSource     = com.COM_Select("OA_ItemTB", "typeid", "parentid", "1", "0", 8);
     Itemid.DataTextField  = "titlename";
     Itemid.DataValueField = "Id";
     Itemid.DataBind();
 }
Example #3
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            if (obj == this)
            {
                return(true);
            }
            var o = obj as DataLootitem;

            return(o != null && Lootid.Equals(o.Lootid) && Itemid.Equals(o.Itemid));
        }
 public override int GetHashCode()
 {
     return Itemid.GetHashCode() + Count.GetHashCode();
 }
Example #5
0
        }                                         // ζ•°ι‡δΈŠι™

        public override int GetHashCode()
        {
            return(Lootid.GetHashCode() + Itemid.GetHashCode());
        }