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