Paolo ponzano - 46 - Oct 16, 2014

Hello Demis, when I use the DbConnection “Db” of the Service so I have to dispose it? or ServiceStack will handle this automatically?
Thanks

Carlos Mendes:

Hi Paolo,

the connection is automatically disposed:

https://github.com/ServiceStack/ServiceStack/blob/master/src/ServiceStack/Service.cs#L151