ILite |
The ILiteStorageTFileId type exposes the following members.
| 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(ExpressionTDelegate) | ||
| 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 |