concept SQL user - define function in category entity framework

appears as: n SQL user-defined function, An SQL user-defined function
Entity Framework Core in Action

This is an excerpt from Manning's book Entity Framework Core in Action.

An SQL user-defined function (UDF) is a routine that accepts parameters, performs an action (such as a complex calculation), and returns the result of that action as a value. The return value can either be a scalar (single) value or a table, but for databasescalar function mapping and computed columns (see section 8.3), the function must return a scalar value of the correct type.