Is there a way to create an alias with Envers NHibernate similar to the ones we can do with old school NHibernate expression?
I would like to be able to do something like:
reader.Add(AuditEntity.Property("Dog.Name").Eq("Fido"));
Where the classic NHibernate expressions would look like:
session.CreateCriteria(typeof(DogOwner))
.CreateAlias("Dog", "Dog")
.Add(Expression.EqProperty("Dog.Name", "Fido") )