SisoDb now lets you query without transactions

Before v2.0 of SisoDb (http://sisodb.com) you could only query using an UnitOfWork. All UnitOfWorks are transactional and in some cases you might want to perform queries in the same transaction as you are doing inserts, updates and deletes in, but if you just want to query you should use the new QueryEngine class.

using(var qe = database.CreateQueryEngine())
{
    customers = qe.Where<Customer>(c => c.Lastname == "Andersson");
}

//Daniel

One thought on “SisoDb now lets you query without transactions

  1. Pingback: Query without transactions « Blog for SisoDb

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s