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