/// <summary>
 /// Add reference to adoxio_licenceses
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='licenceId'>
 /// key: adoxio_licenceid
 /// </param>
 /// <param name='fieldname'>
 /// key: fieldname
 /// </param>
 /// <param name='odataid'>
 /// reference value
 /// </param>
 public static HttpOperationResponse <MicrosoftDynamicsCRMadoxioApplicationCollection> GetNextLink(this IApplications operations, string nextLink,
                                                                                                   Dictionary <string, List <string> > customHeaders = null, CancellationToken cancellationToken = default)
 {
     return(operations.GetNextLinkAsync(nextLink, customHeaders, cancellationToken).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Change reference to adoxio_applications
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioApplicationid'>
 /// key: adoxio_applicationid
 /// </param>
 /// <param name='fieldname'>
 /// key: fieldname
 /// </param>
 /// <param name='odataid'>
 /// reference value
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task ChangeReferenceAsync(this IApplications operations, string adoxioApplicationid, string fieldname, Odataid odataid = default, CancellationToken cancellationToken = default)
 {
     (await operations.ChangeReferenceWithHttpMessagesAsync(adoxioApplicationid, fieldname, odataid, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
 public static StatsResultResponse GetSavedQuery(this IApplications operations, string adoxioSavedQueryid)
 {
     return(operations.GetSavedQueryAsync(adoxioSavedQueryid).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Delete entity from adoxio_applications
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioApplicationid'>
 /// key: adoxio_applicationid
 /// </param>
 /// <param name='fieldname'>
 /// key: fieldname
 /// </param>
 public static void DeleteReference(this IApplications operations, string adoxioApplicationid, string fieldname)
 {
     operations.DeleteReferenceAsync(adoxioApplicationid, fieldname).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Change reference to adoxio_applications
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioApplicationid'>
 /// key: adoxio_applicationid
 /// </param>
 /// <param name='fieldname'>
 /// key: fieldname
 /// </param>
 /// <param name='odataid'>
 /// reference value
 /// </param>
 public static void ChangeReference(this IApplications operations, string adoxioApplicationid, string fieldname, Odataid odataid = default)
 {
     operations.ChangeReferenceAsync(adoxioApplicationid, fieldname, odataid).GetAwaiter().GetResult();
 }
 /// <summary>
 /// Delete entity from adoxio_applications
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioApplicationid'>
 /// key: adoxio_applicationid
 /// </param>
 /// <param name='ifMatch'>
 /// ETag
 /// </param>
 public static void Delete(this IApplications operations, string adoxioApplicationid, string ifMatch = default(string))
 {
     operations.DeleteAsync(adoxioApplicationid, ifMatch).GetAwaiter().GetResult();
 }
Exemple #7
0
 /// <summary>
 /// Add new entity to adoxio_applications
 /// </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 MicrosoftDynamicsCRMadoxioApplication Create(this IApplications operations, MicrosoftDynamicsCRMadoxioApplication body, string prefer = "return=representation")
 {
     return(operations.CreateAsync(body, prefer).GetAwaiter().GetResult());
 }
Exemple #8
0
 /// <summary>
 /// Delete entity from adoxio_applications
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioApplicationid'>
 /// key: adoxio_applicationid of adoxio_application
 /// </param>
 /// <param name='ifMatch'>
 /// ETag
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteAsync(this IApplications operations, string adoxioApplicationid, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteWithHttpMessagesAsync(adoxioApplicationid, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Exemple #9
0
 /// <summary>
 /// Delete entity from adoxio_applications
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioApplicationid'>
 /// key: adoxio_applicationid of adoxio_application
 /// </param>
 /// <param name='ifMatch'>
 /// ETag
 /// </param>
 /// <param name='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse DeleteWithHttpMessages(this IApplications operations, string adoxioApplicationid, string ifMatch = default(string), Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.DeleteWithHttpMessagesAsync(adoxioApplicationid, ifMatch, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }
Exemple #10
0
 /// <summary>
 /// Update entity in adoxio_applications
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioApplicationid'>
 /// key: adoxio_applicationid of adoxio_application
 /// </param>
 /// <param name='body'>
 /// New property values
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task UpdateAsync(this IApplications operations, string adoxioApplicationid, MicrosoftDynamicsCRMadoxioApplication body, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.UpdateWithHttpMessagesAsync(adoxioApplicationid, body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Exemple #11
0
 /// <summary>
 /// Update entity in adoxio_applications
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioApplicationid'>
 /// key: adoxio_applicationid of adoxio_application
 /// </param>
 /// <param name='body'>
 /// New property values
 /// </param>
 /// <param name='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse UpdateWithHttpMessages(this IApplications operations, string adoxioApplicationid, MicrosoftDynamicsCRMadoxioApplication body, Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.UpdateWithHttpMessagesAsync(adoxioApplicationid, body, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }
Exemple #12
0
 /// <summary>
 /// Update entity in adoxio_applications
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioApplicationid'>
 /// key: adoxio_applicationid of adoxio_application
 /// </param>
 /// <param name='body'>
 /// New property values
 /// </param>
 public static void Update(this IApplications operations, string adoxioApplicationid, MicrosoftDynamicsCRMadoxioApplication body)
 {
     operations.UpdateAsync(adoxioApplicationid, body).GetAwaiter().GetResult();
 }
Exemple #13
0
 /// <summary>
 /// Get entity from adoxio_applications by key
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioApplicationid'>
 /// key: adoxio_applicationid of adoxio_application
 /// </param>
 /// <param name='select'>
 /// Select properties to be returned
 /// </param>
 /// <param name='expand'>
 /// Expand related entities
 /// </param>
 /// <param name='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse <MicrosoftDynamicsCRMadoxioApplication> GetByKeyWithHttpMessages(this IApplications operations, string adoxioApplicationid, IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>), Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.GetByKeyWithHttpMessagesAsync(adoxioApplicationid, select, expand, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }
Exemple #14
0
 /// <summary>
 /// Add new entity to adoxio_applications
 /// </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 <MicrosoftDynamicsCRMadoxioApplication> CreateWithHttpMessages(this IApplications operations, MicrosoftDynamicsCRMadoxioApplication body, string prefer = "return=representation", Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.CreateWithHttpMessagesAsync(body, prefer, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Get entity from adoxio_applications by key
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioApplicationid'>
 /// key: adoxio_applicationid
 /// </param>
 /// <param name='select'>
 /// Select properties to be returned
 /// </param>
 /// <param name='expand'>
 /// Expand related entities
 /// </param>
 public static MicrosoftDynamicsCRMadoxioApplication GetByKey(this IApplications operations, string adoxioApplicationid, IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>))
 {
     return(operations.GetByKeyAsync(adoxioApplicationid, select, expand).GetAwaiter().GetResult());
 }
Exemple #16
0
 /// <summary>
 /// Get entities from adoxio_applications
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='top'>
 /// </param>
 /// <param name='filter'>
 /// </param>
 /// <param name='count'>
 /// </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 MicrosoftDynamicsCRMadoxioApplicationCollection Get(this IApplications operations, int?top = default(int?), 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, filter, count, orderby, select, expand).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Get entity from adoxio_applications by key
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='adoxioApplicationid'>
 /// key: adoxio_applicationid
 /// </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 <MicrosoftDynamicsCRMadoxioApplication> GetByKeyAsync(this IApplications operations, string adoxioApplicationid, IList <string> select = default(IList <string>), IList <string> expand = default(IList <string>), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetByKeyWithHttpMessagesAsync(adoxioApplicationid, select, expand, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Exemple #18
0
 /// <summary>
 /// Get entities from adoxio_applications
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='top'>
 /// </param>
 /// <param name='filter'>
 /// </param>
 /// <param name='count'>
 /// </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 <MicrosoftDynamicsCRMadoxioApplicationCollection> GetAsync(this IApplications operations, int?top = default(int?), 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, filter, count, orderby, select, expand, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Exemple #19
0
 public Error GetError(string id, IApplications applications)
 {
     return _persistor.GetError(id, applications);
 }
Exemple #20
0
 /// <summary>
 /// Get entities from adoxio_applications
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='top'>
 /// </param>
 /// <param name='filter'>
 /// </param>
 /// <param name='count'>
 /// </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='customHeaders'>
 /// Headers that will be added to request.
 /// </param>
 public static HttpOperationResponse <MicrosoftDynamicsCRMadoxioApplicationCollection> GetWithHttpMessages(this IApplications operations, int?top = default(int?), 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>), Dictionary <string, List <string> > customHeaders = null)
 {
     return(operations.GetWithHttpMessagesAsync(top, filter, count, orderby, select, expand, customHeaders, CancellationToken.None).ConfigureAwait(false).GetAwaiter().GetResult());
 }