File tree Expand file tree Collapse file tree
Orm/Xtensive.Orm/Sql/Dml/Statements Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ internal override SqlDelete Clone(SqlNodeCloneContext context) =>
6767 clone . Delete = t . Delete . Clone ( c ) ;
6868 if ( t . from != null )
6969 clone . From = ( SqlQueryRef ) t . from . Clone ( c ) ;
70- if ( ! t . where . IsNullReference ( ) )
70+ if ( t . where is not null )
7171 clone . Where = t . where . Clone ( c ) ;
7272
7373 if ( t . Hints . Count > 0 )
Original file line number Diff line number Diff line change @@ -77,9 +77,9 @@ internal override SqlUpdate Clone(SqlNodeCloneContext context) =>
7777 foreach ( KeyValuePair < ISqlLValue , SqlExpression > p in t . values )
7878 clone . Values [ ( ISqlLValue ) ( ( SqlExpression ) p . Key ) . Clone ( c ) ] =
7979 p . Value ? . Clone ( c ) ;
80- if ( ! t . where . IsNullReference ( ) )
80+ if ( t . where is not null )
8181 clone . Where = t . where . Clone ( c ) ;
82- if ( ! t . limit . IsNullReference ( ) )
82+ if ( t . limit is not null )
8383 clone . Limit = t . where . Clone ( c ) ;
8484 if ( t . Hints . Count > 0 )
8585 foreach ( SqlHint hint in t . Hints )
You can’t perform that action at this time.
0 commit comments