Пример #1
0
 /// <summary>
 /// Update entity in adoxio_licencetypes
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioLicencetypeid'>
 /// key: adoxio_licencetypeid
 /// </param>
 /// <param name='body'>
 /// New property values
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task UpdateAsync(this ILicencetypes operations, string adoxioLicencetypeid, MicrosoftDynamicsCRMadoxioLicencetype body, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.UpdateWithHttpMessagesAsync(adoxioLicencetypeid, body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Пример #2
0
 /// <summary>
 /// Update entity in adoxio_licencetypes
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioLicencetypeid'>
 /// key: adoxio_licencetypeid of adoxio_licencetype
 /// </param>
 /// <param name='body'>
 /// New property values
 /// </param>
 /// <param name='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse UpdateWithHttpMessages(this ILicencetypes operations, string adoxioLicencetypeid, MicrosoftDynamicsCRMadoxioLicencetype body, Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.UpdateWithHttpMessagesAsync(adoxioLicencetypeid, body, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }