mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-15 20:49:31 +08:00
GetReaderByToken 传入 cancellationToken,支持取消信号,SupportReadToken设置为True
This commit is contained in:
parent
e496c6d1d7
commit
afaaca21d7
@ -31,7 +31,7 @@ namespace SqlSugar
|
||||
|
||||
#region abstract Methods
|
||||
|
||||
public virtual bool SupportReadToken { get; set; }
|
||||
public virtual bool SupportReadToken { get; set; } = true;
|
||||
|
||||
public virtual Task<bool> GetReaderByToken(IDataReader dataReader, CancellationToken cancellationToken)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user