예제 #1
0
        public SynchronizedView(SynchronizedStore store, ViewData data)
        {
            if (store == null)
            {
                throw new ArgumentNullException("store");
            }
            if (data == null)
            {
                throw new ArgumentNullException("data");
            }

            m_store = store;
            m_data = data;
            m_typeVersions = new HashSet<string>(m_data.Query.View.TypeVersions);
        }
        public SynchronizedView(SynchronizedStore store, ViewData data)
        {
            if (store == null)
            {
                throw new ArgumentNullException("store");
            }
            if (data == null)
            {
                throw new ArgumentNullException("data");
            }

            m_store = store;
            m_data = data;
            this.ReadAheadMode = SynchronizedViewReadAheadMode.Page;
        }