We need ability to provide database specific options in standard queries GetOne and GetAll. For example, in RavenDb there's an option to Wait for non state results, because otherwise query can return null even data is in Db but not indexed yet. Also, NHibernate (and EF) has .Future() flag that is very important for perf optimization.
But until we figure out good design for this feature, WaitForNonStaleResults should be added to Ravendb standard queries, to avoid weird errors. Small perf decrease is acceptable for now, IMHO.
We need ability to provide database specific options in standard queries GetOne and GetAll. For example, in RavenDb there's an option to Wait for non state results, because otherwise query can return null even data is in Db but not indexed yet. Also, NHibernate (and EF) has .Future() flag that is very important for perf optimization.
But until we figure out good design for this feature, WaitForNonStaleResults should be added to Ravendb standard queries, to avoid weird errors. Small perf decrease is acceptable for now, IMHO.