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
Guest User
Tech Writer
2.1k
474.4k
Query multiple record in a query using inner-join
Apr 20 2021 1:48 AM
Hi Team
I have a method and want to query multiple-records using single query by using inner join
public
IList < ScheduleManModel > GetScheduleManList()
{
DbAccessContext db =
new
DbAccessContext();
var scheduleList = (from e
in
db.ScheduleMan join d
in
db.ScheduleTbl on e.ScheduleId equals d.YearTblId select
new
ScheduleManModel {
Year = e.Year,
Week = e.Week,
250 Buck = (
int
) e.250 Buck,
RACS = e.RACS,
YBR250 = d.YBR250
}).ToList();
return
scheduleList;
}
Reply
Answers (
2
)
Insert data into multiple table in asp.net c sharp using click button
Create a menus with submenus Dynamically