In hbm mappings I can
<composite-id>
[..]
<key-property name="someStringProperty"
column="somefield"
type="AnsiString"
lenght="8"/>
</composite-id>
How do I do that (setting type and length) in Fluent?
Edit:
I posted this on support.fluentnhibernate.org. I included some modifications to support setting the type to e.g. AnsiString there.
Edit 2:
Today Paul Batum has added support for a textual type and a length in his dev-branch. (See github on the changes.)
This makes it possible to write
CompositeId()
.KeyProperty(
p => p.SomeProp,
k => k.ColumnName("someField").Type("AnsiString").Length(8))