Facebook   Twitter    e-mail newsletter    YouTube    RSS Feed    Android App    iPhone and iPad App     BlackBerry App    


Results 1 to 2 of 2

Thread: Learning nhibernate...

  1. #1

    Default Learning nhibernate...

    I once played around with llblgen pro, I liked the table columns intellisense, helps when you can't remember the column names of tables with many columns.
    Is nhibernate also powerful and useful, does it help to speed up development?

  2. #2

    Default

    Oh. God. No.


    If you must, use Fluent nHibernate. But I would avoid it in general. Plain nHibernate has a really irritating system of using XML to describe relationships etc. which shows errors only at runtime. I found it a real pain to use, and every database schema change broke loads of things... so unless you have an established and unchanging DB schema, don't use it.

    Documentation is not great because things change between versions and very few documents state which version they refer to...

    Do not even begin to think about using stored procedures (instead of the queries nHibernate creates) unless you have huge patience and several weeks worth of time and beer.

    Also - nHibernate does not generate the boring bits for you (unlike llbgen) - you have to manually create loads of files.

    If you want to learn something, look at Dapper, and extend it - http://code.google.com/p/dapper-dot-net/ or if you prefer generated code, Codesmith + NetTiers is decent.
    Last edited by scudsucker; 18-07-2012 at 12:06 PM.

Similar Threads

  1. Learning 3D in XNA
    By roguemat in forum Software and Web Development
    Replies: 5
    Last Post: 22-06-2011, 03:04 PM
  2. Learning C#
    By FarligOpptreden in forum Software and Web Development
    Replies: 4
    Last Post: 15-07-2009, 09:42 PM
  3. Learning VB.NET
    By AcidRaZor in forum Software and Web Development
    Replies: 5
    Last Post: 15-07-2009, 07:22 PM
  4. Learning Web Development
    By gsmart1@mweb.co.za in forum Software and Web Development
    Replies: 10
    Last Post: 05-08-2008, 03:45 PM
  5. Learning .NET
    By Russell S in forum Software and Web Development
    Replies: 4
    Last Post: 02-05-2007, 10:11 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •