ListInit Expression

ListInit Expression

Postby pferreira » Wed 04 Mar 2009 16:51

Hi,

Is ListInit Expression supported? I tried the following code:

Code: Select all
context.Persons.Select(p => new Dictionary() { { "Name", p.Name } });


but I'm getting an InvalidOperationException: "Unrecognized expression node: ListInit"

If its not implemented yet, when will it be available?

Thanks

Pedro
pferreira
 
Posts: 6
Joined: Fri 12 Dec 2008 10:58

Postby AndreyR » Thu 05 Mar 2009 13:34

This functionality is not supported neither in dotConnect, nor in Microsoft LINQ to SQL.
We will investigate the possibility of implementing this support, but no timeframe is available.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby AndreyR » Thu 26 Mar 2009 12:13

We have added support for such scenario. Look forward to the next build.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Postby pferreira » Thu 26 Mar 2009 12:30

Great!

That's the next stable release right? after the 5.20 beta trial?

Thanks

Pedro
pferreira
 
Posts: 6
Joined: Fri 12 Dec 2008 10:58

Postby AndreyR » Thu 26 Mar 2009 13:04

Not exactly. We plan to release one more build with the old version of Entity Developer and LINQ support, and after that a new build containing bug fixes (and this new functionality).
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16


Return to LinqConnect (LINQ to SQL support)