Entity Framework - Insert Update Delete Select in SQL Server | FoxLearn

preview_player
Показать описание
C# CRUD Operations: Insert Update Delete Select from sql database using c#, entity framework database first. The C# Basics beginner course is a free C# Tutorial Series that helps beginning programmers learn the basics of the C# Programming Language.
Рекомендации по теме
Комментарии
Автор

Your tutorial shows me clearly and it's very helpful. I am waiting for How to use stored procedure with Entity Framework (get the return values, get the selected from multi tables, ...). Thank you so much!

MrVieta
Автор

this helps a lot to my project. Thank you

darongkornkuenkaew
Автор

Thank you so so so much, can not thank you enough for this amazing video.

ga
Автор

i follow all your steps but when i compile it show me error in this line of code
as Client);
the error
An entity object cannot be referenced by multiple instances of IEntityChangeTracker
how can i solve thsi help plz

abidredlove
Автор

Hi, you probably skept a Save button code. It's - "DialogResult = DialogResult.OK;"

iGynLoD
Автор

Thanks for that great example. just one doubt. When I try to insert more "users" or costumers it stops and shows an error(exception) at
db.SaveChanges(); Why?

sebasshan
Автор

I am stuck at 6:51, i dont't have that button that opens DataGridView Tasks. Do you know another method to open it? I apreciate it, i really didn't know what else to do

mirunaandriesei
Автор

It help me a lot! But I want to know if my data type is a date, how can I do it? Thx!

kachuenlai
Автор

I dont need dialogBox close after save . I want it stay and save more and more . Can you ?

cowabungaGGWP
Автор

are variables unique ? can i get double data ? Answer asap please ! ( Great video)

edonshushku
Автор

hola muy buen tutorial, tengo un problema cuando ejecuto el codigo, me manda un mensaje en el que dice Excepcion no controlada en la liena db.SaveChanges(); y no inserta ni borra registro de mi base datos pero si actualiza help me please

HOLA
Автор

how contactbildingsource.Current gets its value when you press edit\delete button?

thepusher
Автор

It's year 2017, should WPF be used instead of Winform?

TT-udgf
Автор

Alter table table_name auto_increment = 1;
How to implement this MySQL query in c# code...

csr
Автор

Hello, I Used EF in my c# winform Project. I just Set Datasource of gridview using "var list=db.Mytable.tolist() && grid.datasource=list". I m binding grid on Form Load Event. i Have only two Hundred records in my table. but my grid populates slowly. i can see gridview rows populated in gridview one by one. What can i do to speed up this process. at start of application i used login process so First slow
attempt to EF is not my problem.

mahtaabsoftmultan
Автор

Thanks for that great video.
I tried the same code with the Custerers and Orders tables loaded instead of the Contacht table. Tables Customers and Orderss are related. Program throw error. If I remove table Orders in model, program works well. Can you make video sa two releted tables?
Thank you so much!

slavkodjakovic
Автор

please do you have a video on binding source to sql server with date field. all your videos skip them

kennanashi
Автор

When i click on update button i get this exception: an entity object cannot be referenced by multiple instances of ientitychangetracker
can someone help?

nixxxization
Автор

hey You neverd put code in the Save Btn its no work for ma :/

fryannmartinez
Автор

Not all steps are recorded in this video... Save Button function, datasource error, code for gridview is not shown. Please do things clearly OR not do FAKE things...Plz

quranandsoul