Guest User

Untitled

a guest
Nov 18th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. public class Program
  2. {
  3. public int Id { get; set; }
  4. public string Name { get; set; }
  5. public string Description { get; set; }
  6. public bool UseRanks { get; set; }
  7. }
  8.  
  9. public class Person
  10. {
  11. public int Id { get; set; }
  12. public string FirstName { get; set; }
  13. public string LastName { get; set; }
  14. public string CellPhone { get; set; }
  15. public string HomePhone { get; set; }
  16. public string WorkPhone { get; set; }
  17. public string Address { get; set; }
  18. public string City { get; set; }
  19. public string State { get; set; }
  20. public string ZipCode { get; set; }
  21. public DateTime BirthDate { get; set; }
  22. }
  23.  
  24. public class ApplicationDbContext : IdentityDbContext
  25. {
  26. public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
  27. : base(options)
  28. {
  29. }
  30.  
  31. //public DbSet<Attendance> Attendances { get; set; }
  32. public DbSet<Person> People { get; set; }
  33. public DbSet<Bill> Bills { get; set; }
  34. //public DbSet<Session> Sessions { get; set; }
  35. public DbSet<Program> Programs { get; set; }
  36. }
Add Comment
Please, Sign In to add comment