/// <summary> /// Deprecated Method for adding a new object to the PersonGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPersonGroups(PersonGroup personGroup) { base.AddObject("PersonGroups", personGroup); }
/// <summary> /// Create a new PersonGroup object. /// </summary> /// <param name="group_id">Initial value of the group_id property.</param> /// <param name="group_name">Initial value of the group_name property.</param> public static PersonGroup CreatePersonGroup(global::System.Int32 group_id, global::System.String group_name) { PersonGroup personGroup = new PersonGroup(); personGroup.group_id = group_id; personGroup.group_name = group_name; return personGroup; }