Click or drag to resize

AppContextRegisterEmbeddedFunction Method

Overload List
  NameDescription
Public methodRegisterEmbeddedFunction(String, String)
Registers an embedded function for use in SQL statments. The function name should not include the leading lowercase 'fn' associated with embedded functions.

See EmbeddedParser for more information on embedded functions.

Public methodCode exampleRegisterEmbeddedFunction(String, String, String)
Registers an embedded function for use in SQL statments. The function name should not include the leading lowercase 'fn' associated with embedded functions.

See EmbeddedParser for more information on embedded functions.

Embedded functions are automatically resolved for both DefaultValues on Field objects and Filters on Mapper objects.

Normally, you register an extension to run at startup and register custom functions in the ExtensionEvents.ApplicationAfterLoad event.

Top
See Also