Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PersonTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPersonTypes(PersonType personType)
 {
     base.AddObject("PersonTypes", personType);
 }
Example #2
0
 /// <summary>
 /// Create a new PersonType object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 public static PersonType CreatePersonType(global::System.Int32 id)
 {
     PersonType personType = new PersonType();
     personType.Id = id;
     return personType;
 }