0

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();

Samuel Poirier
  • 1,240
  • 2
  • 15
  • 30

1 Answers1

1

No. The only built in query api is the "criteria like" you mention.

Roger
  • 1,944
  • 1
  • 11
  • 17