/// <summary>
 /// Create a new ActivityType object.
 /// </summary>
 /// <param name="activityTypeId">Initial value of the ActivityTypeId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="prettyName">Initial value of the PrettyName property.</param>
 public static ActivityType CreateActivityType(global::System.Int32 activityTypeId, global::System.String name, global::System.String prettyName)
 {
     ActivityType activityType = new ActivityType();
     activityType.ActivityTypeId = activityTypeId;
     activityType.Name = name;
     activityType.PrettyName = prettyName;
     return activityType;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ActivityTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToActivityTypes(ActivityType activityType)
 {
     base.AddObject("ActivityTypes", activityType);
 }