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:

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?”