03
Jul
09

What’s the difference between LinqToSQL and NHibernate?

LinqToSql tries to do what you want. NHibernate tries to do what you tell it to do. BIG difference, as you can see from the following snippet:

linqtosql

what I do expect to happen here is userToPersist alone being saved in database after SubmitChanges. What happens instead is userToPersist AND user being saved.

Hundreds and hundreds of future mapping files to write aren’t gonna move me away a single step from NH until THIS is what i get from competitors…

Advertisement

0 Responses to “What’s the difference between LinqToSQL and NHibernate?”



  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.