/// <summary> /// Create a new RegistrationFee object. /// </summary> /// <param name="registrationFeeID">Initial value of the RegistrationFeeID property.</param> /// <param name="minYearsExperience">Initial value of the MinYearsExperience property.</param> /// <param name="maxYearsExperience">Initial value of the MaxYearsExperience property.</param> /// <param name="fee">Initial value of the Fee property.</param> public static RegistrationFee CreateRegistrationFee(global::System.Int32 registrationFeeID, global::System.Int32 minYearsExperience, global::System.Int32 maxYearsExperience, global::System.Int32 fee) { RegistrationFee registrationFee = new RegistrationFee(); registrationFee.RegistrationFeeID = registrationFeeID; registrationFee.MinYearsExperience = minYearsExperience; registrationFee.MaxYearsExperience = maxYearsExperience; registrationFee.Fee = fee; return(registrationFee); }
/// <summary> /// Create a new RegistrationFee object. /// </summary> /// <param name="registrationFeeID">Initial value of the RegistrationFeeID property.</param> /// <param name="minYearsExperience">Initial value of the MinYearsExperience property.</param> /// <param name="maxYearsExperience">Initial value of the MaxYearsExperience property.</param> /// <param name="fee">Initial value of the Fee property.</param> public static RegistrationFee CreateRegistrationFee(global::System.Int32 registrationFeeID, global::System.Int32 minYearsExperience, global::System.Int32 maxYearsExperience, global::System.Int32 fee) { RegistrationFee registrationFee = new RegistrationFee(); registrationFee.RegistrationFeeID = registrationFeeID; registrationFee.MinYearsExperience = minYearsExperience; registrationFee.MaxYearsExperience = maxYearsExperience; registrationFee.Fee = fee; return registrationFee; }
/// <summary> /// Deprecated Method for adding a new object to the RegistrationFees EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRegistrationFees(RegistrationFee registrationFee) { base.AddObject("RegistrationFees", registrationFee); }