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
Fares Ayyad
NA
36
4.2k
Using .contains LINQ method doesn't work properly.
May 14 2017 9:10 AM
Hello
I'm trying to convert SQL like command to LINQ
select
EmployeeID,EnName
from
EmployeeMaintenance
where
EmployeeID
like
'1'
in c# code i replace the 1 with variable, that will be any value, but in debug i provide the same value which is 1:
var test= _context.EmployeeMaintenances
.
Where
(c => c.EmployeeID.
Contains
(param.sSearch));
But the result is the wohle list in the table
EmployeeMaintenances !!?
can any one figure the problem?
Reply
Answers (
1
)
display image in crystal report from folder
mysql 5.6 Workbench problen