public virtual IInternalObjectSet <T> GetObjects <T>(IQuery query, bool inMemory, int startIndex, int endIndex)
        {
            if (IsDbClosed)
            {
                throw new OdbRuntimeException(NDatabaseError.OdbIsClosed.AddParameter(DbIdentification.Id));
            }

            return(ObjectReader.GetObjects <T>(query, inMemory, startIndex, endIndex));
        }