4

I have an nhibernate custom type that I would like to map with Fluent NHibernate.

The HBM mapping looks like this.

<property name="DateConvention" access="nosetter.camelcase-underscore" column="date_convention" not-null="true">
  <type name="DataAccess.Types.DateConventionCustomType, Services.DataAccess">
    <param name="type">Services.Data.DateConventionTypeParameter, Services.Data</param>
  </type>
</property>

I have successfully mapped the custom type, but I cannot find a way to configure the parameters on the custom type mapping.

Is there a way to map this using fluent nhibernate ?

1 Answer 1

2

Fluent NHibernate does not expose this capability, but you can use hbm.xml files for the mappings that need it and use ClassMap for the rest.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.