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