This is a migrated thread and some comments may be shown as answers.

No 'To Linq Expression'

1 Answer 58 Views
Refactorings
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Troy
Top achievements
Rank 1
Troy asked on 20 Nov 2013, 05:19 PM
I have a relatively simple foreach statement: 

foreach (Alert alert in newAlerts)
                {
                    entityContext.Alerts.AddObject(alert);
                }

And I've tried pulling up the refactoring menu over the foreach and all that comes up is 'Extract Method' -- I want to convert this to Linq via JC, but no options.

I'm using VS2010 and the latest build (2013.3.1016.1) of JC.

Thanks,

Troy

1 Answer, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 22 Nov 2013, 12:27 PM
Hi Troy,

Indeed this is unavailable in JustCode.
Our LINQ conversion feature is not complete and supports only basic cases.
Maybe we will spend more time in the future to improve it, but for now this is not a priority.
Thanks.

Regards,
Zdravko
Telerik
Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
Tags
Refactorings
Asked by
Troy
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Share this question
or