Accessing directly a Sql Server Database in Xamarin.Forms
You cannot access directly an sql server from your pcl project in Xamarin.Forms because System.Data.SqlClient is not available on pcl. But you can do it through a dependency service. First in you PCL project declare you service public interface IDbDataFetcher { string GetData(string conn); } Then on you Android project implement the service interface [assembly: … Read more