I have a project coming up where I'm supposed to upgrade an existing access app to a .net architecture.
I'm wondering how to design object-oriented models from the giant tables and multiple relationships between them in an ERP like system.
For example, if I have an Order object, the orders table alone has 20+ columns where a lot would translate to normal properties, but an order has multiple foreign keys which all map to their own complex objects like items, customers, supplier etc.
Obviously I'm also not super familiar with the database and the tables and fields in detail, so do I just translate every column? Do I try to only do the relevant stuff and fix it later if it turns out I need column/property X after all?
Also, since its an upgrade of an access app, the queries are already written and it would be silly not to reuse them, so no Entity Framework I think? I'm also wondering how to best initialize them from the database.
What I usually end up within these bigger systems is something like this to initialize an order completely: get all orders, get all items, get all customers, get all suppliers -> loop through the orders and add the appropriate item/customer/supplier from the lists.