//------------------------------------------------------------------------------ // // Этот код создан по шаблону. // // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения. // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода. // //------------------------------------------------------------------------------ namespace DemoexamUser11 { using System; using System.Collections.Generic; public partial class Product { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Product() { this.ProductCostHistory = new HashSet(); this.ProductMaterial = new HashSet(); this.ProductSale = new HashSet(); } public int ID { get; set; } public string Title { get; set; } public Nullable ProductTypeID { get; set; } public string ArticleNumber { get; set; } public string Description { get; set; } public string Image { get; set; } public Nullable ProductionPersonCount { get; set; } public Nullable ProductionWorkshopNumber { get; set; } public decimal MinCostForAgent { get; set; } public virtual ProductType ProductType { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ProductCostHistory { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ProductMaterial { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ProductSale { get; set; } } }