public static IConventionDbFunction AddDbFunction(
     [NotNull] this IConventionModel model,
     [NotNull] MethodInfo methodInfo,
     bool fromDataAnnotation = false)
 => DbFunction.AddDbFunction(
     (IMutableModel)model, Check.NotNull(methodInfo, nameof(methodInfo)),
     fromDataAnnotation ? ConfigurationSource.DataAnnotation : ConfigurationSource.Convention);
 public static IConventionDbFunction AddDbFunction(
     [NotNull] this IConventionModel model,
     [NotNull] string name,
     [NotNull] Type returnType,
     bool fromDataAnnotation = false)
 => DbFunction.AddDbFunction(
     (IMutableModel)model,
     Check.NotNull(name, nameof(name)),
     returnType,
     fromDataAnnotation ? ConfigurationSource.DataAnnotation : ConfigurationSource.Convention);
 public static IMutableDbFunction AddDbFunction(
     [NotNull] this IMutableModel model,
     [NotNull] string name,
     [NotNull] Type returnType)
 => DbFunction.AddDbFunction(
     model, Check.NotNull(name, nameof(name)), returnType, ConfigurationSource.Explicit);
 public static IMutableDbFunction AddDbFunction([NotNull] this IMutableModel model, [NotNull] MethodInfo methodInfo)
 => DbFunction.AddDbFunction(
     model, Check.NotNull(methodInfo, nameof(methodInfo)), ConfigurationSource.Explicit) !;