BlobService.Insert Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Overloads

Insert(Blob, Stream, Boolean) Inserts a Blob. The binary data is read from the specified input stream and stored in the repository.
Insert(FileStream, Boolean) Creates a Blob from the data in the specified input stream and stored in the repository.
Insert(String, Boolean) Creates a Blob from the data in the specified file.

Insert(Blob, Stream, Boolean)

Inserts a Blob. The binary data is read from the specified input stream and stored in the repository.

public static Blob Insert(Blob blob, Stream input, bool auth = true)

Parameters

blob
Blob
input
System.IO.Stream
auth
System.Boolean

Returns

Blob

The inserted .

Insert(FileStream, Boolean)

Creates a Blob from the data in the specified input stream and stored in the repository.

public static Blob Insert(FileStream input, bool auth = true)

Parameters

input
System.IO.FileStream
auth
System.Boolean

Returns

Blob

The inserted .

Insert(String, Boolean)

Creates a Blob from the data in the specified file.

public static Blob Insert(string path, bool auth = true)

Parameters

path
System.String
auth
System.Boolean

Returns

Blob

The inserted .