on 2018 May 03 6:49 AM
I am writing an addon but I faced Addon Disconnect error. As I see, it is because using connection without DI API. Is it mandotary to use DI API for connection? I couldn't find objects for some tables such as ORCM, so I used C# SqlConnection. How can I handle with this problem?
Request clarification before answering.
There is no problem to use a SQL Connection as long as you don`t do any operations in the database except for SELECT Queries, you can read the database without any problem.
The add-on must not crash because your SQLConnection. Probably there is something else crashing your add-on. Could you identify the exactly line of your code that is crashing? Could you share with us?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
8 | |
6 | |
5 | |
5 | |
5 | |
4 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.