BrothersofWSU / WSDProject

0 stars 0 forks source link

5.2 Customer.cs #5

Closed stevebyatt10 closed 2 years ago

stevebyatt10 commented 3 years ago

The Customer class models all customers who have ever registered with Goma Hotel. It should have the following properties.

image

Notes:

stevebyatt10 commented 3 years ago

NB: During scaffolding, you should choose the ApplicationDbContext used by Identity as the DbContext (i.e., select the database used by Identity). During migration, in case you see the complaint that SQLite does not support certain operation, you should comment out the migration code in the Up() and Down() methods related to that operation. These two methods can be found in the .cs file under the 'Migrations' folder.