CustomManufacturerInfoProvider

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 with all the manufacturers. See database reference for column details.