示例#1
0
 public ReportDataModel(ReportDataEntity entity)
 {
     this._sheetModels   = new SheetDataModelCollection();
     this.ReportProperty = entity.ReportProperty;
     this._sheetModels.CollectionChanged += new NotifyCollectionChangedEventHandler(this.SheetModels_CollectionChanged);
     foreach (SheetDataEntity entity2 in entity.Sheets)
     {
         SheetDataModel sheeModel = new SheetDataModel(entity2);
         this.AddSheet(sheeModel);
     }
 }
示例#2
0
 public ReportDataModel(BMReportProperty property)
 {
     this._sheetModels   = new SheetDataModelCollection();
     this.ReportProperty = property;
     this._sheetModels.CollectionChanged += new NotifyCollectionChangedEventHandler(this.SheetModels_CollectionChanged);
 }
示例#3
0
 public ReportDataModel()
 {
     this._sheetModels = new SheetDataModelCollection();
     this._sheetModels.CollectionChanged += new NotifyCollectionChangedEventHandler(this.SheetModels_CollectionChanged);
 }