DotNetNext / SqlSugar

.Net aot ORM Fastest ORM Simple Easy VB.NET Sqlite orm Oracle ORM Mysql Orm 虚谷数据库 postgresql ORm SqlServer oRm 达梦 ORM 人大金仓 ORM 神通ORM C# ORM , C# ORM .NET ORM NET5 ORM .NET6 ORM ClickHouse orm QuestDb ,TDengine ORM,OceanBase orm,GaussDB orm ,Tidb orm Object/Relational Mapping
https://www.donet5.com/Home/Doc
MIT License
5.31k stars 1.33k forks source link

sql does not interrupt execution #1228

Closed domiuns closed 6 months ago

domiuns commented 6 months ago

your code is as follows

await ((DbDataReader) dataReader).ReadAsync() 

The ReadAsync method does not give CancellationToken parameter

When the client actively cancels the request, sql continues to execute and does not interrupt execution

Code Version:5.1.4.146 DB:SqlServer

DotNetNext commented 6 months ago

SqlSugarCore 5.1.4.147-preview11 Just updated

DotNetNext commented 6 months ago

Source code is also synced

DotNetNext commented 6 months ago

If there are more questions, send a new isssue