protected virtual bool HasReferences(DataSource ds) { if (ProductAttributeMapping.GetCountByAttributeId(ds, Id) > 0) { return(true); } return(false); }
public IList <ProductAttributeMapping> GetAllValuesByCategory(DataSource ds) { return(ProductAttributeMapping.GetAllByAttribute(ds, Id)); }