Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
c# LINQ to Entities does not recognize the method 'Boolean
David Smith
Nov 3 2017 7:01 PM
234
Reply
How to address Boolean method below. The value Online has to be set. The error I get is
"c# LINQ to Entities does not recognize the method 'Boolean"
foreach (var i in (from a in db.Color
join i in db.ColorClothes
on a.InstallationId equals i.InstallationId
where a.Id == Id
select
new
{
ID= i.id,
OnLine = Utilities.IsConnectionValid(i.InstallationId) ? true : false, I get the error right here
}).ToList())
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Linq Output Value
How to convert SQL to LinQ