public ObjectModelImpl(ObjectModelImpl copy, OnDemandProcessingContext odpContext)
 {
     this.m_odpContext    = odpContext;
     this.m_currentFields = new FieldsContext(this);
     this.m_parameters    = copy.m_parameters;
     this.m_globals       = new GlobalsImpl(odpContext);
     this.m_user          = new UserImpl(copy.m_user, odpContext);
     this.m_dataSets      = copy.m_dataSets;
     this.m_dataSources   = copy.m_dataSources;
     this.m_reportItems   = null;
     this.m_aggregates    = null;
     this.m_lookups       = null;
 }
 public ObjectModelImpl(OnDemandProcessingContext odpContext)
 {
     this.m_currentFields = null;
     this.m_parameters    = null;
     this.m_globals       = null;
     this.m_user          = null;
     this.m_reportItems   = null;
     this.m_aggregates    = null;
     this.m_lookups       = null;
     this.m_dataSets      = null;
     this.m_dataSources   = null;
     this.m_odpContext    = odpContext;
 }
 private void InitializeGlobalAndUserCollections()
 {
     this.m_globals = new GlobalsImpl(this.m_odpContext);
     this.m_user    = new UserImpl(this.m_odpContext.RequestUserName, this.m_odpContext.UserLanguage.Name, this.m_odpContext.AllowUserProfileState, this.m_odpContext);
 }