2025-06-12 15:19:50 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace MongoDbTest
|
|
|
|
|
{
|
|
|
|
|
public class Cases
|
|
|
|
|
{
|
|
|
|
|
public static void Init()
|
|
|
|
|
{
|
2025-06-12 17:51:23 +08:00
|
|
|
|
QuerySingle.Init();
|
|
|
|
|
QueryWhere.Init();
|
2025-06-14 13:12:48 +08:00
|
|
|
|
QuerySelect.Init();
|
2025-06-23 19:19:15 +08:00
|
|
|
|
QueryJson.Init();
|
2025-06-20 15:01:27 +08:00
|
|
|
|
Insert.Init();
|
|
|
|
|
Update.Init();
|
|
|
|
|
Delete.Init();
|
2025-06-12 15:19:50 +08:00
|
|
|
|
}
|
|
|
|
|
public static void ThrowUnitError()
|
|
|
|
|
{
|
|
|
|
|
throw new Exception("unit error");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|