예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PersonEmployments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPersonEmployments(PersonEmployments personEmployments)
 {
     base.AddObject("PersonEmployments", personEmployments);
 }
예제 #2
0
 /// <summary>
 /// Create a new PersonEmployments object.
 /// </summary>
 /// <param name="personEmploymentID">Initial value of the PersonEmploymentID property.</param>
 /// <param name="personID">Initial value of the PersonID property.</param>
 /// <param name="isCurrent">Initial value of the IsCurrent property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 public static PersonEmployments CreatePersonEmployments(global::System.Int32 personEmploymentID, global::System.Int32 personID, global::System.Boolean isCurrent, global::System.DateTime addDate)
 {
     PersonEmployments personEmployments = new PersonEmployments();
     personEmployments.PersonEmploymentID = personEmploymentID;
     personEmployments.PersonID = personID;
     personEmployments.IsCurrent = isCurrent;
     personEmployments.AddDate = addDate;
     return personEmployments;
 }