Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private object GetOrderAttribute(string attributeName){
- // use a data structure (like a hash table) to store and access internally
- }
- ...
- output("Quantity: " + GetOrderAttribute("quantity"));
- // etc.
- Method New Order(orderId) {
- Get Database 1 Details
- Load Details into appropriate Variables
- Get Database 2 Details
- Load Details into appropriate Variables
- Get Database **N** Details
- Load Details into appropriate Variables
- }
Add Comment
Please, Sign In to add comment