Using VS2010, C#, Winforms and Entity Framework 4.1
Here is my code
var order = dbContext.Orders.Where(o=>o.OrderId == 1).Single();
var orderDetails = order.OrderDetails.ToList():
textBox1.Bindings.Add("Text", order, "OrderAmount");
gridView.DataSource = orderDetails;
I have following two questions about Entity Framework 4.1
If I update an entity property, the new value is not reflected to the UI.
I want to add logic to an entity property setter; but it gets rewritten each time the model is updated.
Thanks.