private void button5_Click(object sender, EventArgs e) { using (OrderITEntities ctx = new OrderITEntities()) { ctx.OrderDetails.ToTraceString(); var x = ctx.GetById <Customer>(1); } }
private void button5_Click(object sender, EventArgs e) { using (OrderITEntities ctx = new OrderITEntities()) { ctx.OrderDetails.ToTraceString(); var x = ctx.GetById <Customer>(1); } }