/// <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(ActivityTypes activityTypes)
 {
     base.AddObject("ActivityTypes", activityTypes);
 }
 /// <summary>
 /// Create a new ActivityTypes object.
 /// </summary>
 /// <param name="activityTypeID">Initial value of the ActivityTypeID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static ActivityTypes CreateActivityTypes(global::System.Int32 activityTypeID, global::System.String name)
 {
     ActivityTypes activityTypes = new ActivityTypes();
     activityTypes.ActivityTypeID = activityTypeID;
     activityTypes.Name = name;
     return activityTypes;
 }