public bool Equals(ResItemInven other) { if (other == null) { return(false); } return(this.id.Equals(other.id)); }
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)); } }
public SaveData_DBRes(ResItemInven invData) { this.id = invData.id; this.quantity = invData.quantity; }