﻿<?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>Mike commented on And sometimes Things Just Works</title><description>So RavenDB is designed to enable magic strings, eh? :)</description><link>http://ayende.com/152865/and-sometimes-things-just-works#comment15</link><guid>http://ayende.com/152865/and-sometimes-things-just-works#comment15</guid><pubDate>Wed, 02 May 2012 18:02:27 GMT</pubDate></item><item><title>Ayende Rahien commented on And sometimes Things Just Works</title><description>Stuart,
It is a noop</description><link>http://ayende.com/152865/and-sometimes-things-just-works#comment14</link><guid>http://ayende.com/152865/and-sometimes-things-just-works#comment14</guid><pubDate>Wed, 02 May 2012 06:31:01 GMT</pubDate></item><item><title>Stuart commented on And sometimes Things Just Works</title><description>Out of interest, with the second session.SaveChanges(); - would that actually fire off any thing to RavenDb, or would it know there are no changes, and so do nothing?</description><link>http://ayende.com/152865/and-sometimes-things-just-works#comment13</link><guid>http://ayende.com/152865/and-sometimes-things-just-works#comment13</guid><pubDate>Wed, 02 May 2012 05:47:25 GMT</pubDate></item><item><title>Nick commented on And sometimes Things Just Works</title><description>What does the "satisfaction level" refer to lol?</description><link>http://ayende.com/152865/and-sometimes-things-just-works#comment12</link><guid>http://ayende.com/152865/and-sometimes-things-just-works#comment12</guid><pubDate>Tue, 01 May 2012 21:11:32 GMT</pubDate></item><item><title>Ayende Rahien commented on And sometimes Things Just Works</title><description>Nathan,
Dictionary of string &amp; object</description><link>http://ayende.com/152865/and-sometimes-things-just-works#comment11</link><guid>http://ayende.com/152865/and-sometimes-things-just-works#comment11</guid><pubDate>Tue, 01 May 2012 15:59:58 GMT</pubDate></item><item><title>Bob commented on And sometimes Things Just Works</title><description>&gt;Henrik, Nothing, I added it out of habit.

If there's one thing I always enjoy, it's a confusing 3 line program for a beginners tutorial.

while (;;)
{
}

Just about as useful as "added it out of habit."
</description><link>http://ayende.com/152865/and-sometimes-things-just-works#comment10</link><guid>http://ayende.com/152865/and-sometimes-things-just-works#comment10</guid><pubDate>Tue, 01 May 2012 14:01:20 GMT</pubDate></item><item><title>Richard Wilde commented on And sometimes Things Just Works</title><description>Does "Joe Smith" come back in the results count? I remember something about it will only be there after it has been indexed and that could take several to several hundred milli-secs</description><link>http://ayende.com/152865/and-sometimes-things-just-works#comment9</link><guid>http://ayende.com/152865/and-sometimes-things-just-works#comment9</guid><pubDate>Tue, 01 May 2012 12:44:21 GMT</pubDate></item><item><title>Nathan King commented on And sometimes Things Just Works</title><description>In the Customer class, what is the C# type of the Attiributes property defined as?</description><link>http://ayende.com/152865/and-sometimes-things-just-works#comment8</link><guid>http://ayende.com/152865/and-sometimes-things-just-works#comment8</guid><pubDate>Tue, 01 May 2012 11:45:21 GMT</pubDate></item><item><title>Ayende Rahien commented on And sometimes Things Just Works</title><description>Henrik,
Nothing, I added it out of habit.</description><link>http://ayende.com/152865/and-sometimes-things-just-works#comment7</link><guid>http://ayende.com/152865/and-sometimes-things-just-works#comment7</guid><pubDate>Tue, 01 May 2012 11:00:46 GMT</pubDate></item><item><title>Henrik Stenbæk commented on And sometimes Things Just Works</title><description>What is the second call to session.SaveChanges(); good for? </description><link>http://ayende.com/152865/and-sometimes-things-just-works#comment6</link><guid>http://ayende.com/152865/and-sometimes-things-just-works#comment6</guid><pubDate>Tue, 01 May 2012 10:58:16 GMT</pubDate></item><item><title>Ayende Rahien commented on And sometimes Things Just Works</title><description>Configurator,
We put the .Equals(true) there because C# would generate a compiler warning about a == between the types.</description><link>http://ayende.com/152865/and-sometimes-things-just-works#comment5</link><guid>http://ayende.com/152865/and-sometimes-things-just-works#comment5</guid><pubDate>Tue, 01 May 2012 10:52:16 GMT</pubDate></item><item><title>Ayende Rahien commented on And sometimes Things Just Works</title><description>Valeriu,
We don't save unless you call to SaveChanges().
If you don't need to save, you don't need to call SaveChanges</description><link>http://ayende.com/152865/and-sometimes-things-just-works#comment4</link><guid>http://ayende.com/152865/and-sometimes-things-just-works#comment4</guid><pubDate>Tue, 01 May 2012 10:51:39 GMT</pubDate></item><item><title>configurator commented on And sometimes Things Just Works</title><description>Do you need that .Equals(true) there for some reason or did you put that in just to be explicit?</description><link>http://ayende.com/152865/and-sometimes-things-just-works#comment3</link><guid>http://ayende.com/152865/and-sometimes-things-just-works#comment3</guid><pubDate>Tue, 01 May 2012 10:26:59 GMT</pubDate></item><item><title>Matt Warren commented on And sometimes Things Just Works</title><description>@Valeriu

No in RavenDB you have to explicitly call .SaveChange(). It triggers a batch upload of docs and commits a transaction, so having it as an explicit call is better.</description><link>http://ayende.com/152865/and-sometimes-things-just-works#comment2</link><guid>http://ayende.com/152865/and-sometimes-things-just-works#comment2</guid><pubDate>Tue, 01 May 2012 09:49:04 GMT</pubDate></item><item><title>Valeriu Caraulean commented on And sometimes Things Just Works</title><description>Are calls to session.SaveChanges(); mandatory here? (I don't know much about RavenDB)

Won't be changes saved when session is disposed?</description><link>http://ayende.com/152865/and-sometimes-things-just-works#comment1</link><guid>http://ayende.com/152865/and-sometimes-things-just-works#comment1</guid><pubDate>Tue, 01 May 2012 09:38:18 GMT</pubDate></item></channel></rss>