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