/// <summary>
 /// Create a new rb_UserDesktop object.
 /// </summary>
 /// <param name="userID">Initial value of the UserID property.</param>
 /// <param name="moduleID">Initial value of the ModuleID property.</param>
 /// <param name="tabID">Initial value of the TabID property.</param>
 /// <param name="portalID">Initial value of the PortalID property.</param>
 /// <param name="state">Initial value of the State property.</param>
 public static rb_UserDesktop Createrb_UserDesktop(global::System.Int32 userID, global::System.Int32 moduleID, global::System.Int32 tabID, global::System.Int32 portalID, global::System.Int16 state)
 {
     rb_UserDesktop rb_UserDesktop = new rb_UserDesktop();
     rb_UserDesktop.UserID = userID;
     rb_UserDesktop.ModuleID = moduleID;
     rb_UserDesktop.TabID = tabID;
     rb_UserDesktop.PortalID = portalID;
     rb_UserDesktop.State = state;
     return rb_UserDesktop;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the rb_UserDesktop EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTorb_UserDesktop(rb_UserDesktop rb_UserDesktop)
 {
     base.AddObject("rb_UserDesktop", rb_UserDesktop);
 }