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
mjasri
NA
147
0
Conditional include in linq
Aug 15 2020 10:57 PM
I have the below code
//var result = (from hold in db.WcmHold
// where hold.Name.Contains(name)
// select hold).Where(x => managments.Contains(x.ManagemntId)).Include("DocumentsImage").Include("FieldsDescription").OrderByDescending(x=>x.CreatDate).Take(100).ToList();
I want to show/Include just the "DocumentsImage" that there Id>=1000
Reply
Answers (
3
)
Unable to install package from package manager console
How to write Owin Middleware for Basic Authentication for web api?