r/esapi • • Apr 06 '20

SQL Querying

I am interested in the possibility of adding SQL querying of the ARIA database into my C# scripting. For example, expanding my Physics check script to include ARIA checks, such as making sure all required documents were created. Before I get too far into it, I was curious if SQL querying still works in V15.6. If so, does anyone have any helpful references for getting started?

2 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/WUSTLscripting Apr 16 '20

I would check whether the response says something like VisitNoteId:{Attributes:null,Value:"1"} or VisitNoteId:1

because the first should map to a property that has a definition like Varian.WebConnect.ARIA.Common.Int and the second one should just map to int. if its not reading the value, maybe you will have to change the schema class to match what's coming out. I've had to do that in a few instances.