//------------------------------------------------------------------------------ // // Этот код создан по шаблону. // // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения. // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода. // //------------------------------------------------------------------------------ namespace AutoServiceSultik.Entites { using System; using System.Collections.Generic; public partial class Product { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Product() { this.ProductPhotoes = new HashSet(); this.ProductSales = new HashSet(); this.Product1 = new HashSet(); this.Products = new HashSet(); } public int ID { get; set; } public string Title { get; set; } public decimal Cost { get; set; } public string Description { get; set; } public string MainImagePath { get; set; } public bool IsActive { get; set; } public Nullable ManufacturerID { get; set; } public virtual Manufacturer Manufacturer { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ProductPhotoes { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ProductSales { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Product1 { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Products { get; set; } } }