/// <summary>
 /// Deprecated Method for adding a new object to the People EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPeople(Person person)
 {
     base.AddObject("People", person);
 }
 /// <summary>
 /// Create a new Person object.
 /// </summary>
 /// <param name="personCode">Initial value of the PersonCode property.</param>
 /// <param name="forename">Initial value of the Forename property.</param>
 /// <param name="organizationCode">Initial value of the OrganizationCode property.</param>
 /// <param name="phonePrefix">Initial value of the PhonePrefix property.</param>
 /// <param name="phoneNo">Initial value of the PhoneNo property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="logDate">Initial value of the LogDate property.</param>
 public static Person CreatePerson(global::System.String personCode, global::System.String forename, global::System.String organizationCode, global::System.String phonePrefix, global::System.String phoneNo, global::System.String userId, global::System.DateTime logDate)
 {
     Person person = new Person();
     person.PersonCode = personCode;
     person.Forename = forename;
     person.OrganizationCode = organizationCode;
     person.PhonePrefix = phonePrefix;
     person.PhoneNo = phoneNo;
     person.UserId = userId;
     person.LogDate = logDate;
     return person;
 }