Ejemplo n.º 1
0
 /// <summary>
 /// Create a new Person object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="copyID">Initial value of the CopyID property.</param>
 /// <param name="session">Initial value of the Session property.</param>
 /// <param name="leg_ID">Initial value of the Leg_ID property.</param>
 /// <param name="fullName">Initial value of the FullName property.</param>
 public static Person CreatePerson(global::System.Int32 id, global::System.Int32 copyID, global::System.Int32 session, global::System.String leg_ID, global::System.String fullName)
 {
     Person person = new Person();
     person.ID = id;
     person.CopyID = copyID;
     person.Session = session;
     person.Leg_ID = leg_ID;
     person.FullName = fullName;
     return person;
 }
Ejemplo n.º 2
0
 /// <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);
 }