BTDB.KVDBLayer.InMemoryKeyValueDB.StartTransaction C# (CSharp) Метод

StartTransaction() публичный Метод

public StartTransaction ( ) : IKeyValueDBTransaction
Результат IKeyValueDBTransaction
        public IKeyValueDBTransaction StartTransaction()
        {
            return new InMemoryKeyValueDBTransaction(this, LastCommited, false, false);
        }

Usage Example

Пример #1
0
 public void EmptyTransaction()
 {
     using (IKeyValueDB db = new InMemoryKeyValueDB())
     {
         using (var tr = db.StartTransaction())
         {
             tr.Commit();
         }
     }
 }
All Usage Examples Of BTDB.KVDBLayer.InMemoryKeyValueDB::StartTransaction