CustomManufacturerInfoProvider

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

This class manages the manufacturer lookup table. It uses the ManufacturerInfo class.

 

object GetManufacturerInfo(int manufacturerId) – returns the ManufacturerInfo object selected by given ID
object GetManufacturerInfo(string manufacturerName) – returns the ManufacturerInfo object selected by given name.
void SetManufacturerInfo(object manufacturer) – updates/inserts the manufacturer record with data from given ManufacturerInfo object. If ManufacturerID is set, updates the record, if not inserts the record.
void DeleteManufacturerInfo(int manufacturerId) – deletes the specified manufacturer record.
bool CheckDependencies(int manufacturerId) – returns true if some objects depend on given manufacturer record.
DataSet GetAllManufacturers(object status) – returns the DataSet of all the manufacturers. See database reference for column details.
object GetManufacturerInfos(string where, string orderBy) - returns the DataSet of all the manufacturers filtered by where condition and ordered by orderBy expression.

 

Page url: http://devnet.kentico.com/docs/ecommerceguide/index.html?custommanufacturerinfoprovider.htm