TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
David Smith
NA
2k
0
c# LINQ to Entities does not recognize the method 'Boolean
Nov 3 2017 7:01 PM
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())
Reply
Answers (
2
)
Linq Output Value
How to convert SQL to LinQ