Exemplo n.º 1
0
        /// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="source"></param>
        protected OptimisticEntityReader(IEntitySource source, OptimisticReadMode mode)
        {
            if (source == null)
            {
                throw new ArgumentNullException("source");
            }

            // set...
            _source = source;
            _mode   = mode;

            // init...
            this.Initialize();
        }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="source"></param>
 public KeysetEntityReader(IEntitySource source, OptimisticReadMode mode)
     : base(source, mode)
 {
 }