I have the following layout:
Entities:
Order
OrderItem
DAO classes:
OrderDAO
OrderItemDAO
So I have POCO classes, and DAO classes.
Now I want to encapsulate the above entities into another entity, so I can have methods like:
x.AddItem(OrderItem item)
x.CalculateTotal();
x.CalculateShipping();
x.Charge();
What would this type of entity be called? Factory? Or just a simple wrapper class?