mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-18 05:59:34 +08:00
22 lines
745 B
C#
22 lines
745 B
C#
using MongoDb.Ado.data;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace MongoDb.Ado.data
|
|
{
|
|
public class ExecuteHandlerFactory
|
|
{
|
|
public readonly static Dictionary<string, IMongoOperationHandler> Items = new Dictionary<string, IMongoOperationHandler>(StringComparer.OrdinalIgnoreCase)
|
|
{
|
|
{ "insert", new InsertHandler() },
|
|
{ "insertmany", new InsertManyHandler() },
|
|
{ "update", new UpdateHandler() },
|
|
{ "updatemany", new UpdateManyHandler() },
|
|
{ "delete", new DeleteHandler() },
|
|
{ "deletemany", new DeleteManyHandler() },
|
|
{ "find", new FindHandler() }
|
|
};
|
|
}
|
|
}
|