Update demo

This commit is contained in:
sunkaixuan
2023-11-06 21:26:47 +08:00
parent 2585c30528
commit 56c1998ad3
94 changed files with 1742 additions and 114 deletions

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrmTest
{
public class UValidate
{
public static void Check(object a, object b, object name)
{
if (a?.ToString()?.Trim() != b?.ToString()?.Trim())
{
throw new Exception(name + " error");
}
}
}
}