/// <summary> /// Create a new Accomplishment object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="companyId">Initial value of the CompanyId property.</param> /// <param name="personId">Initial value of the PersonId property.</param> public static Accomplishment CreateAccomplishment(global::System.Int32 id, global::System.String description, global::System.String companyId, global::System.Int32 personId) { Accomplishment accomplishment = new Accomplishment(); accomplishment.Id = id; accomplishment.Description = description; accomplishment.CompanyId = companyId; accomplishment.PersonId = personId; return accomplishment; }
/// <summary> /// Deprecated Method for adding a new object to the Accomplishments EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAccomplishments(Accomplishment accomplishment) { base.AddObject("Accomplishments", accomplishment); }