Fluent Nhibernate - How do I set the name attribute of a set or bag collection?
This is a set collection:
<set access="field.camelcase-underscore" cascade="save-update" inv开发者_JAVA百科erse="true" lazy="true" name="employees" table="TeamEmployee" mutable="true">
How do I set the name
attribute?
Fluently :-)
HasMany(x => x.SetName)
精彩评论