/// <summary>
 /// Adds mapping from <see cref="Int64Key"/> to parameters.
 /// </summary>
 /// <param name="converter">A key-parameters converter definitions.</param>
 /// <returns><paramref name="definitions"/>.</returns>
 public static KeyToParametersConverter.MappingCollection AddInt64KeyToParameters(this KeyToParametersConverter.MappingCollection definitions)
 {
     Ensure.NotNull(definitions, "definitions");
     return(definitions.AddKeyToParameters <Int64Key>((values, key) => values.Add("ID", key.ID).Add("Type", key.Type)));
 }
 /// <summary>
 /// Adds mapping from <see cref="StringKey"/> to parameters.
 /// </summary>
 /// <param name="converter">A key-parameters converter definitions.</param>
 /// <returns><paramref name="definitions"/>.</returns>
 public static KeyToParametersConverter.MappingCollection AddStringKeyToParameters(this KeyToParametersConverter.MappingCollection definitions)
 {
     Ensure.NotNull(definitions, "definitions");
     return(definitions.AddKeyToParameters <StringKey>((values, key) => values.Add("Identifier", key.Identifier).Add("Type", key.Type)));
 }
 /// <summary>
 /// Adds mapping from <see cref="GuidKey"/> to parameters.
 /// </summary>
 /// <param name="converter">A key-parameters converter definitions.</param>
 /// <returns><paramref name="definitions"/>.</returns>
 public static KeyToParametersConverter.MappingCollection AddGuidKeyToParameters(this KeyToParametersConverter.MappingCollection definitions)
 {
     Ensure.NotNull(definitions, "definitions");
     return(definitions.AddKeyToParameters <GuidKey>((values, key) => values.Add("Guid", key.Guid.ToString()).Add("Type", key.Type)));
 }