/// <summary> /// Deprecated Method for adding a new object to the UsersRights EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUsersRights(UsersRights usersRights) { base.AddObject("UsersRights", usersRights); }
/// <summary> /// Create a new UsersRights object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="rightId">Initial value of the RightId property.</param> public static UsersRights CreateUsersRights(global::System.Int32 id, global::System.Int32 userId, global::System.Int32 rightId) { UsersRights usersRights = new UsersRights(); usersRights.Id = id; usersRights.UserId = userId; usersRights.RightId = rightId; return usersRights; }