I have an automapping override with the following:

mapping.Component(x=>x.Address, m=>
  {
       m.Map(x=>x.StreetName).Length(75);
       m.Map(x=>x.City).Length(20);
  });

When I export the mappings to an hbm, the components have the property/
column definitions, but the columns only have the name:

<column name="StreetName"/>

I was expection to see

<column name="StreetName length=75/>

I am using the Schema Export to create the database, and being able to
set the column lengths in components would be helpful.

Am I missing a step somewhere?

Chuck

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to