Why is there no hasOne relationship in an activerecord lock unlike Ruby on Rails?

or how can I specify an address to match countries where the address has one country in the activerecord lock?

+1


source to share


1 answer


The attribute [BelongsTo]

exists for one-to-one relationships.



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

+1


source







All Articles