Serj Sagan
Serj Sagan

Reputation: 30228

Nhibernate Mapping By Code - Extend Subclass

In the following question/answer, the answer shows how to do an extends="BaseClass" in XML. How do I do the same thing in Mapping By Code?

Upvotes: 1

Views: 423

Answers (1)

Firo
Firo

Reputation: 30813

mapping by code will generate the serialized mappings when adding them to the configuration hence it doesn't need to specify extends explicitly.

Upvotes: 2

Related Questions