コード例 #1
0
        /// <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);
        }
コード例 #2
0
 /// <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;
 }
コード例 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RegistrationFees EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRegistrationFees(RegistrationFee registrationFee)
 {
     base.AddObject("RegistrationFees", registrationFee);
 }
コード例 #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RegistrationFees EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRegistrationFees(RegistrationFee registrationFee)
 {
     base.AddObject("RegistrationFees", registrationFee);
 }