The ConfigureMapping example should use the new syntax

The ConfigureMapping code examples used the old syntax, which gives an obsolete warning. The example should use the new syntax instead.