是否同时访问? [英] Concurrent access or not ?
问题描述
作为Sharepoint世界的新手,我想问这个问题.我点击了SOAP端点以读取一些列表值,并且还编写了一个值.现在是管理员.或用户可以更新 我正在阅读或书写的行.这里的行"表示我在SharePoint网页中看到的一行值.
As someone who is new to the Sharepoint world I would like to ask this. I hit the SOAP endpoints to read some list values and also to write a value. Now an admin. or user could update a column in a row that I am reading or writing. Here 'row' means a row of values I see in the SharePoint webpage.
我不确定并发读写是否真的会导致SharePoint数据库或中间层某个地方出现某种事务问题.是吗?
I am not sure if concurrent reads and writes really cause some sort of transaction issues in SharePoint's DB or somewhere in its middle-tier. Does it ?
这两种情况如何?我不知道SharePoint或数据库如何处理可见行? SOAP是否响应
What about these two cases ? I have no idea how the visible row is handled by SharePoint or the DB? Does the SOAP response
以某种方式表明存在并发问题?是类似日期和时间,还是类似REST etag?
indicate somehow that there are concurrency issues ? Something like date and time or something like REST etag ?
1.读和写的列是不同的.
1. Columns read and written are different.
2.读取和写入的列相同.
2. Columns read and written are the same.
谢谢
Mohan
推荐答案
Mohan,
Microsoft不建议使用SharePoint 2013中的SOAP终结点:
Microsoft doesn’t recommend to use SOAP endpoint from SharePoint 2013:
我建议您使用SharePoint REST API,以便处理 通过etag进行并发,您可以在下面的链接中查看示例.
I would suggest you use SharePoint REST API so you could process concurrency by etag, you could check below link for sample.
http://www.malindesilva.net/2016/02 /handling-etag-value-on-sharepoint-rest.html
以下是一些链接 有关SharePoint Rest API的信息,供您参考.
Here are some links about SharePoint rest api for your reference.
https://www.codeproject.com/Articles /990131/CRUD-操作到使用SharePoint-Rest API的列表
https://www.codeproject.com/Articles /990131/CRUD-使用SharePoint-Rest-API进行列表操作
最好的问候,
李e
这篇关于是否同时访问?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!