Entity Framework - Part 7 - Creating Data

preview_player
Показать описание
In this video we use the entity framework to create data in our database.

Рекомендации по теме
Комментарии
Автор

CTRL+Shift+R will reload the tables, updated structures, etc. in Enterprise Manager (SSMS).

lynnszen
Автор

your videos are simply amazing! i've been learning a lot, keep doing this great content!

Автор

To refresh intellisense in SQL server management studio, just use Ctrl+Shift+R This will get rid of the red underlines on new objects

redrum
Автор

Hi Les, Thanks for your efforts. I am watching and coding along, when casting the (selectedItem as Models.Status ).Id I am getting a nullReferenceException, I can see that there is a value inside selectedItem = "ToDo" but when trying to cast it threw an exception! am I missing something here? ... P.S: it's the first time I saw that I can cast a value to get an instance without that value being a key

hamzadahmoun
Автор

Do you do asp.net core mvc? I could really use some help. I'm stuck halfway through a project and all the stackoverflow answers are over my head...

FoXtac
Автор

can someone explain what is "cboStatus"?

ahmetsahin
Автор

Perhaps someone will benefit from it - both lines of code do the same:
StatusId =
StatusId = (cboStatus.SelectedItem as Model.Status).Id,

vladeb