How do I get fluent nhibernate to create a varbinary(max) field in sql server

后端 未结 6 577
臣服心动
臣服心动 2020-12-06 17:00

How can I get fluent nhibernate to create a varbinary field in a sql server 2005 table that uses a field size of varbinary(max)? At the moment I always get a default of varb

6条回答
  •  星月不相逢
    2020-12-06 17:31

    First off, I (annoyingly) put the map file into the core project rather than the data project.

    I still couldn't get it to work with a map file, but i wrote an xml file instead, writing the file length in - thanks for that Dan

     
     
     
     
     
    

提交回复
热议问题