What can I do to dynamically create queries when I do have this type of string ?
I want to transform this :
SELECT [Extent1].[TASK_ORDER] AS [TASK_ORDER] FROM [dbo].[CR_TASK] AS [Extent1]
to this :
context.CR_TASK.Where(a => a.TASK_NO == id).Select(a => a.TASK_NO);