/// <summary>
        ///     Removes the <see cref="IMutableDbFunction" /> that is mapped to the method represented by the given
        ///     <see cref="MethodInfo" />.
        /// </summary>
        /// <param name="model"> The model to find the function in. </param>
        /// <param name="method"> The <see cref="MethodInfo" /> for the method that is mapped to the function. </param>
        /// <returns> The removed <see cref="IMutableDbFunction" /> or <c>null</c> if the method is not mapped. </returns>
        public static IMutableDbFunction RemoveDbFunction([NotNull] this IMutableModel model, [NotNull] MethodInfo method)
        {
            Check.NotNull(model, nameof(model));
            Check.NotNull(method, nameof(method));

            return(DbFunction.RemoveDbFunction(
                       Check.NotNull(model, nameof(model)),
                       Check.NotNull(method, nameof(method))));
        }
 public static IMutableDbFunction?RemoveDbFunction([NotNull] this IMutableModel model, [NotNull] string name)
 => DbFunction.RemoveDbFunction(
     Check.NotNull(model, nameof(model)),
     Check.NotNull(name, nameof(name)));
 /// <summary>
 ///     Removes the function that is mapped to the method represented by the given
 ///     <see cref="MethodInfo" />.
 /// </summary>
 /// <param name="model"> The model to find the function in. </param>
 /// <param name="method"> The <see cref="MethodInfo" /> for the method that is mapped to the function. </param>
 /// <returns> The removed function or <see langword="null" /> if the method is not mapped. </returns>
 public static IMutableDbFunction?RemoveDbFunction(this IMutableModel model, MethodInfo method)
 => DbFunction.RemoveDbFunction(
     Check.NotNull(model, nameof(model)),
     Check.NotNull(method, nameof(method)));
 /// <summary>
 ///     Removes the function that is mapped to the method represented by the given
 ///     <see cref="MethodInfo" />.
 /// </summary>
 /// <param name="model">The model to find the function in.</param>
 /// <param name="name">The model name of the function.</param>
 /// <returns>The removed function or <see langword="null" /> if the method is not mapped.</returns>
 public static IMutableDbFunction?RemoveDbFunction(this IMutableModel model, string name)
 => DbFunction.RemoveDbFunction(model, Check.NotNull(name, nameof(name)));