PurchaseOrders are the root of all evil

Suppose I have the following class:

public class PurchaseOrder {

public object[] LineItems;

public Dictionary<string, string> CompanyContacts;

public Nullable<DateTime> OrderDate;

public event LineItemAddedEvent;

public IAddress ShipToAddress;

}

First, could you tell me what the schema should be?

Second, could you tell me what each particle of the schema means?

Since I know that I will receive any number of different answers to the above, maybe we should just make the world a better place by not using PurchaseOrders in WebServices at all.

 

Previous post:

Next post: