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