Could you please describe us what is your scenario, what you want to achieve and why you want to use Win32 API?
Telerik Data Access
is using T-SQL to retrieve the data from the database whether it is varbinary(max)
and etc. Though Telerik Data Access
provides a special support for working with varbinary(max)
column(I assume that with FILESTREAM you mean varbinary(max)
column) and uses a special type BinaryStream
that is used to expose a stream around a database binary column.
Since this type of columns can contain a gigabytes of data, the idea behind BinaryStream
type is that you can read or write the data in chunks. The Read
method of the BinaryStream
reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. Thus the information from the database is loaded to the client machine in portions instead of loading all the information in the cache. Similarly the Write
method writes a sequence of bytes to the current stream and advances the current position within the stream by the number of bytes written.
I hope that helps.
OpenAccess ORM is now Telerik Data Access
. For more information on the new names, please, check out the Telerik Product Map