Ejemplo n.º 1
0
 internal void SetExprHost(ReportExprHost reportExprHost, ObjectModelImpl reportObjectModel)
 {
     if (m_exprHostID < 0)
     {
         return;
     }
     Global.Tracer.Assert(reportExprHost != null && reportObjectModel != null, "(reportExprHost != null && reportObjectModel != null)");
     m_exprHost = reportExprHost.DataSetHostsRemotable[m_exprHostID];
     m_exprHost.SetReportObjectModel(reportObjectModel);
     if (m_exprHost.QueryParametersHost != null)
     {
         if (m_query != null)
         {
             m_query.SetExprHost(m_exprHost.QueryParametersHost, reportObjectModel);
         }
         else
         {
             m_sharedDataSetQuery.SetExprHost(m_exprHost.QueryParametersHost, reportObjectModel);
         }
     }
     if (m_exprHost.UserSortExpressionsHost != null)
     {
         m_exprHost.UserSortExpressionsHost.SetReportObjectModel(reportObjectModel);
     }
 }
Ejemplo n.º 2
0
 internal void SetExprHost(DataSetExprHost dataSetExprHost, ObjectModelImpl reportObjectModel)
 {
     if (ExprHostID >= 0)
     {
         Global.Tracer.Assert(dataSetExprHost != null && reportObjectModel != null);
         m_exprHost = dataSetExprHost.FieldHostsRemotable[ExprHostID];
         m_exprHost.SetReportObjectModel(reportObjectModel);
     }
 }
Ejemplo n.º 3
0
 public void SetExprHost(DataSetExprHost dataSetExprHost, ObjectModelImpl reportObjectModel)
 {
     if (this.ExprHostID >= 0)
     {
         Global.Tracer.Assert(dataSetExprHost != null && reportObjectModel != null);
         this.m_exprHost = dataSetExprHost.FieldHostsRemotable[this.ExprHostID];
         this.m_exprHost.SetReportObjectModel(reportObjectModel);
     }
 }
Ejemplo n.º 4
0
 internal void SetExprHost(ReportExprHost reportExprHost, ObjectModelImpl reportObjectModel)
 {
     if (ExprHostID >= 0)
     {
         Global.Tracer.Assert(reportExprHost != null && reportObjectModel != null);
         m_exprHost = reportExprHost.DataSetHostsRemotable[ExprHostID];
         m_exprHost.SetReportObjectModel(reportObjectModel);
         if (m_exprHost.QueryParametersHost != null)
         {
             m_query.SetExprHost(m_exprHost.QueryParametersHost, reportObjectModel);
         }
         if (m_exprHost.UserSortExpressionsHost != null)
         {
             m_exprHost.UserSortExpressionsHost.SetReportObjectModel(reportObjectModel);
         }
     }
 }
Ejemplo n.º 5
0
 public void SetExprHost(ReportExprHost reportExprHost, ObjectModelImpl reportObjectModel)
 {
     if (this.m_exprHostID >= 0)
     {
         Global.Tracer.Assert(reportExprHost != null && reportObjectModel != null, "(reportExprHost != null && reportObjectModel != null)");
         this.m_exprHost = reportExprHost.DataSetHostsRemotable[this.m_exprHostID];
         this.m_exprHost.SetReportObjectModel(reportObjectModel);
         if (this.m_exprHost.QueryParametersHost != null)
         {
             if (this.m_query != null)
             {
                 this.m_query.SetExprHost(this.m_exprHost.QueryParametersHost, reportObjectModel);
             }
             else
             {
                 this.m_sharedDataSetQuery.SetExprHost(this.m_exprHost.QueryParametersHost, reportObjectModel);
             }
         }
         if (this.m_exprHost.UserSortExpressionsHost != null)
         {
             this.m_exprHost.UserSortExpressionsHost.SetReportObjectModel(reportObjectModel);
         }
     }
 }
 public object EvaluateQueryParameterValue(OnDemandProcessingContext odpContext, DataSetExprHost dataSetExprHost)
 {
     return(odpContext.ReportRuntime.EvaluateQueryParamValue(this.m_value, (dataSetExprHost != null) ? dataSetExprHost.QueryParametersHost : null, AspNetCore.ReportingServices.ReportProcessing.ObjectType.QueryParameter, this.m_name));
 }
Ejemplo n.º 7
0
 internal object EvaluateQueryParameterValue(OnDemandProcessingContext odpContext, DataSetExprHost dataSetExprHost)
 {
     return(odpContext.ReportRuntime.EvaluateQueryParamValue(m_value, dataSetExprHost?.QueryParametersHost, Microsoft.ReportingServices.ReportProcessing.ObjectType.QueryParameter, m_name));
 }