SimpleDB2 is an example of using dbc2_cache_overview. The actual cases of using are guided in http://www.nettention.com/sample. It is recommended for you to learn 1.4 DB cache ver.2 Basic Usage first for better understanding of the sample codes.
First, install Creating a sample database.
Then you need build for the sample sources.
The sample sources are included in <Installed folder>/ProudNet/Sample/SimpleDB.
When you build the sample sources, their executable files get generated in <Installed folder>/ProudNet/Sample/bin as SimpleDBClient and SimpleDBServer.
When needed, make edits on the sample sources. All it takes is to correct g_DbmsConnectionString from the server source.
When the sample sources are properly built, start the server.
Run the client when the server starts. The client is CUI application program in the sample sources but in the real cases, DB cache client gets included in the game server.
The client program shows the process of loading gamer data after connecting to DB cache server, creating a playable character, adding an item, editing properties, deleting a character or an item, release loading and etc. at each time you click on [Run] button. To understand each process properly, please take a closer look at the routines related to client in the sample sources.
Please create database instance named ProudDB2-Test first. If you are not familiar with SQL Server please contact with Nettention Technical Support.
Create DB Schema as running .sql files in <Installed folder>/ProudNet/Sample/db-schema folder
Please refer to Creating a sample database .