Class SqlArchiveProvider
Archive provider using the "archiv" table
Inheritance
System.Object
SqlArchiveProvider
Implements
Namespace: Simplic.Framework.Extension
Assembly: Simplic.Framework.Extension.dll
Syntax
public class SqlArchiveProvider : object, IArchiveProvider
Methods
| Improve this Doc View SourceGetBlob(Guid)
Get a blob from the archive and return as byte-array
Declaration
public byte[] GetBlob(Guid blobGuid)
Parameters
Type | Name | Description |
---|---|---|
Guid | blobGuid | Id of the blob |
Returns
Type | Description |
---|---|
System.Byte[] | Byte-array containing the blob |
SetBlob(Guid, Byte[])
Save blob in the archive
Declaration
public void SetBlob(Guid blobGuid, byte[] blob)
Parameters
Type | Name | Description |
---|---|---|
Guid | blobGuid | Unique id of the blob |
System.Byte[] | blob | Blob as byte array |