Class PurchaseService#

Inheritance Relationships#

Base Type#

Class Documentation#

class xbe.sdk.Services.PurchaseService : xbe.sdk.ServiceBase#

Public Functions

PurchaseService ()#
Task<List<Purchase>> FindAll (Dictionary<string, string> query = null)#

Returns all purchases from the system that the user has access to.

Task<Purchase> Create (Purchase obj)#

Create a new purchase.

Task<Purchase> FindById (string id)#

Returns a single purchase from the system that the user has access to.

Task<Purchase> Update (string id, Purchase obj)#

Updates a single purchase.

Task<long?> Count (Dictionary<string, string> query = null)#

Retrieves the Entities Count based on the given criteria.

Return:

Entity Count

Task Delete (string id)#

Deletes an instance of T with the specified unique identifier.

Return:

Task

Task Truncate (Dictionary<string, string> query = null)#

Deletes all Entities from the service.

Return:

Task