Using extension method for connection