Пример #1
0
 public bool Equals(ResItemInven other)
 {
     if (other == null)
     {
         return(false);
     }
     return(this.id.Equals(other.id));
 }
Пример #2
0
    public override bool Equals(object obj)
    {
        if (obj == null)
        {
            return(false);
        }
        ResItemInven item = obj as ResItemInven;

        if (item == null)
        {
            return(false);
        }
        else
        {
            return(Equals(item));
        }
    }
Пример #3
0
 public SaveData_DBRes(ResItemInven invData)
 {
     this.id       = invData.id;
     this.quantity = invData.quantity;
 }