I blog, you blog, they blog

Effective TFS programming: editing work items

There's not much optimization you can do when saving work items. But when your application updates multiple work items, consider submitting results in a single batch using WorkItemStore.BatchSave method. Here are some important notes about this method:

  • Everything is submitted in a single backend call. This is more efficient then calling WorkItem.Save for each updated item.
  • Everything is submitted in a single transaction. If the method fails, neither work item gets updated.
Published Monday, June 11, 2007 11:49 PM by abaturytski
Filed under: ,
Anonymous comments are disabled

About abaturytski

Software design engineer at Microsoft since 2000.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker