Esempio n. 1
0
 public void ThreadProc()
 {
     using (SoodaTransaction t = new SoodaTransaction())
     {
         for (int i = 0; i < 100; ++i)
         {
             Contact c = new Contact();
             lock (GeneratedKeys)
             {
                 GeneratedKeys.Add(c.GetPrimaryKeyValue());
             }
         }
     }
 }