把PutData和/或DeleteData的多次调用组合成一个调用。
Namespace: Aliyun.OpenServices.OpenTableService
Assembly: Aliyun.OpenServices (in Aliyun.OpenServices.dll) Version: 1.0.5290.21916
Syntax
void BatchModifyData( string tableName, IEnumerable<RowChange> rowChanges, string transactionId )
Parameters
- tableName
- Type: SystemString
表(Table)名,不能为视图(View)名。 - rowChanges
- Type: System.Collections.GenericIEnumerableRowChange
RowChange对象的枚举器。 - transactionId
- Type: SystemString
事务(Transaction)ID。
Exceptions
Exception | Condition |
---|---|
ArgumentException | tableName为空引用或值为空字符串, - 或 - talbeName违反OTS名称的命名规则。 - 或 - rowChanges包含的信息无效。 |
ArgumentNullException | rowChanges为空引用。 |
OtsException | OTS访问返回错误消息。 |
WebException | 由于网络原因请求失败, - 或 - 访问超时。 |
InvalidOperationException | 返回结果解析错误。 |
Remarks
See Also