Beispiel #1
0
        public void GetBaseTable_IndirectTable()
        {
            var derivedFilterViewDefinition = new FilterViewDefinition(
                _storageProviderDefinition,
                new EntityNameDefinition(null, "Test"),
                _filterViewDefinition,
                new[] { "x" },
                _objectIDProperty,
                _timestampProperty,
                new SimpleStoragePropertyDefinition[0],
                new IIndexDefinition[0],
                new EntityNameDefinition[0]);

            var table = derivedFilterViewDefinition.GetBaseTable();

            Assert.That(table, Is.SameAs(_baseEntityDefinition));
        }
Beispiel #2
0
        public void GetBaseTable()
        {
            var table = _filterViewDefinition.GetBaseTable();

            Assert.That(table, Is.SameAs(_baseEntityDefinition));
        }