partial void OnCalculationFrequencyChanging(global::Microsoft.Dynamics.DataEntities.PayrollCalculationFrequency value);
public static PremiumEarningCode CreatePremiumEarningCode(string premiumEarningCode1, global::Microsoft.Dynamics.DataEntities.PayrollCalculationFrequency calculationFrequency) { PremiumEarningCode premiumEarningCode = new PremiumEarningCode(); premiumEarningCode.PremiumEarningCode1 = premiumEarningCode1; if ((calculationFrequency == null)) { throw new global::System.ArgumentNullException("calculationFrequency"); } premiumEarningCode.CalculationFrequency = calculationFrequency; return(premiumEarningCode); }