This povides set of classes in the namespace of "System.Data.SugarClient", To access Sugar Data in ADO.NET way.
For example SugarConnection implements IDbConnection interface. It provides connection to the Sugar Instance over SOAP. sample code:
using(IDbConnection con = new SugarConnection("Data Source=http://host/sugarcrm/;User ID=admin;Password=foo")){ con.Open(); // this performs logging in to sugar.
IDbCommand cmd = con.CreateCommand(); cmd.CommandText = "SELECT * FROM Contacts"; // This statement will fetch all records from Contacts module. IDataReader reader = cmd.ExecuteReader();