c# - The string “the function evaluation requires all threads to run” is written into an object instead of the expected data -
i have following code in project should return data in ‘basequery’ object, returning string saying "the function evaluation requires threads run" in ‘basequery’ instead. isn't debug/step through problem "the function evaluation requires threads run" have reported before, happening whether in debug mode or not.
the initial error in bringing 'context' goes away if press 'thread continue' icon (two wavy lines) dosn't stop erroring again on 'basequery' evaluation.
the program doesn’t error on line, attempts return object containing string, causing error.
using (readmodelcontext context = await this.contextfactory.getcontextasync(organisationid, datamodeltype.productsread)) { iqueryable<stockstorelevelreport> basequery = record in context.productstockinformationdetails stores.any(x => x == record.storeid) group record record.storeid storegroup select new stockstorelevelreport { …
after pressing circular icon @ "the function evaluation requires threads run" @ basequery level, error saying "unable evaluate expression operation not supported unknown error 0x80070057"
the using clause returning expected connection string in ‘context’ object, , same code working in project. both using unity.
my question would/could error thrown if database isn’t being found @ all? or problem threading, stuck or not defined in unity maybe? seems unhelpful error, , google search didn't turn relevant particular issue. appreciated.
Comments
Post a Comment