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