I have a Sections table and in that table I have columns SectionId,CourseId,Name,Capacity….here the CourseId is a null value column and its the Foreignkey here which focuses the Cousrse table….this CourseId column is a newly added one.
I am trying to add records to this table, am using entity framework, in the Entiry framework its showing all the column names except this CourseId, and when I send the datas to this Sections table all the datas except Course Id are stored fine…the value of courseId is stored as Null…
how can I pass the CourseId to this column……can anyone help me here
If EF is not showing your column, you may need to refresh your model. Start there.