public static IEnumerable <IReadOnlyDbFunction> GetDbFunctions([NotNull] this IModel model)
 => DbFunction.GetDbFunctions(Check.NotNull(model, nameof(model)));
 public static IEnumerable <IConventionDbFunction> GetDbFunctions([NotNull] this IConventionModel model)
 => DbFunction.GetDbFunctions((Model)Check.NotNull(model, nameof(model)));
Example #3
0
 /// <summary>
 ///     Returns all functions contained in the model.
 /// </summary>
 /// <param name="model"> The model to get the functions in. </param>
 public static IEnumerable <IConventionDbFunction> GetDbFunctions(this IConventionModel model)
 => DbFunction.GetDbFunctions(Check.NotNull(model, nameof(model))).Cast <IConventionDbFunction>();