Is it possible to map one column twice using NHibernate?
<property name="CustomerID" index="IX_Customer" not-null="true" /> <many-to-one name="Customer" column="customerid" class="Customer" fetch="join" />
I need to have a raw identifier to bind a WinForms control that only supports binding, using a value (instead of the element itself).
myControl.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", bs, "CustomerID", true));
source share