Hello, I've been trying to add the System.Data dll into unity so that I can use the DataTable, SqlConnection, SqlCommand, and SqlDataAdapter classes. I am using Unity 2018.1.
At most, I've been successful in Unity recognizing System.Data to the point of intellisense recognizes the DataTable class. However, the imported dll either fails, or depending on the compiler I chose in the player settings, says that there is two System.Data namespaces, one being the native mono System.Data dll that is integrated with .Net 2.0 and (I think) .Net 4.X.
However, mono's integrated library does not recognize System.Data.SqlClient, which is where the SqlConnection, SqlCommand, and SqlDataAdapter classes come from.
The project I am working on is for a small project for data analysis, and I am used to how MS SQL works. It is perfect for what I need. Any suggestions/workarounds would be great.
Thanks.
↧