Skip to end of metadata
Go to start of metadata

From the client side, we can create a client connection with:

    using (IStorageEngine engine = STSdb.FromNetwork("localhost", 7182))
        ITable<int, string> table = engine.OpenXTable<int, string>("table");
        for (int i = 0; i < 100000; i++)
            table[i] = i.ToString();

From the server side, we can start the server with:

    using (IStorageEngine engine = STSdb.FromFile("test.stsdb4"))
        var server = STSdb.CreateServer(engine, 7182);
        //server is ready for connections

The created server instance will listen on the specified port and receive/send data from/to the clients.

NOTE: With client/server mode the database does not support direct user tables – all created tables are in portable mode (raw or via transformers).

Transactions    Go to Home    Heap

  • No labels