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);
     }
 }
Example #2
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);
         }
     }
 }