コード例 #1
0
        /// <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);
        }
コード例 #2
0
ファイル: ReportReadManager.cs プロジェクト: radtek/ReportMS
        /// <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);
            }
        }
コード例 #3
0
 public DataController(IDataDao dataDao)
 {
     _dataDao = dataDao;
 }
コード例 #4
0
 public GroupService(IDataDao dataDao)
 {
     _dataDao = dataDao;
 }