sunkaixuan
6 years ago
3 changed files with 22 additions and 0 deletions
@ -0,0 +1,19 @@ |
|||||
|
using System; |
||||
|
using System.Collections.Generic; |
||||
|
using System.Linq; |
||||
|
using System.Text; |
||||
|
using System.Threading.Tasks; |
||||
|
|
||||
|
namespace OrmTest |
||||
|
{ |
||||
|
public class ObjectsValidate |
||||
|
{ |
||||
|
public static void Check(object a ,object b,object name) |
||||
|
{ |
||||
|
if (a?.ToString() != b?.ToString()) |
||||
|
{ |
||||
|
new Exception(name+" error"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue