如何在NHibernate的地图图像类型? [英] How to map Image type in NHibernate?
本文介绍了如何在NHibernate的地图图像类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的SQL Server 2000数据库类型的图片列。我怎样才能将它映射到NHibernate的?
I have at my SQL Server 2000 Database a column with type Image. How can I map it into NHibernate?
推荐答案
我们使用BinaryBlob上的映射配置文件,和字节[]。
We used BinaryBlob on the mapping config file, and byte[] on the property.
这篇关于如何在NHibernate的地图图像类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文