private void CategoryListInit() { var query = from c in EntityRiportModel.Context.Set <Category>() orderby c.Name select c; _CategoryList.Clear(); _CategoryList.AddRange(query.ToList()); }
protected override void OnClosed() { ChartData.Clear(); }