public DemoChild() { InitializeComponent(); context = new IMSDomainContext(); context.Load(context.GetItemDetailsQuery()); }
public void LoadData(int?id) { this.ItemID = id; loadOp = context.Load(context.GetItemDetailsQuery()); loadOp.Completed += new EventHandler(loadOp_Completed); }