Fluent nhibernate 映射到Fluent NHibernate中的可序列化

Fluent nhibernate 映射到Fluent NHibernate中的可序列化,fluent-nhibernate,Fluent Nhibernate,NHibernate具有“可序列化”类型 Fluent NHibernate中是否有内置类型 差不多 Map(x => x.PropertyName).CustomType<**SerializableType**>(); Map(x=>x.PropertyName).CustomType(); ??映射(c=>c.PropertyName).CustomType() 似乎做到了这一点Map(c=>c.PropertyName) 很好!我真傻,我应该试一下,但我想我认

NHibernate具有“可序列化”类型


Fluent NHibernate中是否有内置类型

差不多

Map(x => x.PropertyName).CustomType<**SerializableType**>();
Map(x=>x.PropertyName).CustomType();
??映射(c=>c.PropertyName).CustomType()
似乎做到了这一点

Map(c=>c.PropertyName)

很好!我真傻,我应该试一下,但我想我认为在Fluent项目中有一个等价物。编译但抛出异常@runtime@statichippo-属性的类型是否为
[可序列化]
Map(x => x.PropertyName).CustomType<**SerializableType**>();
Map(c => c.PropertyName).CustomType<NHibernate.Type.SerializableType>()