/// <summary>
 /// Deprecated Method for adding a new object to the Purposes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPurposes(Purpose purpose)
 {
     base.AddObject("Purposes", purpose);
 }
 private bool FilterPurpos(Purpose entity)
 {
     return (entity.PurposeId == this.PurposeId);
 }
 /// <summary>
 /// Create a new Purpose object.
 /// </summary>
 /// <param name="purposeId">Initial value of the PurposeId property.</param>
 public static Purpose CreatePurpose(global::System.Int32 purposeId)
 {
     Purpose purpose = new Purpose();
     purpose.PurposeId = purposeId;
     return purpose;
 }