/// <summary> /// Deprecated Method for adding a new object to the HabboPermissionGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHabboPermissionGroups(DBHabboPermissionGroup dBHabboPermissionGroup) { base.AddObject("HabboPermissionGroups", dBHabboPermissionGroup); }
/// <summary> /// Create a new DBHabboPermissionGroup object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="groupId">Initial value of the GroupId property.</param> public static DBHabboPermissionGroup CreateDBHabboPermissionGroup(global::System.Int32 id, global::System.Int32 groupId) { DBHabboPermissionGroup dBHabboPermissionGroup = new DBHabboPermissionGroup(); dBHabboPermissionGroup.Id = id; dBHabboPermissionGroup.GroupId = groupId; return dBHabboPermissionGroup; }