M
Maziar Aflatoun
Hi everyone,
I like to do the following,
1. Create an object that holds the customer general information
2. Add multiple orders for the customer
3. Serialize and dump to XML
I have already taken care of part 1. and know part 3. However, what the best
of adding multiple orders for 1 customer. Ex.
Can someone please show me an example of adding multiple orders (Order) to
the Customer object? Can be 1 or more Orders.
public class Customer
{
public string FirstName;
public string LastName;
public Customer()
{
}
}
public class Order
{
public string Name;
public string Qty;
public Order()
{
}
}
Thank you
Maz.
I like to do the following,
1. Create an object that holds the customer general information
2. Add multiple orders for the customer
3. Serialize and dump to XML
I have already taken care of part 1. and know part 3. However, what the best
of adding multiple orders for 1 customer. Ex.
Can someone please show me an example of adding multiple orders (Order) to
the Customer object? Can be 1 or more Orders.
public class Customer
{
public string FirstName;
public string LastName;
public Customer()
{
}
}
public class Order
{
public string Name;
public string Qty;
public Order()
{
}
}
Thank you
Maz.