Hi I use Castle.ActiveRecord's HasMany mapping. I have something like:
[HasMany (typeof (childtype), ColumnKey = "this_relation_column", Table = "childtype_table")]
I would like to use a different column on childtype_table
to relate with this_relation_column
.
Actually, this_relation_column
is of type text (string), and the PK of childtype_table
is INT.
I do not have a foreign key on childtype_table
and I cannot have it (for other reasons).
How to achieve the mapping?