Upddate mongodb

This commit is contained in:
sunkaixuan
2025-06-10 17:46:57 +08:00
parent 6afa9f7539
commit b41076f0b0
12 changed files with 34 additions and 13 deletions

View File

@@ -3,6 +3,7 @@ using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace MongoDb.Ado.data
@@ -10,6 +11,8 @@ namespace MongoDb.Ado.data
public interface IMongoOperationHandlerAsync
{
string operation { get; set; }
CancellationToken token { get; set; }
Task<int> HandleAsync(IMongoCollection<BsonDocument> collection, string json);
}
}