File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Src/Asp.NetCore2/KdbndpTest/UnitTest Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public partial class NewUnitTest
2525 }
2626 }
2727 } ) ;
28- public static SqlSugarScope ssDb => new SqlSugarScope ( new ConnectionConfig ( )
28+ public static SqlSugarClient ssDb => new SqlSugarClient ( new ConnectionConfig ( )
2929 {
3030 DbType = DbType . Kdbndp ,
3131 ConnectionString = Config . ConnectionString ,
@@ -41,7 +41,7 @@ public partial class NewUnitTest
4141 }
4242 }
4343 } ) ;
44- public static SqlSugarClient singleDb = new SqlSugarClient ( new ConnectionConfig ( )
44+ public static SqlSugarScope singleDb = new SqlSugarScope ( new ConnectionConfig ( )
4545 {
4646 DbType = DbType . Kdbndp ,
4747 ConnectionString = Config . ConnectionString ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public class UValidate
1010 {
1111 public static void Check ( object a , object b , object name )
1212 {
13- if ( a ? . ToString ( ) ? . Trim ( ) != b ? . ToString ( ) ? . Trim ( ) )
13+ if ( a ? . ToString ( ) ? . Replace ( " " , "" ) . Trim ( ) . ToLower ( ) != b ? . ToString ( ) . Replace ( " " , "" ) ? . Trim ( ) . ToLower ( ) )
1414 {
1515 throw new Exception ( name + " error" ) ;
1616 }
You can’t perform that action at this time.
0 commit comments