Entity Framework - Part 10 - Updating Data

Поділитися
Вставка
  • Опубліковано 5 жов 2024

КОМЕНТАРІ • 65

  • @prometheus2625
    @prometheus2625 4 місяці тому +1

    I really like the idea of giving a very basic example and explaining it as clear as possible. Enjoyed and learned very much. Thank you.

  • @CodingSquid
    @CodingSquid 5 років тому +3

    Your .Net Core MVC REST API video brought me to your channel. Looking forward to watching your DevOps lesson soon. Thank you again.

    • @binarythistle
      @binarythistle  5 років тому

      Hi Richard - thanks for taking the time to feedback. I hope to be producing more content soon that I hope you find useful too. Cheers, Les

  • @stevenstone307
    @stevenstone307 3 роки тому +2

    Hey Les, thank you so much for this series! I needed to get up to scratch with EF for work and your series have given me a load of confidence getting into it. Thank you!

  • @schudasama
    @schudasama 5 років тому

    You have a very Unique way of teaching. I appreciate all your efforts. You know how to present and what things to cover giving a global knowledge about the subject! Many Thanks.

    • @binarythistle
      @binarythistle  5 років тому

      Thanks Sanjay - I hope you find the content useful!

  • @vladeb1104
    @vladeb1104 3 роки тому

    The most challenging part of the tutorial was the workaround of form elements. I'm glad I've watched it, as it gives me a decent start to attach EF functionality to the web apps. Thank You, Les!

  • @dashachernobai7895
    @dashachernobai7895 Рік тому

    Thank you very much for the tutorial! To be honest, it is rare to find a programmer who explains the code well, and you are definitely in their top, thank you very much, great project, not boring and detailed explanation. Thanks to you, my teacher at the university will not suffer reading the code. With great wishes from Ukraine, good luck, and may you have more subscribers, you deserve it.

  • @lynnszen
    @lynnszen 5 місяців тому

    I know this series is more than five years old, but I am being pushed to learn EF. Thank you so much for your videos and simple explanations.

  • @umarrauf9331
    @umarrauf9331 3 роки тому

    Just finished the series and loved it. I wanted a run down of what EF is and does and now I know. Thanks man

  • @janoytechwizz3874
    @janoytechwizz3874 2 роки тому

    I have been scouring youtube to grasp this concept and to see the code in action. Thank you. One Tip Use Comments above code blocks its really helpful for newbies.

  • @toddchristensen7773
    @toddchristensen7773 4 роки тому +1

    I found this whole tutorial quite interesting and useful. Thanks for taking the time to create it! I look forward to viewing some of your others.

  • @jayrcodes91
    @jayrcodes91 Рік тому

    Hey Les, thank you for the tutorial series, I've learned a lot. Thank you.

  • @HyborianDemonKnight
    @HyborianDemonKnight Рік тому

    Great tutorial by the way! Very easy to follow the workflow!

  • @davidconley9852
    @davidconley9852 6 років тому

    Thanks for a great tutorial! I'd like to suggest a series on the database first approach as I am constrained to working with existing databases and find your explanations very helpful.

    • @binarythistle
      @binarythistle  6 років тому

      Hi David. thanks for the feedback. Yes I get it! Most of the stuff I've had to work on I've had to start with the db... I'll put your suggestion on the back log of ideas for my next series! Cheers, Les

    • @johncantrell7096
      @johncantrell7096 6 років тому

      I'd also love to see more relational stuff. I have a very SQL heavy program with lots of custom Table Adapters and it get's very messy. I do not know how it would be possible to convert some of these Table Adapters to entity framework when it involves sql query logic (such as finding rows based on a variable).

  • @matthiaskarageorgiou3784
    @matthiaskarageorgiou3784 5 років тому

    Loved the series , im pretty new to Entity , SQL and LINQ and everything in that direction! It really helped me understand how things work a lot , I#m looking forward to more tutorials of you and I really like that you stop and explain what is happening with simple words cause I guess most of us here don't have a lot of experience and come here looking for excactly that ! And that accent one more reason! Thank you !

    • @binarythistle
      @binarythistle  5 років тому +1

      Thanks Matthias! I try to make the tutorials I would like to watch! I find even if you have experience, learning something new can still be tough. Anyway glad you enjoyed the series. Cheers Les

  • @18ashwin
    @18ashwin 3 роки тому

    Thanks a lot for this video series...I completed it at one go and learnt so many things.

  • @samgod9599
    @samgod9599 4 роки тому +1

    Excellent Series of Videos. Thanks

  • @fernando-loula
    @fernando-loula 3 роки тому

    Real cool stuff, helped me a lot. I would suggest you try to abstract out the nitty gritty stuff on user interface, I personally know nothing about forms and UI in general, and some of the stuff that was there got in my way from time to time. Loved your channel, cheers.

  • @AthelstanEngland
    @AthelstanEngland Рік тому

    Excellent playlist. I liked the bite sized episodes.

  • @rehanahmad2689
    @rehanahmad2689 4 роки тому

    Hi Les, Great video series. Subscribed and eager to view some more from your playlists. Keep up the great work!

  • @guy1407
    @guy1407 3 роки тому

    final thought :)
    You should add the ability to move up/down in selected row and show the data on the task GroupBox (AKA Frame)

  • @JonathanDewetfunlifegod
    @JonathanDewetfunlifegod 3 роки тому

    This really helped me with an assignment I am working on. Thanks for making this.

  • @rizgarkh
    @rizgarkh 5 років тому +1

    Very good tutorial, Very good explanation and easy to follow. THANK YOU

  • @peterdoyle1994
    @peterdoyle1994 3 роки тому

    Very professional tutorial. Thanks.

  • @mattmorgan6807
    @mattmorgan6807 5 років тому +1

    I really enjoyed learning through this video series! My only suggestion is to increase the IDE font size a hair while you are recording.
    Cheers.

    • @binarythistle
      @binarythistle  5 років тому +2

      Hey Matt - yes totally agree. My earlier videos were all done at 1920 x 1080, which can be difficult to read even on large screens never mind mobile! I'm experimenting with a few techniques now to improve the readability: lower resolutions, "zooming in" in the edit etc...
      Great feedback I appreciate it, Cheers, Les

  • @axmart1993
    @axmart1993 4 роки тому +1

    Thank you for this tutorial it seemd short but it had a lot of usefull information! I will make sure when im there i will buy your new book :) Cheers mate!

  • @virekmaharaj5665
    @virekmaharaj5665 6 років тому

    Your tutorials are really good man , nice explanations and easy to understand. Keep it up!!!

  • @agsamjad1khan84
    @agsamjad1khan84 4 роки тому

    Very Nice Explanation thanks Jack

  • @rhondaandmartyyoungkins7034
    @rhondaandmartyyoungkins7034 3 роки тому

    Thanks Les, nice introduction to EF

  • @thethomasproject
    @thethomasproject 6 років тому

    I wanted to say that I've really enjoyed this series! If you were thinking of doing a deeper dive into entity, I'm there! Actually love to ask, what references would you recommend at this point to really get deep into entity?

    • @binarythistle
      @binarythistle  6 років тому

      Hi Frank - really glad you enjoyed the series! Probably the most comprehensive text I've found on the Entity Framework was Programming Entity Framework by Julia Lerman - published by O'Reilly. Other than that Google is your best friend!

    • @thethomasproject
      @thethomasproject 6 років тому

      Really. I picked up that book but hesitant to read through it thinking it was outdated. I'll start pouring through it.

    • @binarythistle
      @binarythistle  6 років тому

      Hey Frank - yes I get where you're coming from and to be honest I've only really skimmed it myself. If you already have access to it - great , otherwise I really just find stackoverflow, msdn and other youtube vidoes are the best source of info. It's also usually more upto date!

  • @bakiwebdev
    @bakiwebdev 3 роки тому

    just want to say, thank you, and keep going

  • @otaviodioscanio3868
    @otaviodioscanio3868 3 роки тому

    Thank you a lot! From Brazil.

  • @binalgohil8791
    @binalgohil8791 5 років тому +1

    Very good explanation... Thank you very much😊

  • @mariadebroy6118
    @mariadebroy6118 3 роки тому

    Thank you for the amazing tutorial! Subscribed.

  • @iandavies1524
    @iandavies1524 4 роки тому

    Absolute belter!

  • @mrt7948
    @mrt7948 3 роки тому

    Pretty nice. Can we go to the next level please? one to many relationship, editing on the datagram.

  • @julivanespi
    @julivanespi 4 роки тому

    This was a great playlist!

  • @andresjimenez3140
    @andresjimenez3140 4 роки тому

    This was an amazing tutorial ! Great Job !
    I'd like to know what would recommend, to use EF Code First or Database First ? Pros and cons ?

  • @HaiderAlDelfi
    @HaiderAlDelfi 5 років тому

    Thank you Les, that was a very informative playlist.
    One quick question in relation to EF in a production environment. Assume you have deployed an application using code first and months down the line you need to make significant design changes following customer request (For example: You have to delete a class, change relationships, modify properties). In the scenario of deleting a class, EF migration would issue a command to drop the table. Is there a way to preserve data in the database and avoid data loss?
    I know we can manually edit the migration code but is there a better way of doing this to prevent potential data loss. In other words, is there a recommended pattern when using EF in a production environment?
    Thank you
    H.

  • @shabeerna2002
    @shabeerna2002 2 роки тому

    Hi, Can you please show a demo on how to update nested entities.

  • @HitmonCZ
    @HitmonCZ 6 років тому

    Really great tutorial series, helped me alot, but I think it should've been demonstrated in WPF, instead of WinForms.

    • @binarythistle
      @binarythistle  6 років тому +1

      Good feedback thanks - a few people have said that! I choose WinForms through habit really, no other reason ;) Will look ay WPF next time.

  • @beloCK750
    @beloCK750 Рік тому

    Thanks Les

  • @marekczarek5987
    @marekczarek5987 3 роки тому

    Thank you!

  • @dampuawang2897
    @dampuawang2897 4 роки тому

    Thank you very much

  • @FloetschMaster
    @FloetschMaster 4 роки тому

    Well done as everytime! one tghought of me... we make a "var t = tmContext.Tasks.Find((int)dataGridView.SelectedCells[0].Value);" when we click save. so if it happens that the user unfortunately select a different Dataset in the grid it would notg update the correct Dataset in the database... how can i perevent from that?? i have tried to make that "var t = tmContext.Tasks.Find((int)dataGridView.SelectedCells[0].Value);" as we click on update but its in a if-statement so i cannot reuse the "t" in the "else if-statement" any idea?

  • @allanhouston22
    @allanhouston22 6 років тому

    So you ran select and update, not just attaching the updated model and then run update only...

  • @mdzikrullah9575
    @mdzikrullah9575 2 роки тому

    Hey I need help. Im getting a System.NullReferenceException when Im asigning task's status
    newTask.StatusId = (cboStatus.SelectedItem as Model.Status).Id; here.
    Anyone please help me. Thanks

  • @omarwasfi
    @omarwasfi 5 років тому +1

    Thanks

  • @HyborianDemonKnight
    @HyborianDemonKnight Рік тому

    Was getting a System ArgumentOutOfRangeException after pressing Update button without having selecting an Item in the DataGrid and this fixed it:
    ua-cam.com/video/W8T1MAV3dBE/v-deo.html