Ejemplo n.º 1
0
 /// <summary>
 /// Update entity in adoxio_customautonumberrequests
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioCustomautonumberrequestid'>
 /// key: adoxio_customautonumberrequestid of adoxio_customautonumberrequest
 /// </param>
 /// <param name='body'>
 /// New property values
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task UpdateAsync(this ICustomautonumberrequests operations, string adoxioCustomautonumberrequestid, MicrosoftDynamicsCRMadoxioCustomautonumberrequest body, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.UpdateWithHttpMessagesAsync(adoxioCustomautonumberrequestid, body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Update entity in adoxio_customautonumberrequests
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioCustomautonumberrequestid'>
 /// key: adoxio_customautonumberrequestid of adoxio_customautonumberrequest
 /// </param>
 /// <param name='body'>
 /// New property values
 /// </param>
 public static void Update(this ICustomautonumberrequests operations, string adoxioCustomautonumberrequestid, MicrosoftDynamicsCRMadoxioCustomautonumberrequest body)
 {
     operations.UpdateAsync(adoxioCustomautonumberrequestid, body).GetAwaiter().GetResult();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Add new entity to adoxio_customautonumberrequests
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// New entity
 /// </param>
 /// <param name='prefer'>
 /// Required in order for the service to return a JSON representation of the
 /// object.
 /// </param>
 /// <param name='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse <MicrosoftDynamicsCRMadoxioCustomautonumberrequest> CreateWithHttpMessages(this ICustomautonumberrequests operations, MicrosoftDynamicsCRMadoxioCustomautonumberrequest body, string prefer = "return=representation", Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.CreateWithHttpMessagesAsync(body, prefer, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Add new entity to adoxio_customautonumberrequests
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// New entity
 /// </param>
 /// <param name='prefer'>
 /// Required in order for the service to return a JSON representation of the
 /// object.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <MicrosoftDynamicsCRMadoxioCustomautonumberrequest> CreateAsync(this ICustomautonumberrequests operations, MicrosoftDynamicsCRMadoxioCustomautonumberrequest body, string prefer = "return=representation", CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CreateWithHttpMessagesAsync(body, prefer, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Add new entity to adoxio_customautonumberrequests
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// New entity
 /// </param>
 /// <param name='prefer'>
 /// Required in order for the service to return a JSON representation of the
 /// object.
 /// </param>
 public static MicrosoftDynamicsCRMadoxioCustomautonumberrequest Create(this ICustomautonumberrequests operations, MicrosoftDynamicsCRMadoxioCustomautonumberrequest body, string prefer = "return=representation")
 {
     return(operations.CreateAsync(body, prefer).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Update entity in adoxio_customautonumberrequests
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioCustomautonumberrequestid'>
 /// key: adoxio_customautonumberrequestid of adoxio_customautonumberrequest
 /// </param>
 /// <param name='body'>
 /// New property values
 /// </param>
 /// <param name='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse UpdateWithHttpMessages(this ICustomautonumberrequests operations, string adoxioCustomautonumberrequestid, MicrosoftDynamicsCRMadoxioCustomautonumberrequest body, Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.UpdateWithHttpMessagesAsync(adoxioCustomautonumberrequestid, body, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }