I am getting this error while implementing the stored procedure in LINQ.. Please see the code attached below...
Error Message : The query results cannot be enumerated more than once in LINQ...
let me know if you want to see the method( code) , where I am Implementing the below mentioned code..
Please resolve it ASAP.
var q = from c in s_Validation_DL.SP_SV_COM_XOSERV_FETCH_CHARGE_ITEM_DETAILS(invoiceNumber)
where c.INV_NUMBER == invoiceNumber
foreach (var chargeItem in q)