You can use setProperty to specify the database file name created in the Documents directory of the application, on the device or
simulator.
SUPConnectionProfile *cp = [SMP101SMP101DB getConnectionProfile];
[cp setString:@"databaseFile":@"newDatabaseFileName"];
Usage
- Be sure to call this API before the database is
created..
- The database is SQLite; use a database file name like
mydb.db.
- If the device client user changes the file name, he or she
must make sure the input file name is a valid name and path on the client
side.