//CONSTRUCTORS public FeedbackData(ProductInfoData product, string manufacturer, MemberData user, string comment) { this.product = product; this.productID = product.productID; this.manufacturer = manufacturer; this.user = user; this.userName = user.userName; this.comment = comment; }
//CONSTRUCTORS public ProductData(ProductInfoData productData, int amount, double price, string storeName, Guid id) { this.productData = productData; this.amount = amount; this.price = price; this.storeName = storeName; this.id = id; }
public bool Equals(ProductInfoData other) { return(this.productName.Equals(other.productName) & this.category.Equals(other.category) & this.manufacturer.Equals(other.manufacturer) & this.productID.Equals(other.productID)); }