示例#1
0
 /// <summary>
 /// Update entity in csu_inspectionsearchs
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='csuInspectionsearchid'>
 /// key: csu_inspectionsearchid of csu_inspectionsearch
 /// </param>
 /// <param name='body'>
 /// New property values
 /// </param>
 /// <param name='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse UpdateWithHttpMessages(this ICsuinspectionsearchs operations, string csuInspectionsearchid, MicrosoftDynamicsCRMcsuInspectionsearch body, Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.UpdateWithHttpMessagesAsync(csuInspectionsearchid, body, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }
示例#2
0
 /// <summary>
 /// Update entity in csu_inspectionsearchs
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='csuInspectionsearchid'>
 /// key: csu_inspectionsearchid of csu_inspectionsearch
 /// </param>
 /// <param name='body'>
 /// New property values
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task UpdateAsync(this ICsuinspectionsearchs operations, string csuInspectionsearchid, MicrosoftDynamicsCRMcsuInspectionsearch body, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.UpdateWithHttpMessagesAsync(csuInspectionsearchid, body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }