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); } }
public ReportDataModel(BMReportProperty property) { this._sheetModels = new SheetDataModelCollection(); this.ReportProperty = property; this._sheetModels.CollectionChanged += new NotifyCollectionChangedEventHandler(this.SheetModels_CollectionChanged); }
public ReportDataModel() { this._sheetModels = new SheetDataModelCollection(); this._sheetModels.CollectionChanged += new NotifyCollectionChangedEventHandler(this.SheetModels_CollectionChanged); }