开发者

Transactional integrity Sharepoint List

开发者_开发技巧

Is it possibly to guarantee transactional integrity when storing information in a Sharepoint list (SP 2010)?


Underneath the covers a single SharePoint operation like adding a list item can involve multiple database operations and they will all be protected by a single database transaction. With that said, the product doesn't expose that transactional capability to you so that you can perform multiple SharePoint operations under the aegis of a single transaction. To be very safe, you'll need to implement very carefully coded error handlers.


According to this, SharePoint 2010 does not offer any transactional support out of the box.

The underlying database does support transactions, so a single insert will probably either succeed or fail, but if an error occurs during a complex routine involving multiple database operations, the data will end up being partially modified.


Sharepoint does not offer transaction support out of the box.

Here is a good resource on Building a System.Transactions resource manager for SharePoint

Though I would save the effort and store any critical data directly into a RDB

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜