Class ProductService#

Inheritance Relationships#

Base Type#

Class Documentation#

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

Public Functions

ProductService ()#
Task<List<Product>> FindAll (Dictionary<string, string> query = null)#

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

Task<Product> Create (Product obj)#

Create a new product.

Task<Product> FindById (string id)#

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

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

Updates a single product.

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