Asp .Net MVC Full CRUD Operation Using Entity Framework DB First | CRUD Operations in MVC

  Рет қаралды 121,988

𝐂𝐨𝐝𝐞𝐖𝐢𝐭𝐡𝐆𝐨𝐩𝐢

𝐂𝐨𝐝𝐞𝐖𝐢𝐭𝐡𝐆𝐨𝐩𝐢

Күн бұрын

Пікірлер: 92
@CPAMohamedGai
@CPAMohamedGai 10 ай бұрын
Thanks u sir was bitterly struggling until i saw this vedio that made things so so simple
@CodeWithGopi
@CodeWithGopi 10 ай бұрын
Thanks for your valuable feedback and support 👍
@CodeWithGopi
@CodeWithGopi 9 ай бұрын
Thank you for your feedback and support! If you're able, please consider supporting my channel by becoming a member or using Super Thanks.
@muhammadsaadkhan8359
@muhammadsaadkhan8359 6 ай бұрын
*Thank You So Much Sir* *For Making That Video*
@akshaygite900
@akshaygite900 2 жыл бұрын
Thank you sir 👍👍
@davoodnavidi7117
@davoodnavidi7117 2 жыл бұрын
Perfect .... It was useful and simple
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Thanks for your valuable feedback and support 👍
@ramyajayaraman7744
@ramyajayaraman7744 3 жыл бұрын
This is the best tutorial so far, it's to the point and simple. Thanks a lot sir
@CodeWithGopi
@CodeWithGopi 3 жыл бұрын
Thanks for your valuable feedback and support 👍
@ghulammustafajagirani8380
@ghulammustafajagirani8380 2 жыл бұрын
Really Thanks Sir
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Thanks for your support follow the channel for more useful content
@THEEXPLAINERSCULTURE
@THEEXPLAINERSCULTURE 2 жыл бұрын
I have become your fan sir
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Thanks a lot for your valuable feedback and support
@brothertoughlove
@brothertoughlove 6 ай бұрын
Excellent 👍🏿
@sanketkondhalkar6553
@sanketkondhalkar6553 3 жыл бұрын
It's really helpful
@CodeWithGopi
@CodeWithGopi 3 жыл бұрын
Thanks 😊 for your valuable feedback 👍 and support
@ghulammustafajagirani8380
@ghulammustafajagirani8380 2 жыл бұрын
Sir Lots Lots Thanks For This Video
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Thanks for your support
@wawanshu8156
@wawanshu8156 3 жыл бұрын
Thank you so much, ist really help full to me, next plz upload tutorian canlender and combo box
@CodeWithGopi
@CodeWithGopi 3 жыл бұрын
Sure. I will do it ASAP. Thanks for your support 🙏
@alexjoseph7932
@alexjoseph7932 2 жыл бұрын
Excellent exercise!!!
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Thanks for your valuable feedback 😀
@notsopro1557
@notsopro1557 3 жыл бұрын
Thank you so much brother, God bless you! You're so great you really help me on my project
@CodeWithGopi
@CodeWithGopi 3 жыл бұрын
Thanks for your feedback and support 👍
@nigamkalpataruchinhara1951
@nigamkalpataruchinhara1951 2 жыл бұрын
Really helpful... Thanks 🥀
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Thanks for your valuable feedback
@nigamkalpataruchinhara1951
@nigamkalpataruchinhara1951 2 жыл бұрын
@@CodeWithGopi Brother, if possible recreate crud of entity fw based on vs 2022.
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Thanks for your interest. Uploading those videos also. DB First example with .net 6.0 Already uploaded. Please have a look..soon will upload other videos also.
@nigamkalpataruchinhara1951
@nigamkalpataruchinhara1951 2 жыл бұрын
@@CodeWithGopi thanks bro.. waiting for those🤩
@prashantrathore6248
@prashantrathore6248 2 жыл бұрын
Great Sir ji excellent explanation
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Thank you so much for your valuable feedback and support 👍
@chathuradilshan8601
@chathuradilshan8601 2 жыл бұрын
Thankz!
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Thanks for your support 🙏
@naveenv7127
@naveenv7127 9 ай бұрын
Hi bro ive already installed Entity Framework but it is not showing while iam adding in models .
@OmkarJadhav-q7j
@OmkarJadhav-q7j Жыл бұрын
sir model not created and not shoeing any file lastly 05:01 - Model Creation
@duragrajuveeraboina2677
@duragrajuveeraboina2677 2 жыл бұрын
Nice explanation sir but small dout sir plz help me sir
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Thanks for your valuable feedback. You can ask your doubts here or mail me
@adityakr8055
@adityakr8055 2 жыл бұрын
i got an issue that is on the page below that Application name bar the content is not coming i.e., index create new an all.plz help me with this
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Is this hitting your controller while loading data. Please add debug point and check
@adityakr8055
@adityakr8055 2 жыл бұрын
@@CodeWithGopi can u guide me how to do that.?
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Add debug point in index action method in your controller
@swapnalisalunkhe5488
@swapnalisalunkhe5488 Жыл бұрын
Heyy, It shows me exception in 54 line of controller whenever I try to add records
@shubhamjamdade6983
@shubhamjamdade6983 Жыл бұрын
want to add radio button and checkbox in this crud then how to do that??plssss Ans
@anilkumarthatipamula9380
@anilkumarthatipamula9380 2 жыл бұрын
Please post mvc real-time projects
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Sure.
@anbuanbu6591
@anbuanbu6591 3 жыл бұрын
Hi bro, Kindly create with any real time architecture design pattern. Its use ful for beginner.
@CodeWithGopi
@CodeWithGopi 3 жыл бұрын
Sure I will do it...thanks for your support...appreciate your inputs
@anbuanbu6591
@anbuanbu6591 3 жыл бұрын
@@CodeWithGopi thank you.
@CodeWithGopi
@CodeWithGopi 3 жыл бұрын
Please share 🙏 with your friends and support
@anbuanbu6591
@anbuanbu6591 3 жыл бұрын
Sure
@maniforluacan6479
@maniforluacan6479 11 ай бұрын
can put glyphicons?
@Developer_SwapniL
@Developer_SwapniL Жыл бұрын
At 6:51 it is not showing in Models folder what to do plz help
@eugeepantua6300
@eugeepantua6300 3 жыл бұрын
Can I use visula studio 2017?
@CodeWithGopi
@CodeWithGopi 3 жыл бұрын
Yes you can
@narendrareddy406
@narendrareddy406 29 күн бұрын
sir employee table ravadam ledu em cheyali
@banna336
@banna336 2 жыл бұрын
facing error while generating database through Model first approach in mvc - Expression of type 'System.Data.Entity.Core.Metadata.Edm.EdmItemCollection' cannot be used for return type 'System.Data.Entity.Core.Metadata.Edm.EdmItemCollection' DDL file is generating query... kindly solve this
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Hi, Clean your solution and rebuild the solution before running the application. Still if you are getting any errors please let me know..will check
@banna336
@banna336 2 жыл бұрын
@@CodeWithGopi will let you know shortly
@muhammadridhoprakarsa
@muhammadridhoprakarsa 2 жыл бұрын
What if I use two related tables?
@jeffridcornejorivero8019
@jeffridcornejorivero8019 2 жыл бұрын
Good afternoon, a favor, I have been testing the system in Visual studio 2022 and 2019 and I get the error: EntityState error in visual studio or problem when modifying in entity framework, please help.
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Hi, Please ensure that you have added primary key in your table. Still if you have issue, please share error details.
@jeffridcornejorivero8019
@jeffridcornejorivero8019 2 жыл бұрын
This error explains to me that you cannot implicitly convert type 'System.Data.EntityState' to 'System.Data.Entity.EntityState'. that an explicit conversion already exists.
@jeffridcornejorivero8019
@jeffridcornejorivero8019 2 жыл бұрын
Compiler error CS0266
@bibekkarki2648
@bibekkarki2648 2 жыл бұрын
i could nt find ado.net entity data model plz help
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Open Visual Studio installer Select Individual components tab and check Entity Framework 6 tools under SDK's, libraries, and framework section
@deepaksarode3671
@deepaksarode3671 2 жыл бұрын
@@CodeWithGopi it is already checked but still it is not showing ado.net entity data model in the add section
@kalyanchakravarthyc-xo6ub
@kalyanchakravarthyc-xo6ub 2 жыл бұрын
HI brother i created new project .i need to add model .in that add list i didn't get ado.net entity model option please help me brother.
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Go to Tools -> Get Tools and features. Select Individual components tab and check Entity Framework 6 tools under SDK's, libraries, and framework section
@revanthpothuraju
@revanthpothuraju 2 жыл бұрын
Hello error will come to me system. Data. Entity. Validation. Dbentityvalidationexception
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Hi, Please build your application after adding Entities. Still if you are facing any errors, please do share errors screen or source on gpaptechnologies@gmail.com
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Also clean your solution before rebuild
@revanthpothuraju
@revanthpothuraju 2 жыл бұрын
Okay 👍 thank bro
@revanthpothuraju
@revanthpothuraju 2 жыл бұрын
Without entity framework really time project chapava
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
👍
@saranya630
@saranya630 3 жыл бұрын
It shows me an exception when I try to add new record in line 54 in the controller 😑
@CodeWithGopi
@CodeWithGopi 3 жыл бұрын
Please share the error details
@developermode274
@developermode274 3 жыл бұрын
@@CodeWithGopi Hello I'll add the details of the error since I'm getting the same issues as his. System.Data.Entity.Infrastructure.DbUpdateException HResult=0x80131501 Message=Unable to update the EntitySet 'EMPLOYEEMASTER' because it has a DefiningQuery and no element exists in the element to support the current operation. Source=EntityFramework StackTrace: at System.Data.Entity.Internal.InternalContext.SaveChanges() at System.Data.Entity.Internal.LazyInternalContext.SaveChanges() at System.Data.Entity.DbContext.SaveChanges() at CRUD_MVC_12_10_2021_1132.Controllers.EmployeeController.Create(EMPLOYEEMASTER eMPLOYEEMASTER) in E:\Other\ASP NET\project2021_12_8_1516\CRUD_MVC_12_10_2021_1132\CRUD_MVC_12_10_2021_1132\Controllers\EmployeeController.cs:line 54 at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.c.b__9_0(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.c__DisplayClass11_0.b__0() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.c__DisplayClass11_2.b__2() This exception was originally thrown at this call stack: [External Code] Inner Exception 1: UpdateException: Unable to update the EntitySet 'EMPLOYEEMASTER' because it has a DefiningQuery and no element exists in the element to support the current operation.
@CodeWithGopi
@CodeWithGopi 3 жыл бұрын
Hope there is no primary key added to your table. Please check
@developermode274
@developermode274 3 жыл бұрын
@@CodeWithGopi That worked. Thanks.
@CodeWithGopi
@CodeWithGopi 3 жыл бұрын
Great 👍
@anbuanbu6591
@anbuanbu6591 3 жыл бұрын
Hi brother, how to implement admin template in layout page
@mudassirakhter6605
@mudassirakhter6605 3 ай бұрын
Database ko project me directly expose krna it's not a good practice
@developermode274
@developermode274 3 жыл бұрын
I'm having an issue when trying to add a controller with an error that saying: There was an error running the selected code generator: There was an error getting the type 'CRUD_MVC_12_10_2021_1132.Models.EMPLOYEEMASTER'. Try rebuilding the project.
@CodeWithGopi
@CodeWithGopi 3 жыл бұрын
build your application after adding Entity Framework then add your controller...still if you are facing issue, restart visual studio, clean solution, build and add controller...please let me know still you have any issues
@python-br4kj
@python-br4kj 3 жыл бұрын
@@CodeWithGopi This solved my problem thanks alot.
@CodeWithGopi
@CodeWithGopi 3 жыл бұрын
That's great 👍
@srs3780
@srs3780 Жыл бұрын
Hi. I also face similar kind of error while creating controller. I got "Exception has been thrown by Target of invocation". Please help me solve this issue.
@armanhossain2494
@armanhossain2494 2 жыл бұрын
textbox + datagridview save data to database
@palakrajput2778
@palakrajput2778 Жыл бұрын
Source code pls
@mudassirakhter6605
@mudassirakhter6605 3 ай бұрын
@@palakrajput2778 code likho zyada se zyada
@chintunayak9078
@chintunayak9078 2 жыл бұрын
no use waste of time dot do like that this is worst method write code manually
@CodeWithGopi
@CodeWithGopi 2 жыл бұрын
Thanks for your valuable feedback. If you are looking for the code to write manually, please watch the below video and Provide the feedback. Thanks kzbin.info/www/bejne/nX_Zpo2KnJV7Z80
Complete CRUD operations in Asp Net MVC using Entity Framework with Repository Pattern | Part - 1
23:17
𝐂𝐨𝐝𝐞𝐖𝐢𝐭𝐡𝐆𝐨𝐩𝐢
Рет қаралды 10 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Restaurant App  in MVC C# Part 1
1:18:17
Tek Tuition
Рет қаралды 205 М.
Hamas releases three more Israeli hostages
4:28
The Times and The Sunday Times
Рет қаралды 223 М.
ASP.NET Core Crash Course - C# App in One Hour
1:00:44
freeCodeCamp.org
Рет қаралды 1,6 МЛН
CRUD operations in ASP.Net MVC5 using Entity Framework Code First and SQL Server Database
31:33
𝐂𝐨𝐝𝐞𝐖𝐢𝐭𝐡𝐆𝐨𝐩𝐢
Рет қаралды 44 М.
What are the implications of Trump's sanctions against ICC? | Inside Story
28:01
Asp.Net MVC CRUD Operations Using Datatable
1:00:51
CodAffection
Рет қаралды 386 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН