Initialization
How to initialize ESave.
Remember to use the Esper.ESave
namespace when scripting.
Initialize
Initialization is required for ESave to work properly. The Initialize
method does a lot of things—the most important one being establishing the database connection.
ESave.Initialize();
This method returns true if ESave was successfully initialized. False is returned otherwise.
You can check if ESave is already initialized with ESave.IsInitialized
.
Terminate
The Terminate
method disconnects from the database. It's recommended to use this method when the application or play mode is exited.
ESave.Terminate();
This method returns true if the database connection was successfully terminated. False is returned otherwise.
Last updated