xamarin使用mysql_C#使用Xamarin导入MySql

Solutions1

Since Xamarin is used for mobile applications I assume there is simply no version of a MySQL database client available which runs on the .NET subset used in Xamarin.iOS or Xamarin.Android.

Usually mobile applications do not connect to a database server directly. They read and write data through a Web API service (e.g. REST or SOAP) instead.

It's bad practice due to security issues to allow the direct access to a database server over the internet to everybody who is using your app. You would need to store database credentials inside the app. Attackers could easily get these credentials in order to manipulate the database.

I highly recommend to reconsider the system's architecture.


版权声明:本文为weixin_39805180原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。