/// <summary> /// Create a new ApplicantState object. /// </summary> /// <param name="stateID">Initial value of the StateID property.</param> /// <param name="stateName">Initial value of the StateName property.</param> public static ApplicantState CreateApplicantState(global::System.Int32 stateID, global::System.String stateName) { ApplicantState applicantState = new ApplicantState(); applicantState.StateID = stateID; applicantState.StateName = stateName; return applicantState; }
/// <summary> /// Deprecated Method for adding a new object to the ApplicantStates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToApplicantStates(ApplicantState applicantState) { base.AddObject("ApplicantStates", applicantState); }