Ejemplo n.º 1
0
 /// <summary>
 /// Add new entity to adoxio_licencetypes
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// New entity
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <MicrosoftDynamicsCRMadoxioLicencetype> CreateAsync(this IAdoxioLicencetypes operations, MicrosoftDynamicsCRMadoxioLicencetype body, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CreateWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
 /// <summary>
 /// Get entities from adoxio_licencetypes
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='top'>
 /// Show only the first n items
 /// </param>
 /// <param name='skip'>
 /// Skip only the first n items
 /// </param>
 /// <param name='search'>
 /// Search items by search phrases
 /// </param>
 /// <param name='filter'>
 /// Filter items by property values
 /// </param>
 /// <param name='count'>
 /// Include count of items
 /// </param>
 /// <param name='orderby'>
 /// Order items by property values
 /// </param>
 /// <param name='select'>
 /// Select properties to be returned
 /// </param>
 /// <param name='expand'>
 /// Expand related entities
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <GetOKResponseModelModelModel> GetAsync(this IAdoxioLicencetypes operations, int?top = default(int?), int?skip = default(int?), string search = default(string), string filter = default(string), bool?count = default(bool?), IList <string> orderby = default(IList <string>), IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetWithHttpMessagesAsync(top, skip, search, filter, count, orderby, select, expand, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Get entities from adoxio_licencetypes
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='top'>
 /// Show only the first n items
 /// </param>
 /// <param name='skip'>
 /// Skip only the first n items
 /// </param>
 /// <param name='search'>
 /// Search items by search phrases
 /// </param>
 /// <param name='filter'>
 /// Filter items by property values
 /// </param>
 /// <param name='count'>
 /// Include count of items
 /// </param>
 /// <param name='orderby'>
 /// Order items by property values
 /// </param>
 /// <param name='select'>
 /// Select properties to be returned
 /// </param>
 /// <param name='expand'>
 /// Expand related entities
 /// </param>
 public static GetOKResponseModelModelModelModelModelModelModelModel Get(this IAdoxioLicencetypes operations, int?top = default(int?), int?skip = default(int?), string search = default(string), string filter = default(string), bool?count = default(bool?), IList <string> orderby = default(IList <string>), IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>))
 {
     return(operations.GetAsync(top, skip, search, filter, count, orderby, select, expand).GetAwaiter().GetResult());
 }
Ejemplo n.º 4
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 IAdoxioLicencetypes operations, string adoxioLicencetypeid, MicrosoftDynamicsCRMadoxioLicencetype body, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.UpdateWithHttpMessagesAsync(adoxioLicencetypeid, body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Ejemplo n.º 5
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>
 public static void Update(this IAdoxioLicencetypes operations, string adoxioLicencetypeid, MicrosoftDynamicsCRMadoxioLicencetype body)
 {
     operations.UpdateAsync(adoxioLicencetypeid, body).GetAwaiter().GetResult();
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Get entity from adoxio_licencetypes by key
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioLicencetypeid'>
 /// key: adoxio_licencetypeid
 /// </param>
 /// <param name='select'>
 /// Select properties to be returned
 /// </param>
 /// <param name='expand'>
 /// Expand related entities
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <MicrosoftDynamicsCRMadoxioLicencetype> GetByKeyAsync(this IAdoxioLicencetypes operations, string adoxioLicencetypeid, IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetByKeyWithHttpMessagesAsync(adoxioLicencetypeid, select, expand, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Ejemplo n.º 7
0
 /// <summary>
 /// Get entity from adoxio_licencetypes by key
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioLicencetypeid'>
 /// key: adoxio_licencetypeid
 /// </param>
 /// <param name='select'>
 /// Select properties to be returned
 /// </param>
 /// <param name='expand'>
 /// Expand related entities
 /// </param>
 public static MicrosoftDynamicsCRMadoxioLicencetype GetByKey(this IAdoxioLicencetypes operations, string adoxioLicencetypeid, IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>))
 {
     return(operations.GetByKeyAsync(adoxioLicencetypeid, select, expand).GetAwaiter().GetResult());
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Delete entity from adoxio_licencetypes
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioLicencetypeid'>
 /// key: adoxio_licencetypeid
 /// </param>
 /// <param name='ifMatch'>
 /// ETag
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteAsync(this IAdoxioLicencetypes operations, string adoxioLicencetypeid, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteWithHttpMessagesAsync(adoxioLicencetypeid, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Ejemplo n.º 9
0
 /// <summary>
 /// Delete entity from adoxio_licencetypes
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioLicencetypeid'>
 /// key: adoxio_licencetypeid
 /// </param>
 /// <param name='ifMatch'>
 /// ETag
 /// </param>
 public static void Delete(this IAdoxioLicencetypes operations, string adoxioLicencetypeid, string ifMatch = default(string))
 {
     operations.DeleteAsync(adoxioLicencetypeid, ifMatch).GetAwaiter().GetResult();
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Add new entity to adoxio_licencetypes
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// New entity
 /// </param>
 public static MicrosoftDynamicsCRMadoxioLicencetype Create(this IAdoxioLicencetypes operations, MicrosoftDynamicsCRMadoxioLicencetype body)
 {
     return(operations.CreateAsync(body).GetAwaiter().GetResult());
 }