Hi,
On your property definitions you have both UniqueKey and Unique
constraints. This means that in addition to the multi-property
constraint on the combined value that you want you also have a
separate unique constraint on each individual column, and is is this
that is throwing the exception on your first column.
What you want is
[Property(UniqueKey="MY_KEY")]
public string PropertyA { get; set; }
[Property(UniqueKey="MY_KEY")]
public string PropertyB { get; set; }
Dave.