SqlServerBlobProvider.UploadData Method

Namespace:
Weavy.Core.Providers
Assembly:
Weavy.Core.dll

UploadData(Blob, Stream)

Reads the binary data from the specified input stream and stores it as a blob. After insert blob.Size contains the size of the uploaded file.

public void UploadData(Blob blob, Stream input)

Parameters

blob
Blob

Blob to insert.

input
System.IO.Stream

The input stream from which the data should be read.