SqlSugar/Src/Asp.NetCore2/MongoDb.Ado.data/ExecuteDbDataReaderItemsAsync/IQueryHandlerAsync.cs
2025-06-10 17:51:49 +08:00

15 lines
354 B
C#

using MongoDB.Bson;
using MongoDB.Driver;
using System.Data.Common;
using System.Threading;
using System.Threading.Tasks;
namespace MongoDb.Ado.data
{
public interface IQueryHandlerAsync
{
CancellationToken token { get; set; }
Task<DbDataReader> HandlerAsync(IMongoCollection<BsonDocument> collection, BsonValue doc);
}
}