Exemplo n.º 1
0
        public EnumCursor([NotNull] ITable table,
                          [CanBeNull] IQueryFilter queryFilter,
                          bool recycle) : this(table, queryFilter)
        {
            Assert.ArgumentNotNull(table, nameof(table));

            try
            {
                _cursor = GdbQueryUtils.OpenCursor(table, recycle, queryFilter);
            }
            catch (Exception e)
            {
                throw new DataException(
                          CreateMessage(_table, _subFields, _whereClause, _isSpatialFilter), e);
            }
        }