You should be able to implement a custom PersistenceServiceApplication class and override the OnServiceStartup method to do this. This code is called when the PersistenceService instance is constructed. Note you must include the assembly name containing your class in the <probeAssemblyName> list in the IdeaBlade.ibconfig for your implementation to be found.
Here’s a sample class, but there’s more information in the Consolidated Help:
public class CustomPersistenceServiceApplication : PersistenceServiceApplication {
public override void OnServiceStartup(object sender, ServiceStartupEventArgs e) {
base.OnServiceStartup(sender, e);
// Custom initialization logic
}
}