public void Connect() { try { //Intialise connection to all services ConnectionService.Connections.DavisonService davison = new DavisonService(); ConnectionService.Connections.CuttersService cutters = new CuttersService(); ConnectionService.Connections.DealersService dealers = new DealersService(); ConnectionService.Connections.KwikiService kwiki = new KwikiService(); ConnectionService.Connections._3AmigoService _3amigos = new _3AmigoService(); } catch (Exception e) { Debug.WriteLine("Could not connect to Services" + e); } }
public void _3AmigoTest() { _3AmigoService _3Amigo = new _3AmigoService(); Assert.IsInstanceOfType(_3Amigo, typeof(SqlConnection)); }
public void PushToDatabase() { ConnectionService.Connections._3AmigoService something = new _3AmigoService(); something._3AmigoPushProducts(); Debug.WriteLine("Yes"); //ConnectionService.Connections._3AmigoService; //somehing. //ConnectionService.Connections._3AmigoService() something = new _3AmigoService(); //something. }