rasnesakam / emakas-shops

0 stars 0 forks source link

Redesign Data Entities #5

Open rasnesakam opened 1 year ago

rasnesakam commented 1 year ago

We need to redesign our entity structure

Our Entities

Product

Category

Address

MemberOrder

NonMemberOrder

Seller

rasnesakam commented 1 year ago

There is one type of order now. It has old properties. For non member's order, the temporary customer data will be create on database. And so for address I guess i've solved it for now

rasnesakam commented 1 year ago

We need to add some fields for every datas:

rasnesakam commented 1 year ago

Issues on Product, Category and ProductCategory Entity

We may delete the ProductCategory join table. and set List<Category> and List<Product>. So, entity framework can generate join table automatically and we can use nested entities more efficiently. Take a look at this link