NHibernate has a "开发者_JAVA百科Serializable" type
<property name="PropertyName" column="ColumnName" type="**Serializable**" />
Is there a built in type for this in Fluent NHibernate?
Something like
Map(x => x.PropertyName).CustomType<**SerializableType**>();
??
Map(c => c.PropertyName).CustomType("serializable");
Map(c => c.PropertyName).CustomType<NHibernate.Type.SerializableType>()
seems to do it
精彩评论