I've (for now) given up on implementing this without defining an
entity for the (unary) relation. But I'm still having troubles.
We're using Fluent NHibernate, so you'd think something like this
would work:
public class DefaultPayerSelection : DomainObject {
public virtual Guid? Id { ge
Our database schema has a Payer table with a unique id key named
PayerId. A very few of these payers are special, so we use a primary
key relationship table called DefaultPayer to denote which of those
payers are designated as default payers. DefaultPayer also has
PayerId as its primary key, but