Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HabboPermissions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHabboPermissions(DBHabboPermission dBHabboPermission)
 {
     base.AddObject("HabboPermissions", dBHabboPermission);
 }
Example #2
0
 /// <summary>
 /// Create a new DBHabboPermission object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="permissionId">Initial value of the PermissionId property.</param>
 /// <param name="permissionState">Initial value of the PermissionState property.</param>
 public static DBHabboPermission CreateDBHabboPermission(global::System.Int32 id, global::System.Int32 permissionId, global::System.String permissionState)
 {
     DBHabboPermission dBHabboPermission = new DBHabboPermission();
     dBHabboPermission.Id = id;
     dBHabboPermission.PermissionId = permissionId;
     dBHabboPermission.PermissionState = permissionState;
     return dBHabboPermission;
 }