Activout.DatabaseClient Create a Database Access Object (DAO) defining the C# interface you want and writing the SQL query. See the API reference and the README on GitHub.