Here are the naming strategies for the NHibernate access attribute.

  • 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
[Id(Column = “id”, Name = “Id”, 
Type = “Int32”, UnsavedValue = “0”,
Access = “nosetter.camelcase-underscore”),
Generator(1, Class = “native”)]