Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Program
- {
- public int Id { get; set; }
- public string Name { get; set; }
- public string Description { get; set; }
- public bool UseRanks { get; set; }
- }
- public class Person
- {
- public int Id { get; set; }
- public string FirstName { get; set; }
- public string LastName { get; set; }
- public string CellPhone { get; set; }
- public string HomePhone { get; set; }
- public string WorkPhone { get; set; }
- public string Address { get; set; }
- public string City { get; set; }
- public string State { get; set; }
- public string ZipCode { get; set; }
- public DateTime BirthDate { get; set; }
- }
- public class ApplicationDbContext : IdentityDbContext
- {
- public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
- : base(options)
- {
- }
- //public DbSet<Attendance> Attendances { get; set; }
- public DbSet<Person> People { get; set; }
- public DbSet<Bill> Bills { get; set; }
- //public DbSet<Session> Sessions { get; set; }
- public DbSet<Program> Programs { get; set; }
- }
Add Comment
Please, Sign In to add comment