Open the database and create a simple table

using (IStorageEngine engine = STSdb.FromFile("stsdb4.sys", "stsdb4.dat"))
{
    IIndex<int, string> table = engine.OpenXIndex<int, string>("table");

    for (int i = 0; i < 1000000; i++)
    {
        table[i] = i.ToString();
    }

    table.Flush();
    engine.Commit();
}

Last edited Aug 17, 2013 at 10:44 AM by SvetoslavMateev, version 1

Comments

No comments yet.