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