Insert/Update data to Many to Many Entity Framework . How do I do it?
My context is => Using this model via Entity Framework code 1st, data table in database becomes => 1) User Table 2) Role Table 3) UserRole Table - A new linked table created automatically Model for User is => Model for Role is => and my O Data query for inserting record for single User/Role table working properly Now, what query should I write, when I want to Insert record to UserRole table can someone have any idea // Fetch the user. var user = await metadataManagentClient.For<User>().FirstOrDefaultAsync(x => x.Name == "Test"); // If you want to add a new role. var newRole = new Role() { Name