Store.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated from a template.
  4. //
  5. // Manual changes to this file may cause unexpected behavior in your application.
  6. // Manual changes to this file will be overwritten if the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace StoreServer
  10. {
  11. using System;
  12. using System.Collections.Generic;
  13. public partial class Store
  14. {
  15. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  16. public Store()
  17. {
  18. this.ProductInStore = new HashSet<ProductInStore>();
  19. this.Cashier = new HashSet<Cashier>();
  20. this.EmployeeInStore = new HashSet<EmployeeInStore>();
  21. }
  22. public int StoreID { get; set; }
  23. public string Address { get; set; }
  24. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  25. public virtual ICollection<ProductInStore> ProductInStore { get; set; }
  26. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  27. public virtual ICollection<Cashier> Cashier { get; set; }
  28. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  29. public virtual ICollection<EmployeeInStore> EmployeeInStore { get; set; }
  30. }
  31. }