In our database sometimes we have column names which are actually the database keywords . If we want to access such columns from Nhibernate session , it throws error message “Incorrect syntax near the word :’SOME DB KEYWORD’
Mapping :Before :
Keeping database base reserve keyword in “[ ]” brackets will fix the error message.
You can have look on all my previous Nhibernate posts