ayende/ravendb — pull request #1418 by cocytus (2014-09-22 11:46:16+00:00)
Title: Create RegisterIdLoadConvention to allow easier non-string id configurat...

Raven 3 version:
This PR enables you to:

docStore.Conventions.RegisterIdLoadConvention(id => "r/" + id);

then

var room = session.Load(13)

resulting in the load of document with full id "r/13".

In other words, this is the "load time" version of RegisterIdConvention().