Plugin Developer DiscussionDiscussion for FogBugz Plugin developers |
||
All of the database methods like CSelectQuery.AddSelect() and CWhereQuery.AddWhere should return the original query in order to support method chaining. That way queries can be wirtten as a single statement like this:
var query = api.DataBase.NewSelectQuery(TableName).AddSelect("iData").AddWhere("Correct = 1"); The change would be backwards compatible since changing from a void signature to return something would not break existing plugins. Thanks, Sam |
Powered by FogBugz