SHARE
TWEET

Untitled

a guest Jun 20th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. string udfId = "Tax";
  2. var udfTax = new UserDefinedFunction
  3. {
  4.     Id = udfId,
  5.     Body = {...your udf function body},
  6. };
  7.  
  8. Uri containerUri = UriFactory.CreateDocumentCollectionUri("myDatabase", "myContainer");
  9. await client.CreateUserDefinedFunctionAsync(containerUri, udfTax);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top