Friday, March 26, 2010

NHibernate Access Strategies

As I keep forgetting the different options I have to specify how NHibernate should map database columns to properties, this quick reminder to myself:

  • property
  • field
  • field.camelcase
  • field.camelcase-underscore
  • field.pascalcase-m-underscore"
  • field.lowercase-underscore
  • nosetter.camelcase
  • nosetter.camelcase-underscore
  • nosetter.pascalcase-m-underscore
  • nosetter.lowercase-underscore

No comments: