I have a class box which contains few properties, one is a counter for an id that increments every time a new object is initialized and the other property is a List<Item> that contains many object of type Item, that is another class with its own properties (name, weight etc..).
I'm trying to build a database for this application, but I really don't know how to represent my List<Item> property in my database.
I'm a beginner, especially in databases within c#, so please be as clear as possible.
EDIT
Item.cs
class Item
{
private string name;
private int price;
private int weight;
public Item() { }
public string Name
{
get { return name; }
set { name = value; }
}
public int Weight
{
get { return weight; }
set { weight = value; }
}
public int Price
{
get { return price; }
set { price = value; }
}
}

Itemclass?