//------------------------------------------------------------------------------ // // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated. // //------------------------------------------------------------------------------ namespace StoreServer { using System; using System.Collections.Generic; public partial class Product { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Product() { this.ProductInStore = new HashSet(); } public int ProductID { get; set; } public string NameProduct { get; set; } public int Weight { get; set; } public int Packaging { get; set; } public decimal PriceOfOne { get; set; } public string BarCode { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ProductInStore { get; set; } } }