예제 #1
0
 /// <summary>
 /// Create a new person object.
 /// </summary>
 /// <param name="person_id">Initial value of the person_id property.</param>
 /// <param name="name">Initial value of the name property.</param>
 /// <param name="birthplace">Initial value of the birthplace property.</param>
 public static person Createperson(global::System.Int32 person_id, global::System.String name, Location birthplace)
 {
     person person = new person();
     person.person_id = person_id;
     person.name = name;
     person.birthplace = StructuralObject.VerifyComplexObjectIsNotNull(birthplace, "birthplace");
     return person;
 }
예제 #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);
 }