What happened to IQuery<T> and NHibernateQuery<T>?

25 views
Skip to first unread message

Carl B

unread,
Nov 3, 2011, 12:08:08 PM11/3/11
to S#arp Architecture
I was developing against an early S#arp 2.0 release candidate and just
updated using GIT to build the nuget packages and replaced all the
references in my projects with the Nuget pacakage references, which
worked pretty well.

My project would no longer compile and after digging around a lot, I
found that my presentation-only queries that had been written as
IFindStuffQuery : IQuery<Stuff> and a corresponding implementation
that was FindStuffQuery : NHibernateQuery<Stuff>, IFindStuffQuery were
at fault; because both IQuery<T> and NHibernateQuery<T> were gone. I
double-checked the source and this seems to be true.

I can refactor these without a lot of trouble to something like
IFindStuffQuery { IList<Stuff> ExecuteQuery(); } and
FindStuffQuery :NHibernateQuery, IFindStuffQuery { public IList<Stuff>
ExecuteQuery() { ... } }, but I'm just checking to see that this was a
deliberate change.
Reply all
Reply to author
Forward
0 new messages