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