Exemple #1
0
        public void CanSetColumnName()
        {
            var hbmId  = new HbmCollectionId();
            var mapper = new CollectionIdMapper(hbmId);

            mapper.Column("MyName");
            Assert.That(hbmId.Columns.Single().name, Is.EqualTo("MyName"));
        }
        public void CanSetColumnName()
        {
            var hbmId  = new HbmCollectionId();
            var mapper = new CollectionIdMapper(hbmId);

            mapper.Column("MyName");
            hbmId.Columns.Single().name.Should().Be("MyName");
        }