/// <summary> /// 初始化<c>ReportReadManager</c> /// </summary> /// <param name="dataDao">报表数据访问对象</param> /// <param name="reportQueryServiceContract">报表查询服务</param> public ReportReadManager(IDataDao dataDao, IReportQueryService reportQueryServiceContract) { this.dataDao = dataDao; this._reportQueryServiceContract = reportQueryServiceContract; var tableId = this.sqlWrapper.GetReportTableOrViewId(); if (tableId.HasValue) this.GetTableOrViewName(tableId.Value); }
/// <summary> /// 初始化<c>ReportReadManager</c> /// </summary> /// <param name="dataDao">报表数据访问对象</param> /// <param name="reportQueryServiceContract">报表查询服务</param> public ReportReadManager(IDataDao dataDao, IReportQueryService reportQueryServiceContract) { this.dataDao = dataDao; this._reportQueryServiceContract = reportQueryServiceContract; var tableId = this.sqlWrapper.GetReportTableOrViewId(); if (tableId.HasValue) { this.GetTableOrViewName(tableId.Value); } }
public DataController(IDataDao dataDao) { _dataDao = dataDao; }
public GroupService(IDataDao dataDao) { _dataDao = dataDao; }