예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HabboPermissionGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHabboPermissionGroups(DBHabboPermissionGroup dBHabboPermissionGroup)
 {
     base.AddObject("HabboPermissionGroups", dBHabboPermissionGroup);
 }
예제 #2
0
 /// <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;
 }