Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble with using using Microsoft.Data.SqlClient #182

Closed
Ormesome opened this issue Sep 4, 2023 · 1 comment
Closed

Trouble with using using Microsoft.Data.SqlClient #182

Ormesome opened this issue Sep 4, 2023 · 1 comment

Comments

@Ormesome
Copy link

Ormesome commented Sep 4, 2023

Hi, it's been a long time since I've used c# and I'm trying to ease back in with a sort of database API using edge-js.

I have a repo at squirrel project where I am able to use System.Security.Cryptography successfully, but not Microsoft.Data.SqlClient.

I can make the database call (such as it is) using dotnet run from squirrel but when I dotnet publish then try to import it as a library either from squirrelConsumer or through edge-js from squirrelJs I get type errors. I'm hoping I've made a basic error that your eyes can spot.

@agracio
Copy link
Owner

agracio commented May 4, 2024

Not sure if that is still an issue. Would strongly recommend using System.Data.SqlClient with Edge.js as Microsoft.Data.SqlClient behaviour is currently very erratic.
What is the purpose of the library, there is edge-sql that supports variety of MS SQL statements.

@agracio agracio closed this as completed May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants