Hi Guillaume,
Please note that when implementing your new data layer from Gareth's example you should work with mojoportal source code from svn trunk. Much has changed in the data layers since the 2.2.3.9 release.
Previously all the core data access was in dbPortal.cs, but now it has been split up into separate files for better organization.
Joe