Format code.
Change OrderDetails table name from 'OrderDetails' to 'Order Details' in the mapping.
Remove unused variables.