public void SetInverse()
		{
			var hbm = new HbmIdbag();
			var mapper = new IdBagMapper(typeof(Animal), typeof(Animal), hbm);
			mapper.Inverse(true);
			hbm.Inverse.Should().Be.True();
			mapper.Inverse(false);
			hbm.Inverse.Should().Be.False();
		}
		public void SetInverse()
		{
			var hbm = new HbmIdbag();
			var mapper = new IdBagMapper(typeof(Animal), typeof(Animal), hbm);
			mapper.Inverse(true);
			Assert.That(hbm.Inverse, Is.True);
			mapper.Inverse(false);
			Assert.That(hbm.Inverse, Is.False);
		}
Exemple #3
0
        public void SetInverse()
        {
            var hbm    = new HbmIdbag();
            var mapper = new IdBagMapper(typeof(Animal), typeof(Animal), hbm);

            mapper.Inverse(true);
            Assert.That(hbm.Inverse, Is.True);
            mapper.Inverse(false);
            Assert.That(hbm.Inverse, Is.False);
        }
Exemple #4
0
        public void SetInverse()
        {
            var hbm    = new HbmIdbag();
            var mapper = new IdBagMapper(typeof(Animal), typeof(Animal), hbm);

            mapper.Inverse(true);
            hbm.Inverse.Should().Be.True();
            mapper.Inverse(false);
            hbm.Inverse.Should().Be.False();
        }