Update Demo

This commit is contained in:
sunkaixuan
2019-05-18 10:56:33 +08:00
parent d821f9f9ec
commit 7624007309
3 changed files with 4 additions and 4 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() != b?.ToString())
{
throw new Exception(name + " error");
}
}
}
}