File Database Provider Class
File Database Provider for DWSIM, based on LiteDB.
Definition
Namespace: DWSIM.FileStorage
Assembly: DWSIM.FileStorage (in DWSIM.FileStorage.dll) Version: 10.0.0.0 (10.0.0.0)
Assembly: DWSIM.FileStorage (in DWSIM.FileStorage.dll) Version: 10.0.0.0 (10.0.0.0)
C#
public class FileDatabaseProvider : IFileDatabaseProviderVB
Public Class FileDatabaseProvider
Implements IFileDatabaseProvider- Inheritance
- Object FileDatabaseProvider
- Implements
- IFileDatabaseProvider
Constructors
Properties
| IsDatabaseLoaded | Checks if the database is loaded. |
Methods
| CheckIfExists | Checks if the given file exists in the database. |
| CreateDatabase | For internal use only. |
| DeleteFile | Removes a file from the database. |
| ExportDatabase | Exports the embedded database to a file. |
| ExportFile(String, MemoryStream) | |
| ExportFile(String, String) | Exports a file/item from the database to a file in the filesystem. |
| GetDatabaseObject | |
| GetFileAsEtoBitmap | Returns a stored image file as an Eto.Drawing.Bitmap object. |
| GetFileAsImage | Returns a stored image file as a System.Drawing.Image object. |
| GetFileAsText | Returns the file contents as plain text. |
| GetFiles | Gets a list of all files in the database. |
| GetFileStream | Gets the contents of a file as a memory stream. |
| GetSizeinKB | Gets the database size in kilobytes. |
| LoadDatabase | For internal use only. |
| PutFile(String) | Stores a file in the database. |
| PutFile(Stream, String) | Stores a file in the database. |
| PutFile(String, String) | Stores a file in the database. |
| ReadStream | |
| ReleaseDatabase | For internal use only. |
Fields
Extension Methods
| GetEnumNames | (Defined by General) |
| IsValidDouble | (Defined by General) |