SqlSugar/Src/Asp.NetCore2/MongoDb.Ado.data/ExecuteDbDataReaderItemsAsync/IQueryHandlerAsync.cs

15 lines
354 B
C#
Raw Normal View History

2025-05-02 16:30:22 +08:00
using MongoDB.Bson;
using MongoDB.Driver;
using System.Data.Common;
2025-06-10 17:51:49 +08:00
using System.Threading;
2025-05-02 16:30:22 +08:00
using System.Threading.Tasks;
namespace MongoDb.Ado.data
{
public interface IQueryHandlerAsync
{
2025-06-10 17:51:49 +08:00
CancellationToken token { get; set; }
2025-05-02 16:30:22 +08:00
Task<DbDataReader> HandlerAsync(IMongoCollection<BsonDocument> collection, BsonValue doc);
}
}