What's the WhereClause = "1=1" mean?

699
2
06-19-2017 11:10 PM
xiaoguangyan
New Contributor III

new QueryParameters() { WhereClause = "1=1" }, true, new string[] { "*" })

Hi to all, what's the WhereClause = "1=1" mean in up codes?


					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
Tags (1)
0 Kudos
2 Replies
ChadYoder1
Occasional Contributor II

1=1 is a true where clause which will result in all records being returned.

0 Kudos
xiaoguangyan
New Contributor III

thanks Chad

0 Kudos