Click or drag to resize

ILiteStorageTFileId Methods

The ILiteStorageTFileId type exposes the following members.

Methods
 NameDescription
Public methodDelete Delete a file inside datafile and all metadata related
Public methodDownload(TFileId, Stream) Copy all file content to a steam
Public methodDownload(TFileId, String, Boolean) Copy all file content to a file
Public methodExists Returns if a file exisits in database
Public methodFind(BsonExpression) Find all files that match with predicate expression.
Public methodFind(ExpressionFuncLiteFileInfoTFileId, Boolean) Find all files that match with predicate expression.
Public methodFind(String, BsonDocument) Find all files that match with predicate expression.
Public methodFind(String, BsonValue) Find all files that match with predicate expression.
Public methodFindAll Find all files inside file collections
Public methodFindById Find a file inside datafile and returns LiteFileInfo instance. Returns null if not found
Public methodOpenRead Load data inside storage and returns as Stream
Public methodOpenWrite Open/Create new file storage and returns linked Stream to write operations.
Public methodSetMetadata Update metadata on a file. File must exist.
Public methodUpload(TFileId, String) Upload a file based on file system data
Public methodUpload(TFileId, String, Stream, BsonDocument) Upload a file based on stream data
Top
See Also