Asp.Net Hein

Asp.Net Hein

  • NA
  • 266
  • 165.3k

How to implement CRUD for the table with foreign key

Jun 2 2016 3:11 AM
For example: I have 3 tables.
1) Table A ( AId, AName, ADescription )
2) Table B (BId, BName, BDescription )
3) Table C (CId, AId, BId, CName, CDescription )
 
I want to add record for Table C and how can I control for A and B?
I am using entity framework and MVC5.
 
Kindly let me know if anyone to implement CRUD for Table C.
Thanks a lot for viewing my question. 

Answers (1)