Wednesday, February 29, 2012

Fluent NHibernate tip of the day: Don't use table names that represent other database objects

But if you have to, you can escape the table name using the back-tick (when you create the mapping). I found the answer on stackoverflow. In general I think you should rename your table instead of using the back-tick. However, sometimes you have to work with legacy databases and there's no other choice.

No comments: