public ServiceWrapper() { RemotingClient.OpenDentBusinessIsLocal = true; // Connect to the local mysql server. DataConnection connection = new DataConnection(); connection.SetDb("localhost", "opendental", "root", "", "root", "", DatabaseType.MySql); service = new OpenDentalService(); thread = new Thread((ThreadStart)delegate() { service.ServiceWorkerMethod(); }); }
public ServiceWrapper() { RemotingClient.OpenDentBusinessIsLocal = true; // Connect to the local mysql server. DataConnection connection = new DataConnection(); connection.SetDb("localhost", "opendental", "root", "", "root", "", DatabaseType.MySql); service = new OpenDentalService(); thread = new Thread((ThreadStart) delegate() { service.ServiceWorkerMethod(); }); }