views:

414

answers:

1

or how can i represent an address to country mapping where an address has one one country in castle activerecord?

+1  A: 

The [BelongsTo] attribute is there for one-to-one relations.

http://api.castleproject.org/html/T_Castle_ActiveRecord_BelongsToAttribute.htm

DotNetGuy

related questions