示例#1
0
        private void CategoryListInit()
        {
            var query = from c in EntityRiportModel.Context.Set <Category>()
                        orderby c.Name
                        select c;

            _CategoryList.Clear();
            _CategoryList.AddRange(query.ToList());
        }
示例#2
0
 protected override void OnClosed()
 {
     ChartData.Clear();
 }