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