"Using" required for "Db"

I’m having a situation where I can’t remember what Using I need to be able to use the Db in my code.

Could someone please help me out and remind me?

You can only use the Db context in a BPM, no using statements needed.

1 Like

Thank you.

That would explain why it is not working in my customization code.

1 Like

You’ll want to use the appropriate adapters to get the data you want - there is also a beast called a BOReader, which pretty much just runs a getRows for you with a given where clause. I am confident there are some posts on the forum about it.

1 Like