directsql / directsql Goto Github PK
View Code? Open in Web Editor NEWExecute SQL directly from your code !
Execute SQL directly from your code !
Run dotnet test --configuration Release
Test run for /home/runner/work/DirectSQL/DirectSQL/TestSqlLiteDatabase/bin/Release/netcoreapp3.1/TestSqlLiteDatabase.dll(.NETCoreApp,Version=v3.1)
Microsoft (R) Test Execution Command Line Tool Version 16.3.0
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
The active test run was aborted. Reason: Test host process crashed : Unhandled exception. System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'SQLiteConnection'.
at System.Data.SQLite.SQLiteConnection.CheckDisposed()
at System.Data.SQLite.SQLiteConnection.get_State()
at System.Data.SQLite.SQLiteTransactionBase.IsValid(Boolean throwError)
at System.Data.SQLite.SQLiteTransactionBase.Dispose(Boolean disposing)
at System.Data.SQLite.SQLiteTransaction.Dispose(Boolean disposing)
at System.Data.Common.DbTransaction.Dispose()
at DirectSQL.Database`5.TransactionAsync(C connection, AsyncSqlExecution`2 execute) in /home/runner/work/DirectSQL/DirectSQL/DirectSQL/Database.cs:line 413
at TestSqlLiteDatabase.TransactionTest.<>c.<<TestTransactionAsync>b__1_0>d.MoveNext() in /home/runner/work/DirectSQL/DirectSQL/TestSqlLiteDatabase/TransactionTest.cs:line 78
--- End of stack trace from previous location where exception was thrown ---
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__139_1(Object state)
at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
Run dotnet test --configuration Release
Test run for D:\a\DirectSQL\DirectSQL\TestSqlLiteDatabase\bin\Release\netcoreapp3.1\TestSqlLiteDatabase.dll(.NETCoreApp,Version=v3.1)
Microsoft (R) Test Execution Command Line Tool Version 16.3.0
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
A total of 1 test files matched the specified pattern.
Test Run Successful.
Total tests: 18
Passed: 18
Total time: 2.2834 Seconds
In .NET Core other than Windows, implementation of transaction might have some problem around async / await.
Something like disposing transaction, when thread suspended, might be happened inside dotnet. ๐ข
Making it possible to specify DbDataParameter directory will be an solution of this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.