在Nhibernate hbm.xml文件中。在byte []类型中使用什么 [英] In Nhibernate hbm.xml file .what to use in byte[] type

查看:179
本文介绍了在Nhibernate hbm.xml文件中。在byte []类型中使用什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在hbm.xml中定义 byte []



我在asp中使用nhibernate。 net



i必须将pdf文件保存到sqlserve中

数据库字段类型在sqlserver = varbinary(MAX)




asp.net中的
我可以在 byte []





在probty中的hbm.xml文件中使用什么???



谢谢

how to define in byte[] in hbm.xml

I am using nhibernate in asp.net

i have to save pdf file into sqlserve
database fields type is in sqlserver = varbinary(MAX)


in asp.net i can retrive in byte[]


what to use in hbm.xml file in propety???

thanks

推荐答案

以下CP文章将向您介绍如何将NHibernate与ASP.NET集成: ASP.NET的最佳实践,第1.2版。[ ^ ]



下载样本,浏览文章,学习并试用!
Following CP article will explain you on how to integrate NHibernate with ASP.NET: NHibernate Best Practices with ASP.NET, 1.2nd Ed.[^]

Download the sample, go through article, learn and try out!


这篇关于在Nhibernate hbm.xml文件中。在byte []类型中使用什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆