Reset/Set Sequence in PostgresQL programmatically from c#

Reset/Set Sequence in PostgresQL programmatically from c#

Is there a way to programmatically (c#) to update a sequence value in postgresql?
I know from a sql perspective, you can do something like:

SELECT setval('my_sequence', 10, TRUE);

How do you do this with the devart.postgresql dotConnect for Postgresql?