//------------------------------------------------------------------------------ // // 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 TrainingBeforeExams { using System; using System.Collections.Generic; public partial class Preorder { [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Preorder() { this.Orders = new HashSet(); } public int IdPreorder { get; set; } public int DishID { get; set; } public int IsDone { get; set; } public string Number { get; set; } public virtual Dish Dish { get; set; } [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection Orders { get; set; } } }