Is there a way to use Linq-to-SQL with nhibernate envers to query through revisions without having to use envers audit expressions?
I would like to avoid using something like this, which requires hardcoded string property names:
reader.CreateQuery() .ForEntitiesAtRevision(1) .Add(AuditEntity.Property("FirstName").Eq("bob")) .Results();
No. The only built in query api is the "criteria like" you mention.