This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Query Demo. | |
// Here SubTotal and OrderDate are encrypted properties. | |
QueryDefinition withEncryptedParameter = containerWithEncryption.CreateQueryDefinition( | |
"SELECT * FROM c where c.SubTotal = @SubTotal AND c.OrderDate = @OrderDate"); | |
await withEncryptedParameter.AddParameterAsync( | |
"@SubTotal", | |
order2.SubTotal, | |
"/SubTotal"); |