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
Mark Tabor
587
2k
460.6k
How to map the foreign key in my model class using MVC
Nov 21 2019 12:39 PM
I have two tables like below
Table_ID
Course_Category_ID
Course_Category_NAme
1
1
Basic Sciences
and The Course Main Table in which this category ID would be a foreign key
Table_ID
Course_Category_ID(F)
Course_ID
Course_Name
1
1
1
Math
2
1
2
Physics
how to write a model class where course category_ID is foreign key
Reply
Answers (
3
)
Online registration for booking and register users
Advice about best method