/// <summary> /// Update entity in adoxio_licenceses /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='adoxioLicencesid'> /// key: adoxio_licencesid /// </param> /// <param name='body'> /// New property values /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task UpdateAsync(this ILicenceses operations, string adoxioLicencesid, MicrosoftDynamicsCRMadoxioLicences body, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.UpdateWithHttpMessagesAsync(adoxioLicencesid, body, null, cancellationToken).ConfigureAwait(false)).Dispose(); }
/// <summary> /// Update entity in adoxio_licenceses /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='adoxioLicencesid'> /// key: adoxio_licencesid of adoxio_licences /// </param> /// <param name='body'> /// New property values /// </param> /// <param name='customHeaders'> /// Headers that will be added to request. /// </param> public static HttpOperationResponse UpdateWithHttpMessages(this ILicenceses operations, string adoxioLicencesid, MicrosoftDynamicsCRMadoxioLicences body, Dictionary <string, List <string> > customHeaders = null) { return(operations.UpdateWithHttpMessagesAsync(adoxioLicencesid, body, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult()); }