Select to view content in your preferred language

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

1291
2
06-19-2017 11:10 PM
xiaoguangyan
Emerging Contributor

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
Frequent Contributor

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

0 Kudos
xiaoguangyan
Emerging Contributor

thanks Chad

0 Kudos