Plugin Developer Discussion

Discussion for FogBugz Plugin developers

Empty C*.QueryField: null or DBNull?

The docs aren't specific about the return value for a NULL when calling QueryField:

http://www.fogcreek.com/fogbugz/library/70/html/FBBFD180.htm

Is it null/Nothing or the DBNull singleton?
Arsène von Wyss Send private email
Monday, January 4, 2010
 
 
Hi Arsène-
It ought to be a DBNull -- are you seeing someplace where it isn't?
Thanks!
Brett
Brett Kiefer Send private email
Monday, January 4, 2010
 
 
Hi Brett,

No, so far I haven't tried it, but while coding I wanted to know what to expect and the docs didn't tell me. So maybe it would be nice to document this.

And, talking of documentation, you could also document that Limit in the CSelectQuery will return all rows if it is <= 0 (not documented either, so I verified this with Reflector).

Thanks, Arsène
Arsène von Wyss Send private email
Tuesday, January 5, 2010
 
 
Hi Arsène-
Sure, I have opened cases for both of these.
Thanks!
Brett
Brett Kiefer Send private email
Tuesday, January 5, 2010
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz