ILiteStorageTFileId Interface |
Namespace: Internal.LiteDBAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic interface ILiteStorage<TFileId>
Type Parameters
- TFileId
The ILiteStorageTFileId type exposes the following members.
Methods| | Name | Description |
|---|
 | Delete |
Delete a file inside datafile and all metadata related
|
 | Download(TFileId, Stream) |
Copy all file content to a steam
|
 | Download(TFileId, String, Boolean) |
Copy all file content to a file
|
 | Exists |
Returns if a file exisits in database
|
 | Find(BsonExpression) |
Find all files that match with predicate expression.
|
 | Find(ExpressionFuncLiteFileInfoTFileId, Boolean) |
Find all files that match with predicate expression.
|
 | Find(String, BsonDocument) |
Find all files that match with predicate expression.
|
 | Find(String, BsonValue) |
Find all files that match with predicate expression.
|
 | FindAll |
Find all files inside file collections
|
 | FindById |
Find a file inside datafile and returns LiteFileInfo instance. Returns null if not found
|
 | OpenRead |
Load data inside storage and returns as Stream
|
 | OpenWrite |
Open/Create new file storage and returns linked Stream to write operations.
|
 | SetMetadata |
Update metadata on a file. File must exist.
|
 | Upload(TFileId, String) |
Upload a file based on file system data
|
 | Upload(TFileId, String, Stream, BsonDocument) |
Upload a file based on stream data
|
Top
See Also