UserDefinedFunctionProvider.Invoke Method

Definition

Helper method to invoke User Defined Functions via Linq queries in the Azure DocumentDB database service.

public static object Invoke (string udfName, object[] arguments);
Parameters
udfName
String

the UserDefinedFunction name

arguments
Object[]

the arguments of the UserDefinedFunction

Returns

Remarks

This is a stub helper method for use within LINQ expressions. Cannot be called directly. Refer to http://azure.microsoft.com/documentation/articles/documentdb-sql-query/#linq-to-documentdb-sql for more details about the LINQ provider. Refer to http://azure.microsoft.com/documentation/articles/documentdb-sql-query/#javascript-integration for more details about user defined functions.