你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
TableOperation.InsertOrMerge(ITableEntity) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建新的表操作,用于在表中插入给定的实体(如果该实体不存在);如果该实体存在,则将其内容与提供的实体合并。
public static Microsoft.Azure.Cosmos.Table.TableOperation InsertOrMerge (Microsoft.Azure.Cosmos.Table.ITableEntity entity);
static member InsertOrMerge : Microsoft.Azure.Cosmos.Table.ITableEntity -> Microsoft.Azure.Cosmos.Table.TableOperation
Public Shared Function InsertOrMerge (entity As ITableEntity) As TableOperation
参数
- entity
- ITableEntity
要插入或合并的 ITableEntity 对象。
返回
TableOperation 对象。