Fluent: Table name different from entity name

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2010-03-25T15:13:55Z Indexed on 2010/03/25 15:33 UTC
Read the original article Hit count: 348

Filed under:
|
|

I am trying to use the automapping feature of Fluent with nHinbernate to map a class with a different name than the table itself is name.

(This is purely for stylistic reasons we have a class named Foo which contains an object named Bar but the table name is FooBar. We would rather not have a property Foo.FooBar.)

I can't find anything detailing how to give Fluent a clue on this change.

© Stack Overflow or respective owner

Related posts about nhibernate

Related posts about fluent-nhibernate