Skip to content

Instantly share code, notes, and snippets.

@Molokai
Molokai / InMemoryAdapterWithShimTransactions.cs
Created January 23, 2012 21:57
Quick and dirty implementation of transaction support for InMemoryAdapter
using System;
using System.Collections.Generic;
using Simple.Data;
namespace sykkelbooking.service.tests {
public class InMemoryAdapterWithShimTransactions: InMemoryAdapter, IAdapterWithTransactions, IAdapterTransaction {
public IAdapterTransaction BeginTransaction() {
return this;
}

Keybase proof

I hereby claim:

  • I am molokai on github.
  • I am ingestubdal (https://keybase.io/ingestubdal) on keybase.
  • I have a public key ASBBTEijVejkUXfMAzBsopu0xaT-9FoBmD-zeOumkj762Qo

To claim this, I am signing this object: