Can a Linq query retrieve BLOBs from a Sql Database?

Question :

Can a Linq query retrieve BLOBs from a Sql Database?,

Answer :

Can a Linq query retrieve BLOBs from a Sql Database?
And how do they come out?

,

LINQ-To-SQL classes create properties of type System.Data.Linq.Binary for all binary and varbinary fields in SQL-Server. The Binary type has a .ToArray() method that returns a byte[], and its constructor can take a byte[].

Older versions of SQLMetal generated properties of type byte[], but the problem with these was that they failed in any joins. I think that’s the main reason they replaced it with the IEquatable Binary type.

Read More  Ant build scripts, antcall, dependencies, etc

That’s the answer Can a Linq query retrieve BLOBs from a Sql Database?, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you