Note: This is documentation for version 5.4 of Source. For a different version of Source, select the relevant space by using the Spaces menu in the toolbar above
Persisting Data - nHibernate
Unmoderated Content
The content in this section isn't moderated and is added / edited by Source Community members.Â
Many plugins will need to persist data in some manner.
For example, a model may need to persist parameters.
The preferred method of persisting data is NHibernate.
NHibernate is a 3rd party library. Details can be found here:Â http://nhibernate.info/
Simplistically it uses mapping files that provide a way to map between code and an SQL database.
Â
Troubleshooting:
If your changes do not seem to be having an effect, check you have the right version of your plugin loaded.
Column names have a maximum length. If that length is exceeded you will get a cryptic message about a table being unavailable. (request: example)
Column names cannot be from the reserved words list. That list is here:https://firebirdsql.org/refdocs/langrefupd25-reskeywords-full-reswords.html
Â
Â