Esempio n. 1
0
        public ReportsV2Helper(XafApplication Application, IXPSimpleObject CurrentObject)
        {
            this._currentObject = CurrentObject;

            if (Application != null)
            {
                this._reportDataSourceHelper = new ReportDataSourceHelper(Application);
            }
            else
            {
                this._reportV2DataSourceHelper = new ReportV2DataSourceHelper(this._currentObject.Session);
            }
        }
Esempio n. 2
0
        public void Dispose()
        {
            if (this._reportDataSourceHelper != null)
            {
                this._reportDataSourceHelper = null;
            }

            if (this._reportV2DataSourceHelper != null)
            {
                this._reportV2DataSourceHelper.Dispose();
                this._reportV2DataSourceHelper = null;
            }
        }
Esempio n. 3
0
        public ReportsV2Helper(IXPSimpleObject CurrentObject)
        {
            this._currentObject = CurrentObject;

            this._reportV2DataSourceHelper = new ReportV2DataSourceHelper(this._currentObject.Session);
        }