code: public static CommerceDiscountRel fetchByCD_CN_First(
  		long commerceDiscountId, long classNameId,
  		OrderByComparator<CommerceDiscountRel> orderByComparator) {
  		return getPersistence()
  				   .fetchByCD_CN_First(commerceDiscountId, classNameId,
  			orderByComparator);
  	}
docs: Returns the first commerce discount rel in the ordered set where commerceDiscountId = &#63; and classNameId = &#63;.
  
  @param commerceDiscountId the commerce discount ID
  @param classNameId the class name ID
  @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
  @return the first matching commerce discount rel, or <code>null</code> if a matching commerce discount rel could not be found