skip to Main Content

asp.net 6 EF using MySql Database not working

I am trying to connect my Web API build in asp.net 6 with MySql and I am having a lot of trouble My Service looks like this builder.Services.AddDbContext<TicketApiContext>(options => options.UseMySQL("CONNECTION_STRING")); and my Database Context like this. using Microsoft.EntityFrameworkCore; namespace VelocityNetAPI.Data…

VIEW QUESTION

delete max value from column – Phpmyadmin

i have problem when executed this code in CodeIgniter it deletes all records not only the max value record although it works fine if i execute Sql query in phpmyadmin what wrong in PHP code my code: controller: $this->data->del_data_query('DELETE FROM…

VIEW QUESTION

Why Laravel don't show or execute new Routes? – Apache

I don't know if I'm so stupid or my laravel is broken, BUT, here it is. That's my api.php: Route::get('/airport', [AppHttpControllersAirportsController::class, 'index']); Route::post('/airports', [AppHttpControllersAirportsController::class, 'create']); Route::get('/registrator', [AppHttpControllersRegistrationController::class, 'index']); The airport and airports work great. It's add all data in db…

VIEW QUESTION
Back To Top
Search