Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string udfId = "Tax";
- var udfTax = new UserDefinedFunction
- {
- Id = udfId,
- Body = {...your udf function body},
- };
- Uri containerUri = UriFactory.CreateDocumentCollectionUri("myDatabase", "myContainer");
- await client.CreateUserDefinedFunctionAsync(containerUri, udfTax);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement