Open
Description
Patch from Robert, not sure why this never got applied. Will review post-1.1.
public class Indexes : FluentIndexBase
{
public Indexes(Configuration configuration)
: base(configuration)
{
AddDialectScope("NHibernate.Dialect.MsSql2005Dialect");
ClusteredIndex<Person>().OnPrimaryKey();
UniqueNonClusteredIndex<Person>().OnProperty(x => x.SSN);
ClusteredIndex<SuperClass>().OnProperty(x => x.Person);
UniqueNonClusteredIndex<SuperClass>().OnProperty(x => x.SomeProperty);
NonClusteredIndex<SuperClass>().OnDiscriminator();
}
}