How to use NHibernate in Visual Studio Projects

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

ความคิดเห็น • 63

  • @zoejeftha6014
    @zoejeftha6014 3 ปีที่แล้ว +2

    This was so so helpful. Was skeptical about this 2013 video being useful in 2021 but it really helped a lot!! Thank you.

  • @purple-sky-ro
    @purple-sky-ro 9 ปีที่แล้ว +4

    Best tutorial I found. Short and simple, easily gets you started.

    • @digioz
      @digioz  9 ปีที่แล้ว

      Glad you liked it Alexandru.

    • @amirday2daychallenge
      @amirday2daychallenge 6 ปีที่แล้ว

      So do I, but it was too short ;)

  • @noponn8007
    @noponn8007 5 ปีที่แล้ว

    I am forced to use hibernate for the project I was assigned and this is really helpful
    thank

  • @rnazemi
    @rnazemi 11 ปีที่แล้ว +1

    That was great, i learned how nhibernate is working just with this video.

  • @miryam5390
    @miryam5390 7 ปีที่แล้ว

    Just excellent, exactly what I needed. Clear and concise. Many thanks.

    • @digioz
      @digioz  7 ปีที่แล้ว

      You are very welcome.

  • @NewTech798
    @NewTech798 2 ปีที่แล้ว

    SetFetchMode is obsolete use fetch insted geeting this error in nhibernet version 5.2.0
    please suggest

  • @ToMChiangky
    @ToMChiangky 10 หลายเดือนก่อน

    useful! thank you very much!

  • @victorchjen838
    @victorchjen838 10 ปีที่แล้ว

    Thanks for tutorial. It would be great to learn more about implementing other CRUD operations by means of NHibernate.

    • @digioz
      @digioz  10 ปีที่แล้ว +2

      Well, I already demonstrated Create and Read. Here is a small code snippet for Update and Delete:
      pastebin.com/xRg0rcEq
      I will add this suggestion to my suggestions list for future videos as well.

  • @rodrigoprata2354
    @rodrigoprata2354 9 ปีที่แล้ว +1

    Thanks man, i was already giving up nhibernate.

    • @digioz
      @digioz  9 ปีที่แล้ว

      It does have it's limitations, but the benefits far outweigh the disadvantages, at least for certain types of applications.

  • @pakalex13
    @pakalex13 9 ปีที่แล้ว

    Congrats!
    I was looking for some tutorial like you did.... It was great!

    • @digioz
      @digioz  9 ปีที่แล้ว

      Good to hear it was useful to you Francisco!

    • @pakalex13
      @pakalex13 9 ปีที่แล้ว

      I saw all your list of videos, are you planning to upload one more with NHibernate?

    • @digioz
      @digioz  9 ปีที่แล้ว

      Yes, I will at some point. It's just a matter of finding the time to do it. :)

  • @sserkanocak
    @sserkanocak 8 ปีที่แล้ว

    Thanks for useful video. i have seen many video about nhibernate.. yours good for me !.

    • @digioz
      @digioz  8 ปีที่แล้ว

      +Serkan Ocak Glad to hear that.

  • @morenoaf
    @morenoaf 6 ปีที่แล้ว

    Very good example to start...very good

  • @MrBBharath
    @MrBBharath 8 ปีที่แล้ว

    That's really help full & nice explanation...

    • @digioz
      @digioz  8 ปีที่แล้ว

      Glad to hear that.

  • @antara1598
    @antara1598 4 ปีที่แล้ว

    When I am trying to run the project I just getting a black command prompt kindof pop up and nothing is working. Please help

  • @kolekkillyou
    @kolekkillyou 5 ปีที่แล้ว

    I did the same on Visual Studio 2017 and not working, but when i use your project is ok, Can IT work on my own project?

  • @digioz
    @digioz  11 ปีที่แล้ว

    I am glad to hear that Reza.

  • @luanneres5321
    @luanneres5321 8 ปีที่แล้ว

    O vídeo é excelente! Muito obrigado por compartilhar o conhecimento.
    The video is excelent! thanks for share the Knowledge

    • @digioz
      @digioz  8 ปีที่แล้ว

      You are very welcome.

  • @enriquemoreno5132
    @enriquemoreno5132 4 ปีที่แล้ว

    NHibernate.Exceptions.GenericADOException: 'could not insert: [NHibernateTutorialPart1.Contact][SQL: INSERT INTO Contact (ID, FirstName, LastName) VALUES (hibernate_sequence.nextval, ?, ?) returning ID into :nhIdOutParam]'

  • @Kimmie_78
    @Kimmie_78 2 ปีที่แล้ว

    Im getting a myConfiguration.Configure error

  • @venkatsingri7670
    @venkatsingri7670 10 ปีที่แล้ว

    I did the same thing What you done but getting error likre you need to find Configuration.cs to view the source for the current call stack frame.
    and after that
    An unhandled exception of type 'System.TypeInitializationException' occurred in NHibernate.dll
    Additional information: The type initializer for 'NHibernate.Cfg.Environment' threw an exception.

    • @digioz
      @digioz  10 ปีที่แล้ว

      Try downloading the sample project linked to in the description of the video and see what you have forgotten.

  • @digioz
    @digioz  11 ปีที่แล้ว

    That's what this video is all about. Unless you are looking to do something else with NHibernate that wasn't covered here.

  • @liuxitan5003
    @liuxitan5003 7 ปีที่แล้ว

    it is very good and helpful.

  • @jayaprakashmuthugopal1895
    @jayaprakashmuthugopal1895 8 ปีที่แล้ว

    Great tutorial.

    • @digioz
      @digioz  8 ปีที่แล้ว

      +Jayaprakash Muthugopal Glad you found it useful Jayaprakash.

  • @lucas-duskydots
    @lucas-duskydots 8 ปีที่แล้ว

    I use NHibernate for many years, but now in my aplication error with session managment, could i get you email for contact you?

    • @digioz
      @digioz  8 ปีที่แล้ว

      +Lucas Henrique Freitas Go ahead and post a message on our message board at digioz.com/forum/ with a detailed description of your problem and error message. We can take a look at it there.

  • @JorgeFranciscoGil
    @JorgeFranciscoGil 8 ปีที่แล้ว

    Good tutorial, thank you very well

    • @digioz
      @digioz  8 ปีที่แล้ว

      +Jorge Francisco Gil You are very welcome.

  • @memd777
    @memd777 5 ปีที่แล้ว

    man I don;t like XML config shit... is there a better option than this????

  • @JorgeFranciscoGil
    @JorgeFranciscoGil 8 ปีที่แล้ว

    thank you :)... you've got use nhibernate + oracle?

    • @digioz
      @digioz  8 ปีที่แล้ว

      +Jorge Francisco Gil It's actually pretty straight forward. Take a look at this blog entry: nhbwithoracle.blogspot.com/

  • @rajarajan5455
    @rajarajan5455 8 ปีที่แล้ว

    Yah Great Demonstration.

    • @digioz
      @digioz  8 ปีที่แล้ว

      +Raja Rajan Glad you liked it.

  • @tirumalarajasekharadari9422
    @tirumalarajasekharadari9422 3 ปีที่แล้ว

    Hi, Thanks for the tutorial and this was very helpful. Can you please guide me for all the CRUD operation.

  • @arianitonline8748
    @arianitonline8748 8 ปีที่แล้ว

    more videos about NHibernate, please

    • @digioz
      @digioz  8 ปีที่แล้ว +1

      Will do, time permitting.

  • @zedx7797
    @zedx7797 9 ปีที่แล้ว

    That´s a nice Tutorial.
    Could you make more of this for NHibernate?

    • @digioz
      @digioz  9 ปีที่แล้ว +1

      +ZedX Sure, I will add this to my list. Thanks for your support.

    • @zedx7797
      @zedx7797 9 ปีที่แล้ว

      +DigiOz Multimedia And I like, that you use WFA instead of Console Applications.

    • @digioz
      @digioz  9 ปีที่แล้ว

      +ZedX Yeah, I am not a big fan of Console Applications. :)

    • @zedx7797
      @zedx7797 9 ปีที่แล้ว +1

      +DigiOz Multimedia I don't like them, too^^

  • @barnevernet8382
    @barnevernet8382 10 ปีที่แล้ว

    Thanks a lot for tutorial

    • @digioz
      @digioz  10 ปีที่แล้ว

      You are very welcome.

  • @nguyentim6114
    @nguyentim6114 6 ปีที่แล้ว

    Thanks you very much.

  • @pricillawang
    @pricillawang 10 ปีที่แล้ว

    The Source Code file is malicious and Chrome has blocked it..

    • @digioz
      @digioz  10 ปีที่แล้ว +1

      That's actually a false positive. Chrome just doesn't like all the executables and dlls in the bin folder. I have created a version of the zip file with no exe or dll in it, which you can find here: d3z.co/TtQS2m5b
      Keep in mind though that you will have to find and download the missing dlls on your own with this version.

  • @digioz
    @digioz  11 ปีที่แล้ว

    I see what you mean. There is no installation for NHibernate. All you have to do is to download and reference the NHibernate DLL Library, which I have already included in the sample code in the video description above. Give that a try and let me know if it helps.

  • @ferhatdemir2713
    @ferhatdemir2713 8 ปีที่แล้ว

    copy paste :@

    • @digioz
      @digioz  8 ปีที่แล้ว

      You can always grab the source code from here and copy and paste from that: www.digioz.com/downloads/tutorials/NHibernateTutorialPart1.zip