0

I know the older version(s) of nHiberate at first did not support MS SQL varbinary w/Filestream enabled; however, in their more recent documentation they noted that support for it was added. I cannot find any examples of how to use it. Does anyone have any examples of how to implement this?

update: I am using "fluent" nhib**

Thanks in advance!

spyter
  • 727
  • 1
  • 9
  • 25
  • possible duplicate of [Persisting Blob Streams with NHibernate](http://stackoverflow.com/questions/498712/persisting-blob-streams-with-nhibernate) – Najera May 09 '14 at 19:22
  • I've posted an answer on another question http://stackoverflow.com/a/33636478/2690296 – Lee Nov 10 '15 at 18:00

1 Answers1

0

What do you mean? NHibernate does not know if FILESTREAM is enabled or not, this a SQL Server internal thing... You just have to set the property type in your mapping as BinaryBlob.

Ricardo Peres
  • 13,724
  • 5
  • 57
  • 74