Don't have Telegram yet? Try it now!
https://mohsinkhalid.com/2015/07/10/connecting-to-an-external-database-from-ax-2012-using-sqlclient-classes/
Connecting to an External Database from AX 2012 using SqlClient classes