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
Sasi Reddy
NA
346
226k
LINQ
Feb 10 2014 1:17 AM
documenttype customerId
1 ............
2 ...............
3 ..............
I have to retrieve documenttype values based on customerId using linq.how to do that?.
List<DBLayer.Models.NCBAccountDocument> basicdetails = (from records in db.NCBAccountDocuments
where records.CustomerReferenceNo == CustomerId
select records).ToList();
I done like that ,but it is retrieving all column values.I need only one column value .please help me
Reply
Answers (
8
)
Linq Dot Notation Joins multiple(3) tables inner and outer
Insert Data Into SQL Server Using LinQ in ASP.Net