Guest User

Untitled

a guest
Nov 24th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated from a template.
  4. //
  5. // Changes to this file may cause incorrect behavior and will be lost if
  6. // the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9.  
  10. namespace X.Web.Models
  11. {
  12. using System;
  13. using System.Collections.Generic;
  14.  
  15. public partial class User
  16. {
  17. public User()
  18. {
  19. this.Contacts = new HashSet<Contact>();
  20. this.PaymentMethods = new HashSet<PaymentMethod>();
  21. this.Claims = new HashSet<Claim>();
  22. this.Roles = new HashSet<UserRole>();
  23. }
  24.  
  25. // Primitive properties
  26.  
  27. public int Id { get; set; }
  28. public string GivenName { get; set; }
  29. public string Surname { get; set; }
  30.  
  31. // Navigation properties
  32.  
  33. public virtual ICollection<Contact> Contacts { get; set; }
  34. public virtual ICollection<PaymentMethod> PaymentMethods { get; set; }
  35. public virtual ICollection<Claim> Claims { get; set; }
  36. public virtual ICollection<UserRole> Roles { get; set; }
  37.  
  38. }
  39. }
Add Comment
Please, Sign In to add comment