Repository Class |
public class Repository
The Repository type exposes the following members.
| Name | Description | |
|---|---|---|
| Repository | Initializes a new instance of the Repository class |
| Name | Description | |
|---|---|---|
| AIConfiguration | Current AI configuration (providers, tools, agents). Automatically reloaded if the configuration file is modified (no web server recycle required). | |
| AIConfigurationPath | AI Configuration file path | |
| AIPromptsFolder | Folder for AI system prompt files (Settings\AI\Prompts). | |
| AISamplePromptsFolder | Folder for AI sample prompts files (Settings\AI\Prompts\Samples). | |
| AIScriptsFolder | Folder for AI tool execution script files (Settings\AI\Scripts). | |
| AISkillsFolder | Folder for AI skill instruction files (Settings\AI\Skills). | |
| AssembliesFolder | Assemblies folder | |
| Configuration | Current configuration | |
| ConfigurationPath | Configuration file path | |
| CultureInfo | Default CultureInfo | |
| DefaultRepository | Name of the default relative repository directory, used as a fallback when no repository path is configured (e.g. under wwwroot for Azure deployments) | |
| Devices | List of OutputDevice in the repository | |
| DevicesEmailFolder | Devices Email folder | |
| DevicesFileServerFolder | Devices File Server folder | |
| DevicesFolder | Devices folder | |
| DevicesSharePointFolder | Devices SharePoint folder | |
| DynamicsFolder | Dynamic assemblies folder: holds the source .cs files (shared by all runtimes). Compiled assemblies go to the Net/Win sub-folders. | |
| DynamicsNetFolder | Dynamic assemblies folder for the .NET (non-Windows) runtime: holds the compiled assemblies. | |
| DynamicsWinFolder | Dynamic assemblies folder for Windows applications: holds the compiled assemblies. | |
| ExtensionsNetFolder | Extension assemblies built against SealLibrary (Web Server, .NET runtime), loaded at the repository initialization. | |
| ExtensionsWinFolder | Extension assemblies built against SealLibraryWin (Windows applications), loaded at the repository initialization. | |
| FlatpickrShortDateFormat | Short Date format for the Flatpickr date/time picker | |
| FlatpickrShortDateTimeFormat | Short Date Time format for the Flatpickr date/time picker | |
| Instance | A general static instance of the repository | |
| IsInstanceCreated | True if the static repository Instance has been created | |
| JSTranslations | Current JavaScript translations | |
| LicenseText | License text | |
| LogsFolder | Logs folder | |
| MomentJSShortDateFormat | Short Date format for MomentJS | |
| MomentJSShortDateTimeFormat | Short Date Time format for MomentJS | |
| NotificationEmailDevice | Get the first email device used for notification | |
| PersonalFolder | SpecialsFolder Personal folder | |
| ProductVersion | Product version: only the 3 first numbers are used (e.g. 10.1.0), the revision is always 0 | |
| RazorCacheFolder | Razor cache parent folder. Compiled assemblies are stored in the Net/Win sub-folders. | |
| RazorCacheNetFolder | Razor cache folder for compiled assemblies for the .NET (non-Windows) runtime. | |
| RazorCacheWinFolder | Razor cache folder for compiled assemblies for Windows applications. | |
| ReportsFolder | Reports folder | |
| RepositoryPath | Current path | |
| RepositoryTranslations | Current repository translations | |
| RepositoryTranslationsPath | Repository translations file name | |
| ResultAllFormats | All report formats available | |
| ResultAllowedFormats | Result report formats allowed by the configuration | |
| SchedulesFolder | SpecialsFolder Schedules folder | |
| SealTaskSchedulerPath | The SealTaskScheduler executable full path | |
| Security | Current security | |
| SecurityFolder | Security folder | |
| SecurityPath | Security file path | |
| SecurityProvidersFolder | Security Providers folder | |
| SettingsFolder | Settings folder | |
| Sources | List of MetaSource in the repository | |
| SourcesFolder | Sources folder | |
| SpecialsFolder | SpecialFolders folder | |
| SubReportsFolder | SubReports folder | |
| TableTemplatesFolder | Table templates folder | |
| TaskTemplatesFolder | Task templates folder | |
| Translations | Current translations | |
| TranslationsExcelPattern | Translations file name pattern | |
| TranslationsPattern | Translations file name pattern | |
| UseSealScheduler | True if the Seal Scheduler is used instead of the Windows Tasks Scheduler | |
| ViewContentFolder | View Content folder (first-party application style sheets; third-party libraries live under the 'lib' folder) | |
| ViewImagesFolder | View Images folder | |
| ViewScriptsFolder | View Scripts folder (first-party application scripts; third-party libraries live under the 'lib' folder) | |
| ViewsFolder | Views folder |
| Name | Description | |
|---|---|---|
| CheckDynamicCompilation | Check the C# code of a dynamic assembly without saving it: returns the errors and the warnings located in the code | |
| CheckFolders | Check repository folders and create them if necessary | |
| Create | Creates a basic repository from the configured repository path, the first one created becomes the default Instance | |
| Create(String) | Creates a basic repository from a given path. The default Instance is not assigned: several repositories can be handled by the same process. | |
| CreateDynamicCompilation | Create the compilation of a dynamic assembly from the C# code of its file (name is the file name without extension). Used to build the assembly at startup and to check the syntax in the editor, so both give the same result. | |
| CreateFast | Creates a basic repository: properties are shared or cloned for performance reasons | |
| DecryptValue | Decrypt a value using the key name and the encryption mode | |
| EncryptValue | Encrypt a value using the key name and the encryption mode | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| FindReport | Find and load report form its identifier | |
| FindRepository | Find the current repository path (normally defined in the .config file) | |
| FindRepositoryTranslation | Find a repository translation from a culture, context, instance and reference | |
| FlushTranslationUsage | Debug helper to trace unknown translations and translation usage (Debug builds only) | |
| GetApplicationKey | Get an application key or password | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetInstalledTranslationLanguages | Returns the list of two-letter language codes available in the translation files | |
| GetPersonalFolder | Returns the personal folder path of a user | |
| GetPersonalFolderName | Returns the personal folder name of a user | |
| GetRecycleBinFolder | Returns the recycle bin folder path for a user (PersonalFolder/{user}/BIN), creating it if needed | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Init | Init the repository from a given path | |
| LoadRepositoryTranslationsFromDataTable | Load repository translations from a data table having columns: Context,Instance,Reference,en,fr,etc. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| MustReload | True if the configuration or security file has been modified | |
| PurgeRecycleBin | Deletes recycle bin items older than Configuration.RecycleBinDays. Items are named '{yyyyMMddHHmmss}_{originalName}', so the deletion date is read from the file name prefix. If RecycleBinDays is 0, items are kept forever (no purge). | |
| ReloadAIConfiguration | Forces an AI configuration reload | |
| ReloadConfiguration | Forces a configuration reload | |
| ReloadInstance | Force a reload of the repository Instance | |
| ReloadRepositoryTranslations | Force reload of repository translations | |
| ReloadSecurity | Forces a security reload for Web | |
| ReplaceRepositoryKeyword | Replace the repository keywords in a string | |
| RepositoryTranslate(String, String, String) | Translate a reference text in a repository context with the current culture | |
| RepositoryTranslate(String, String, String, String) | Translate a reference text in a repository context | |
| SendNotificationEmail | Send an Email using the first Notification Email Device. | |
| SetCultureInfo | Set culture from a name, returns true if the change is done. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| Translate(String, String) | Translate a reference text in a context | |
| Translate(String, String, String) | Translate a reference text | |
| TranslateCategory | Translate a Category | |
| TranslateCategoryPath | Translate a full category path | |
| TranslateColumn | Translate an Element | |
| TranslateColumnDescription | Translate the description of a Column (semantic layer) | |
| TranslateConnection | Translate a Connection | |
| TranslateConnectionDescription | Translate the description of a Connection (semantic layer) | |
| TranslateDevice | Translate a Device | |
| TranslateEnumDescription | Translate the description of an Enumerated list (semantic layer) | |
| TranslateFileName | Translate a file name | |
| TranslateFolderName | Translate a folder name | |
| TranslateFolderPath | Translate a full Folder Path | |
| TranslateJoinDescription | Translate the description of a Join (semantic layer) | |
| TranslateReport | Translate a reference text in a Report context | |
| TranslateReportDisplayName | Translate a report display name | |
| TranslateReportToJS | Translate a reference text in a Report context for JavaScript use | |
| TranslateTableDescription | Translate the description of a Table (semantic layer) | |
| TranslateWeb | Translate a reference text in a Web context | |
| TranslateWebJS | Translate a reference text in a WebJS context |
| Name | Description | |
|---|---|---|
| AssembliesLoaded | True is Assemblies have been loaded. Can be set to true at startup to disable Assemblies load. | |
| CommonRestrictionKeyword | Keyword prefix used in the SQL to define a common restriction | |
| CommonValueKeyword | Keyword prefix used in the SQL to define a common value | |
| CoreInstallationSubDirectory | Name of the sub-directory containing the core installation binaries | |
| DynamicAssembliesLoaded | True is Dynamic Assemblies have been loaded. Can be set to true at startup to disable Dynamic Assemblies load. | |
| EnumFilterKeyword | Keyword used in the SQL of a dynamic enumerated list to specify the filter typed by the user | |
| EnumValuesKeyword | Keyword prefix used in the SQL of a dynamic enumerated list to specify the values selected in another enumerated list (dependencies) | |
| ExtensionsShadowFolderName | Name of the sub-folder of an Extensions folder holding the shadow copies of the extension assemblies | |
| JoinAutoName | Name used for a join having an automatic name | |
| LicenseInvalid | True if a license file is present but invalid | |
| PathLock | Static lock object used to synchronize repository initialization and result file path generation | |
| ProductAdditionalInfo | Product2 version | |
| RecycleBinFolderName | Name of the recycle bin sub-folder created in each user's personal folder. | |
| RepositoryConfigurationPath | Repository path got from the configuration file | |
| SealConfigurationFileExtension | File extension of the configuration files (devices, schedules) | |
| SealConfigurationMaxWorkingSetKeyword | Name of the key defining the maximum working set in appsettings.json | |
| SealConfigurationRepositoryPathKeyword | Name of the key defining the repository path in appsettings.json | |
| SealConfigurationSectionKeyword | Name of the Seal configuration section in appsettings.json | |
| SealDefaultRepository | Name of the default repository directory created in the common application data folder | |
| SealPersonalRepositoryKeyword | Keyword replaced by the personal folder path of the user | |
| SealReportDesigner | Name of the Report Designer executable | |
| SealReportDisplayNameKeyword | Keyword replaced by the report display name | |
| SealReportDisplayNameKeyword2 | Alternate keyword replaced by the report display name | |
| SealReportFileExtension | File extension of the report files | |
| SealReportShortcutFileExtension | File extension of the report shortcut files | |
| SealReportsRepositoryKeyword | Keyword replaced by the repository Reports folder path | |
| SealRepositoryKeyword | Keyword replaced by the repository root path | |
| SealRootProductName | Root product name | |
| SealServerManager | Name of the Server Manager executable | |
| SealTaskScheduler | Name of the Task Scheduler executable | |
| SealWebPublishTemp | Name of the temporary directory used for the web publication | |
| Tag | Object that can be used at run-time for any purpose | |
| Tag2 | Object that can be used at run-time for any purpose | |
| Tag3 | Object that can be used at run-time for any purpose | |
| UnkownTranslations | List of translations requested but not found (Debug builds only) |