/// <summary>
 /// Deprecated Method for adding a new object to the RolesRights EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRolesRights(RolesRights rolesRights)
 {
     base.AddObject("RolesRights", rolesRights);
 }
 /// <summary>
 /// Create a new RolesRights object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rightId">Initial value of the RightId property.</param>
 /// <param name="roleId">Initial value of the RoleId property.</param>
 public static RolesRights CreateRolesRights(global::System.Int32 id, global::System.Int32 rightId, global::System.Int32 roleId)
 {
     RolesRights rolesRights = new RolesRights();
     rolesRights.Id = id;
     rolesRights.RightId = rightId;
     rolesRights.RoleId = roleId;
     return rolesRights;
 }