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