No create span for sql server queries

Good morning,

I would like remove using code in .net the span that elastic apm creates when in the method call a sql server query.

Is it possible? Is only for an specific method, because in this method we have more of 500 queries (is a loop) but in my case, this span is irrelevant.

Thanks for the help.