﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on SQL CE Transaction Handling</title><description>And now I feel like a total idiot.
  
Thanks guys!
</description><link>http://ayende.com/3240/sql-ce-transaction-handling#comment9</link><guid>http://ayende.com/3240/sql-ce-transaction-handling#comment9</guid><pubDate>Mon, 31 Mar 2008 22:15:18 GMT</pubDate></item><item><title>Alex Simkin commented on SQL CE Transaction Handling</title><description>I have added (see Rick's note)
  
  
command.Transaction = tx
  
  
and everything works as expected. Read is waiting for writes to complete until timeout expires.
</description><link>http://ayende.com/3240/sql-ce-transaction-handling#comment8</link><guid>http://ayende.com/3240/sql-ce-transaction-handling#comment8</guid><pubDate>Mon, 31 Mar 2008 22:05:42 GMT</pubDate></item><item><title>The Other Steve commented on SQL CE Transaction Handling</title><description>The thread reading shouldn't see the records that are being written until the write transaction is committed, because it's operating on a different connection.
  
  
</description><link>http://ayende.com/3240/sql-ce-transaction-handling#comment7</link><guid>http://ayende.com/3240/sql-ce-transaction-handling#comment7</guid><pubDate>Mon, 31 Mar 2008 20:28:23 GMT</pubDate></item><item><title>Frans Bouma commented on SQL CE Transaction Handling</title><description>Let's summarize it as: SqlCE is broken at so many levels. ;)
  
  
I mean: in 3.5 they introduced named parameter binding, but ... if you now send a query with anonymous parameters ("?") which works in 3.1, it might not work due to wrong order of binding in CE 3.5.... 
</description><link>http://ayende.com/3240/sql-ce-transaction-handling#comment6</link><guid>http://ayende.com/3240/sql-ce-transaction-handling#comment6</guid><pubDate>Mon, 31 Mar 2008 20:18:13 GMT</pubDate></item><item><title>Lars Wilhelmsen commented on SQL CE Transaction Handling</title><description>What!? It doesn't support Serializable? That is really insane... :-O
  
  
 --larsw
</description><link>http://ayende.com/3240/sql-ce-transaction-handling#comment5</link><guid>http://ayende.com/3240/sql-ce-transaction-handling#comment5</guid><pubDate>Mon, 31 Mar 2008 19:38:09 GMT</pubDate></item><item><title>Ayende Rahien commented on SQL CE Transaction Handling</title><description>You are correct, but still, this was surprising.
</description><link>http://ayende.com/3240/sql-ce-transaction-handling#comment4</link><guid>http://ayende.com/3240/sql-ce-transaction-handling#comment4</guid><pubDate>Mon, 31 Mar 2008 18:08:56 GMT</pubDate></item><item><title>Aaron Carlson commented on SQL CE Transaction Handling</title><description>It looks like you have a extra Console.WriteLine("Wrote item") in the ReadReadFromDB function that is misleading.
  
</description><link>http://ayende.com/3240/sql-ce-transaction-handling#comment3</link><guid>http://ayende.com/3240/sql-ce-transaction-handling#comment3</guid><pubDate>Mon, 31 Mar 2008 18:06:12 GMT</pubDate></item><item><title>Ayende Rahien commented on SQL CE Transaction Handling</title><description>Nope.
  
I checked, and it looks like SQL CE only supports ReadCommited, yuck!
</description><link>http://ayende.com/3240/sql-ce-transaction-handling#comment2</link><guid>http://ayende.com/3240/sql-ce-transaction-handling#comment2</guid><pubDate>Mon, 31 Mar 2008 17:57:16 GMT</pubDate></item><item><title>Rik Hemsley commented on SQL CE Transaction Handling</title><description>You never set the commands' transactions to the transactions you create. Could that be it?
</description><link>http://ayende.com/3240/sql-ce-transaction-handling#comment1</link><guid>http://ayende.com/3240/sql-ce-transaction-handling#comment1</guid><pubDate>Mon, 31 Mar 2008 17:54:27 GMT</pubDate></item></channel></rss>