I´ve build a DbFunctionCall, the output shows the following statement
Query: SELECT [AppData].[AppDataId], [AppData].[AppDataName], [AppData].[AppDataXml] FROM [AppData] WHERE ( ( ( (SELECT [AppData].[AppDataXml].value('((/Data1/DataInt)[@p4])[1]','int') AS TEST) = @p2)))
Parameter: @p4 : Int32. Length: 0. Precision: 0. Scale: 0. Direction: Input. Value: 1.
Parameter: @p2 : Int32. Length: 0. Precision: 0. Scale: 0. Direction: Input. Value: 567.
The result of the FetchTypedList is empty.
If I copy the output text to the sql management studio, change the @p to it´s related values and hit F5, I got the expected result.
Any idea?