Share via


ODataUriFunctions Class

Definition

OData UriFunctions helper.

public static class ODataUriFunctions
type ODataUriFunctions = class
Public Class ODataUriFunctions
Inheritance
ODataUriFunctions

Methods

AddCustomUriFunction(String, FunctionSignatureWithReturnType, MethodInfo)

This is a shortcut of adding the custom FunctionSignature through 'CustomUriFunctions' class and binding the function name to it's MethodInfo through 'UriFunctionsBinder' class. See these classes documentations. In case of an exception, both operations(adding the signature and binding the function) will be undone.

RemoveCustomUriFunction(String, FunctionSignatureWithReturnType, MethodInfo)

This is a shortcut of removing the FunctionSignature through 'CustomUriFunctions' class and unbinding the function name from it's MethodInfo through 'UriFunctionsBinder' class. See these classes documentations.

Applies to