Example #1
0
        public void SetBatchSize()
        {
            var subClass = typeof(Inherited);
            var mapdoc   = new HbmMapping();
            var mapper   = new JoinedSubclassMapper(subClass, mapdoc);

            mapper.BatchSize(10);

            var hbmEntity = mapdoc.JoinedSubclasses[0];

            hbmEntity.BatchSize.Should().Be(10);
        }