in DotNETCore-Agent/Controllers/ProductsController.cs [119:128]
private void QuerySql(int id)
{
var connectionString = ""; // Configure Connection string -> Format : "Data Source=(RDS endpoint),(port number);User ID=(your user name);Password=(your password);"
using (var sqlConnection = new SqlConnection(connectionString))
using (var sqlCommand = new SqlCommand("SELECT " + id, sqlConnection))
{
sqlCommand.Connection.Open();
sqlCommand.ExecuteNonQuery();
}
}