Unity front end with LINQ and database entities - doable?
I'm making a simple project where one can log in, browse the store's goods and add them to the cart to make an order. Using LINQ that connects to a database is required as well as the use of Entity FrameWork. WPF would be obvious but I will have some other features (displaying some premium goods real time so it can be rotated to look at) that are easier to implement in Unity. I'd like to ask anyone experienced in this stuff if it is doable to use LINQ with Unity as the front end/UI part? Of course I plan to use c# all along as the tag shows. The scripts using LINQ will not be MonoBehaviour
descendants.
i know LINQ works, used it once. not sure about the other one
Answer by agiro · Feb 23, 2017 at 09:58 PM
I answer meself in case others' need this. Currently, Unity 5.5 uses .NET 2.something while Entity Framework requires .NET 3.5+ so no, natively it is impossible. What could be done though is to run the Unity app and a SQL server app and make them communicate. As for the LINQ, that works fine.