Example #1
0
 public ChartData(Int32 ChartId, DateTime ReportDate)
 {
     _Info = ChartDataDac.Retrieve(ChartId, ReportDate).Tables[0];
     if (!_Info.HasRows())
     {
         throw new KeyNotFoundException("No data found.");
     }
 }
Example #2
0
 public void Insert()
 {
     ChartDataDac.Insert(this);
 }