One Country has many States. One State belongs to one Country.
Mapping Country property in StateMap using fluent mapping was
public StateMap()
{
...
References(m => m.Country).Not.Nullable();
}
what is nhibernate mapping by code alternative
should I simply map Country as property
Property(m => m.Country});