Entity Framework 4: Image Type?

I am creating an entity data model for a document. I want to save the document body as a BLOB - the document bodies will be larger than max varbinary. As I understand it, I need to create a type property Imageto store the body of the document.

Here is my problem: the types listed in the Properties panel do not include the type Image:

enter image description here

Does EF4 Recognize Type Image? If so, how can I create an entity property of type Image? Thank you for your help.

+3
source share
2 answers

Image , varbinary(MAX), 2 ( , varbinary(MAX) ), , , - SQL Server 2008 filestream.

Entity Framework ( EF, )

+7

varbinary(max) Image. varbinary(max) 2 ^ 31 - 1 = > 2 . . Image , , SQL-. Binary Max.

Btw. EF .

+2

All Articles