// <summary> /// /// </summary> public void NetworkTest() { if (remoteEngine == null) { DBreezeConfiguration conf = new DBreezeConfiguration() { // DBreezeDataFolderName = @"D:\temp\DBreezeTest\DBR1", DBreezeDataFolderName = @"TestPuppy", //Here must be folder name in protoected database, later we have to take care alternative locations. Storage = DBreezeConfiguration.eStorage.RemoteInstance, }; conf.RICommunicator = new RemoteInstanceCommunicator(); remoteEngine = new DBreezeRemoteEngine(conf); } //using (var tran = remoteEngine.GetTransaction()) //{ // for (int i = 1; i < 100000; i++) // tran.Insert<int, string>("t1", i, "ds" + i); // tran.Commit(); //} using (var tran = remoteEngine.GetTransaction()) { Console.WriteLine(tran.Count("t1")); var row = tran.Select<int, string>("t1", 700); if (row.Exists) Console.WriteLine(row.Value); } }