/
Persisting Data - nHibernate

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

 

 

Related content

Persisting Data - nHibernate
Persisting Data - nHibernate
More like this
Plugin not loading issues
Plugin not loading issues
More like this
Plugin not loading issues
Plugin not loading issues
More like this
Plugin not loading issues
Plugin not loading issues
More like this
MappingFileGenerator
MappingFileGenerator
More like this