Tests.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // Этот код создан по шаблону.
  4. //
  5. // Изменения, вносимые в этот файл вручную, могут привести к непредвиденной работе приложения.
  6. // Изменения, вносимые в этот файл вручную, будут перезаписаны при повторном создании кода.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace PsychoTest
  10. {
  11. using System;
  12. using System.Collections.Generic;
  13. public partial class Tests
  14. {
  15. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
  16. public Tests()
  17. {
  18. this.Questions = new HashSet<Questions>();
  19. this.Results = new HashSet<Results>();
  20. }
  21. public int Test_id { get; set; }
  22. public string Test_name { get; set; }
  23. public Nullable<int> Questions_count { get; set; }
  24. public string Description { get; set; }
  25. public byte[] Image { get; set; }
  26. public Nullable<int> Id_category { get; set; }
  27. public virtual Categories Categories { get; set; }
  28. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  29. public virtual ICollection<Questions> Questions { get; set; }
  30. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
  31. public virtual ICollection<Results> Results { get; set; }
  32. }
  33. }