/// <summary>
 /// Deprecated Method for adding a new object to the rightsuser EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTorightsuser(rightsuser rightsuser)
 {
     base.AddObject("rightsuser", rightsuser);
 }
 /// <summary>
 /// Create a new rightsuser object.
 /// </summary>
 /// <param name="rightsuserid">Initial value of the rightsuserid property.</param>
 public static rightsuser Createrightsuser(global::System.Int32 rightsuserid)
 {
     rightsuser rightsuser = new rightsuser();
     rightsuser.rightsuserid = rightsuserid;
     return rightsuser;
 }