[fluent-nhib] Re: Having trouble with Dynamic components

2011-07-09 Thread Oliver Friedrich
Opening this old thread because the issue still exists with version 1.2.0.712. This mapping works wonderfully with plain old NHibernate xml mapping: Doing the *same *thing with Fluent works, but providing the property names *dynamically *throws: DynamicComponent( x =>

[fluent-nhib] Re: Schema Update doesn't apply to changed field lengths.

2011-07-09 Thread Oliver Friedrich
Hi Jon! Just for quick reference for future searchers: it seems that this is the *expected behaviour*. SchemaUpdate only performs *non-destructive* UPDATEs of table schemes - changing the length of a field type does not seem to be one of them. That's why SchemaUpdate generates nothing in this

[fluent-nhib] Re: DynamicComponent mapping question

2011-07-09 Thread Oliver Friedrich
Two years later I'm using this which works just fine: this.DynamicComponent(x => x.CustomFields, c => { c.Map("TestField1").CustomType(typeof(DateTime)); }); Cheers, Oliver -- You received this message because you are subsc