Repository Methods |
The Repository type exposes the following members.
| 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 |