Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. NHibernate??

NHibernate??

Scheduled Pinned Locked Moved C#
beta-testingquestioncode-review
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jchigg2000
    wrote on last edited by
    #1

    Does anyone have experience using this? Just wanting to get an overall feel of how people feel about this before I jump in head first and end up regretting it. Any feedback would be greatly appreciated.

    L R M Y 4 Replies Last reply
    0
    • J jchigg2000

      Does anyone have experience using this? Just wanting to get an overall feel of how people feel about this before I jump in head first and end up regretting it. Any feedback would be greatly appreciated.

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Object Relational Mapping [^]is rough so you probably will regret it but the other options are no better. Also look at the Castle Project's[^] Active Record which uses NHibernate Also if .NET 3.5 is in your future I see people here on CodeProject seem to like LINQ so you might check that out, there is a forum for it LINQ and .NET 3.5

      led mike

      1 Reply Last reply
      0
      • J jchigg2000

        Does anyone have experience using this? Just wanting to get an overall feel of how people feel about this before I jump in head first and end up regretting it. Any feedback would be greatly appreciated.

        R Offline
        R Offline
        Roger Alsing 0
        wrote on last edited by
        #3

        NHibernate have a huge userbase and is a very competent mapper. As a mapper it is _far_ supperior to LinqToSql. However, the tool support and nice linq support in LinqToSql is way better. (The NH team is working on their Linq support, so it will come eventually) So if you want some RAD with a very basic DB, then go LinqToSql. If you have a serious system with a complex db , then use NHibernate. Also, the mindset of using an ORM is way different from "the other ways" When using an ORM, your Domain Model is the core of your app. The DB is pretty much just a persistent store for your objects to sleep in when not used. (thus "Hibernate") The whole idea is to be able to work with objects in an object oriented language. Which probably was the main reason you started to use an object oriented language from the start. It also tend to be a somewhat heated debate, some will claim that working with objects is madness and not very good at all when performing business operations etc. (some might even pull data out of their db and transform it via some (mapping info/declaration) into a new (persistent) structure and apply dirty tracking and other infrastructural features on this structure and claim that they are NOT doing ORM and that ORM is bad ;-))

        Blog: http://www.rogeralsing.com Projects: http://www.puzzleframework.com

        modified on Wednesday, April 9, 2008 4:07 PM

        1 Reply Last reply
        0
        • J jchigg2000

          Does anyone have experience using this? Just wanting to get an overall feel of how people feel about this before I jump in head first and end up regretting it. Any feedback would be greatly appreciated.

          M Offline
          M Offline
          Mark Churchill
          wrote on last edited by
          #4

          NHibernate is an excellent library and is very robust and flexible. We use it as the core of our data layer toolkit for these reasons. It can be a bit intimidating for a new user though. If you decide to go with vanilla NHibernate you should fix whether you are going with 1.x or 2.x - as the new 2.0 beta has introduced quite a few breaking changes to the API - especially with queries.

          Mark Churchill Director Dunn & Churchill Free Download:
          Diamond Binding: The simple, powerful, reliable, and effective data layer toolkit for Visual Studio.

          1 Reply Last reply
          0
          • J jchigg2000

            Does anyone have experience using this? Just wanting to get an overall feel of how people feel about this before I jump in head first and end up regretting it. Any feedback would be greatly appreciated.

            Y Offline
            Y Offline
            Yitzchok Dev
            wrote on last edited by
            #5

            You can also try out SubSonic at http://subsonicproject.com/[^]

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups