Тёмный

Part 2 Entity Framework Model First Approach 

kudvenkat
Подписаться 834 тыс.
Просмотров 343 тыс.
50% 1

Link for all dot net and sql server video tutorial playlists
/ kudvenkat
Link for slides, code samples and text version of the video
csharp-video-tu...
Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our RU-vid channel. Hope you can help.
/ @aarvikitchen5572
In this video we will discuss using Model First Approach of Entity Framework. This is continuation to Part 1. Please watch Part 1 before proceeding.
Entity Framework supports the following three approaches
1. Schema First Approach - Discussed in Part 1
2. Model First Approach - In this video.
3. Code First Approach - Next Video
In the Model First Approach, we first create the Entity Model. That is we create
1. Entities
2. Relationships between entities
3. Inheritance hierarchies etc.
We do all this directly on the design surface of the EDMX file. We will be continuing with the same example that we started in Part 1 of Entity Framework Tutorial.
To add navigation properties to entities, right click on the deisgn surface and select "Add - Association" from the context menu.

Опубликовано:

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 50   
@Hajjat
@Hajjat 9 лет назад
I love this series! Very empowering, thanks! Microsoft should pay you money for this! :)
@habeebafvan5192
@habeebafvan5192 9 лет назад
One of the best tutor i have ever come across... God Bless you... Could you please also upload videos on TFS?
@im_ravirajan
@im_ravirajan 9 лет назад
Hi Venkat, thank for this video. Much helpfull for carrier and easily understandable....
@stannisbarracuda5693
@stannisbarracuda5693 5 лет назад
you teach better than microsoft lol , ill purchase your courses soon youve helped me so much especially in Asp.net mvc
@sugandhsai
@sugandhsai 10 лет назад
HI Venkat, You have done an amazing job at teaching people a skill that is not easy to acquire. Would be great if you could do a list view Tute as well. I find list view particularly tricky. thanks a lot brother
@maheswarreddy.madithati
@maheswarreddy.madithati 8 лет назад
Thanks..this made me very clear.But how abt if we have identity in our table.How does it work.Please explain.
@saagarsoni3
@saagarsoni3 10 лет назад
thnx a lot sir....very crystal clear explanations
@ashwinipatil7541
@ashwinipatil7541 9 лет назад
Very well explained... Keep it up ...!!!!!
@oscarportorreal
@oscarportorreal 9 лет назад
Thanks a lot!!!! easy explanation, nice to undertand. Suscribed !!
@sajadtroll9186
@sajadtroll9186 5 лет назад
this is so cute move that you share your knowledge for free.
@kirankumar3536
@kirankumar3536 10 лет назад
Sir you are given knowledge on multiple technologies but you haven't explain about 3-tier architecture in asp.net so kindly complete this part and move on to next. Thanks in Advance
@Kumar-id7qs
@Kumar-id7qs 10 лет назад
kirankumar3536 Venkat sir has done a lot for us. this is the reason we always have our hopes high. please, sir try to record some tutorials on something like LIVE-PROJECT so that we would learn about Software-development -process.and if Venkat sir decides to do so then it will be great help for us because he will do with - 1.Elegance 2.with great experience he has on the technology. 3.with the goal of what is the actual use concepts he taught us earlier in real-world development environment. & endless reasons ... please sir try to do this. (hoping that you will have time for this).
@DineshGupta-xu1rd
@DineshGupta-xu1rd 4 года назад
I would like to thank you so much for your help.
@damit0071
@damit0071 5 лет назад
Hi veryyy nice sir....but one thing i feel about (sorry)...in the vdo you are showing the older one solution and deleting the .edmx file here....this is little confusing...rather you can omit this part showing the brand new solution....(just my thought sharing with you)....but style of explaining is veryy nice..Thank you..
@mkusasakala3861
@mkusasakala3861 8 лет назад
what data type do you choose when storing a url link or an image in the table?
@sangeethagnanavel5599
@sangeethagnanavel5599 7 лет назад
A neat explanation...Thank you
@rambigadda
@rambigadda 3 года назад
Thank you for your videos, they are very helpful. I have a query, does the EF core is faster than @t (with Stored procedures, views, etc)? In my experience, I have observed that, when there is large volume of data, @t based applications are performed well than EF Core applications.
@sivaboyidi9939
@sivaboyidi9939 7 лет назад
Hello Mr.Venkat thanks for your support and how can we change the datatype from NVARCHAR to VARCHAR??? if possible!!!!! How? Thanks in advance...
@satyak2922
@satyak2922 8 лет назад
In using model first approach, how do you restrict the string to varchar length of datatype in db. I see in video that few db columns are created as varchar(50), how do we restrict that from model first approach.
@stephenbrooks7189
@stephenbrooks7189 10 лет назад
Hi kudvenkat, sometime in the future can you do a video on the use of Automapper?
@gailhedberg8104
@gailhedberg8104 9 лет назад
Hello and thank you for creating and sharing these videos. I am using VS 2015 community and have run into a challenge: the EntityDataSource control doesn't seem to work (at all) as described in your tutorial. AN error message indicates that this vsn of EDS control is only valid for EF5. Can you offer a solution?
@arianitonline8748
@arianitonline8748 9 лет назад
+Gail Hedberg just switch to EF5, I did so.... uninstall EF6 and install EF5... as for these tutorials, I hope later we find a better solution
@gailhedberg8104
@gailhedberg8104 9 лет назад
thank you.
@muhammadafzal237
@muhammadafzal237 2 года назад
Sir make a video series on database backup and restore. Using code or entity framework. Thanks
@ivandrofly
@ivandrofly 10 лет назад
Thanks keep them coming :)
@vermamunnu
@vermamunnu 10 лет назад
good one Sir.
@poornitest2827
@poornitest2827 7 лет назад
Hi Venkat, I am a follower of your video.Newly I started learning Entity Framework tutorial.I am having visual studio 2015 and all I have the latest updates for Entity Framework v6.1.3 and Entity Data Source v6.0. In Entity DataSource 6.0, I can't able to find the configure Data source option. While creating ADO.Net Entity Data Model,It is showing only "EF Designer from DataBase","Empty EF Designer Model","EmptyCodeFirstModel","CodeFirstFromDatabase" instead of "Generate from Database","Empty Model". So I need your guidance in order to continue your video.Hope you will answer.
@mohsinraza2587
@mohsinraza2587 7 лет назад
select EF database designer its is actually db first approach and EF stans for Entity Framework
@nikolecara
@nikolecara 8 лет назад
Hi Venkat, Thanks for those very useful tutorials. I have also problem like some of us- Warning 1 Error 2062: No mapping specified for instances of the EntitySet and AssociationSet in the EntityContainer Can you tell us what is about? Tnx
@naserintegral
@naserintegral 10 лет назад
Thank you very much Sir !!
@ademolaade5271
@ademolaade5271 9 лет назад
Hi Venkat. Thanks for this video. I got this error message after creating the association and trying to build the project. Error 2062: No mapping specified for instances of the EntitySet and AssociationSet in the EntityContainer. I have google it but could not find answer on how to resolve this. Could you pls help out or if there is anyone here that has got same issue in the past to kindly help. Regards.
@Manojshankar36
@Manojshankar36 9 лет назад
Ademola Ade Hi did u figure out how to solve the error.
@mohitaggarwal1037
@mohitaggarwal1037 6 лет назад
At 10:00 when i click generate database from model, the data connection is empty. Even i create a db in sql server r2. what should i do? Pls help.......
@LivingSpiritual
@LivingSpiritual 6 лет назад
awesome Thank You...
@mikemaharjan1631
@mikemaharjan1631 10 лет назад
i can't find the option "Execute Sql" when i create the employee.edmx.sql... help anyone ?
@azizbekibnhamid642
@azizbekibnhamid642 Год назад
Thanks)
@tusharkandalkar2879
@tusharkandalkar2879 8 лет назад
Can you upload video on transaction /concurrency management in Entity Framework ?
@Csharp-video-tutorialsBlogspot
+Tushar Kandalkar Sure, I will record and upload as soon as I can. Thank you very much for your patience. I have organised all the Dot Net & SQL Server videos in to playlists, which could be useful to you ru-vid.complaylists?view=1&sort=dd If you need DVDs or to download all the videos for offline viewing please visit www.pragimtech.com/kudvenkat_dvd.aspx Slides and Text Version of the videos can be found on my blog csharp-video-tutorials.blogspot.com Tips to effectively use my youtube channel. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-y780MwhY70s.html If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel. ru-vid.com If you like these videos, please click on the THUMBS UP button below the video. May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them. Good Luck Venkat
@tusharkandalkar2879
@tusharkandalkar2879 8 лет назад
thank you..!!
@saritalad8923
@saritalad8923 8 лет назад
I tried all steps but the query does not execute and vs is not responding.
@bheesham1985
@bheesham1985 10 лет назад
awesome
@simranjeetsingh7982
@simranjeetsingh7982 10 лет назад
that's gud
@mohitshah8839
@mohitshah8839 8 лет назад
Doesn't this generate any model code??
@bhargav9435
@bhargav9435 10 лет назад
I am facing this error....... System.ArgumentException: Could not find the CLR type for 'EmployeeModel.Department'. Can any one give a solution ..... Thanks
@numero17100
@numero17100 8 лет назад
it donesn´t work for me ... Show me many errors Microsoft Suckss ...
@archinmodi4575
@archinmodi4575 7 лет назад
how to update model first approach migration ???????????? in this video tutorial Part-5 .
@shando_tube
@shando_tube 8 лет назад
You should really address this Error 2062 that many people are experiencing including myself
@shakiulanam6569
@shakiulanam6569 5 лет назад
If you want to see this project execution in vs2017, then please visit here - banglasqldotnetcsharp.blogspot.com/2018/11/entity-framework-model-first-approach.html
@deepakkhetwal5071
@deepakkhetwal5071 4 года назад
used very shortscut explanation
Далее
Part 3   Entity Framework Code First Approach
16:27
Просмотров 425 тыс.
Part 1   What is Entity Framework
18:02
Просмотров 969 тыс.
Brutally honest advice for new .NET Web Developers
7:19
C# Data Access: Complex Objects with Dapper
28:09
Просмотров 29 тыс.
Writing My Own Database From Scratch
42:00
Просмотров 223 тыс.
Part 7   Using stored procedures with entity framework
12:09