i don't thing you can do like that. you are adding object on windows load nad saving on button click. an what is "new Order()" in this code
orderList.AddNewItem(new Order());
. are you trying to add blank object.
see example
public void addProject()
{
Project OProject = new Project();
var context = new DbEntities();
OProject.Name = "Project1";
OProject.modificationDate = DateTime.Now;
context.Project.Add(OProject);
context.SaveChanges();
}
you have to initialize the object's required properties before adding item.