Has the API changed in 4.4? I get a compile error saying "cannot convert from IQueryable<myentity> to IEnumerable<xtensive.orm.key>"

session.Query.All<myentity>().Prefetch(e => e.Id);

asked Jan 13 '11 at 21:26

ara's gravatar image

ara
395878791

edited Jan 14 '11 at 15:36

Alex%20Yakunin's gravatar image

Alex Yakunin
29714412


One Answer:

Hello Ara,

The Prefetch API is in a process of renovation. The updated version will be released in DataObjects.Net 4.4 Beta 2 shortly.

answered Jan 13 '11 at 21:44

Dmitri%20Maximov's gravatar image

Dmitri Maximov
22111211

What about future queries? API seems changed there as well.

(Jan 14 '11 at 15:13) ara ara's gravatar image

Yep, but no any dramatic changes are planned there. I.e. we just moved+renamed the access point here.

(Jan 14 '11 at 15:38) Alex Yakunin Alex%20Yakunin's gravatar image

DataObjects.Net 4.3.7 & 4.4 beta 2 is released

(Jan 29 '11 at 04:23) Dmitri Maximov Dmitri%20Maximov's gravatar image
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

Subscription:

Once you sign in you will be able to subscribe for any updates here

Tags:

×574
×13
×9

Asked: Jan 13 '11 at 21:26

Seen: 7,582 times

Last updated: Jan 29 '11 at 04:23

powered by OSQA