12345678910111213141516171819202122232425262728293031 |
- //------------------------------------------------------------------------------
- // <auto-generated>
- // 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.
- // </auto-generated>
- //------------------------------------------------------------------------------
- namespace TrainingBeforeExams
- {
- using System;
- using System.Collections.Generic;
-
- public partial class Dish
- {
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
- public Dish()
- {
- this.Preorders = new HashSet<Preorder>();
- }
-
- public int IdDish { get; set; }
- public string Title { get; set; }
- public double Cost { get; set; }
- public int CookingTime { get; set; }
-
- [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
- public virtual ICollection<Preorder> Preorders { get; set; }
- }
- }
|