Beispiel #1
0
        public void BelongsTo_should_locate_property()
        {
            var hasMany = (BelongsToMapping <Customer, Company>)mapping.BelongsTo(c => c.Company);

            Assert.That(hasMany.Property, Is.EqualTo(typeof(Customer).GetProperty("Company")));
        }