I am setting up a database using Entity Framework and wanted a bit of clarification regarding creating a DbSet for one of my models.
public DbSet<Customer> CustomersTable { get; set; }
I noticed that the DBset (table) only gets created only if I include the { get; set; } and then add migration. Why is this { get; set; } necessary to be included ?