File Storages
File storage is a configuration item that describes where and how files are stored.
File storage could be assigned to Entity Field if its type set to FileLink (and original type is int).
File Storage properties
Section |
Name |
Description |
Basic |
Name |
Name of the Notifier. Used to create Notifiers enumerator. Then specified settings could be accessed using this enumerator (see example below). |
Basic |
Type |
There are four types: FileSystem - store files at file system, DataBase - store files in database, should specify a table AzureBlob - store files at Azure blod storage (you should set up it manually and provide connection of type Azure) Custom - you could create your own implementation of file storage. |
Basic |
Settings.Path |
Used for FileSystem type. Specify a folder where to place files. |
Basic |
Settings.Table |
Used for DataBase type. Specify a table where to place files (could be on separate database or even server). |
Basic |
Settings.Connection |
Used for AzureBlob & DataBase type. You should specify a connection of type Azure for Azure blob and simple connection for Database. |
Basic |
Settings.Type |
Used for Custom type. Specify type name (should be machine friendly) to implement own storage implementation in corresponding classes. |
We recommend to create a separate file storage for each field of type file. It will make easier to move files to another storages.
(!) Notice that file information will be added to database (CCSystem.Files table) with any file storage type.
Created with the Personal Edition of HelpNDoc: Generate Kindle eBooks with ease