Georgi Y
Georgi Y
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
Yes, I realize that as well, just trying to figure it out
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
yep, I did try it, however not sure how to do the relational dabase management,
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
The best behavior for me is when a new hotel is created, to support single-tenancy so use one db for all hotels added, where each hotel is isolated, and when making changes, the changes are only on this hotel
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
If you could point me to how to refactor it, I would be very thankful, trying to re-factor it from weeks, but still no luck
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
public Configuration() { AutomaticMigrationsEnabled = true; AutomaticMigrationDataLossAllowed = true; }
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
and configuration, file form Migrations folder
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
Here are the Hotel Services, and HotelController
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
sorry about that, not sure what to share, as it is quite a lot, is ok to share the github repo, or just, the Hotel Service and Hotel controller where the methods are ?
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
sorry about that, not sure what to share, as it is quite a lot, is ok to share the github repo, or just, the Hotel Service and Hotel controller where the methods are ?
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
maybe the claryfying quesiton would do I still need to create the MDF file
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
Right, yes, it is a bit confusing to me, because it is creating new db, however it is exaclty the same as previous one, and when I edit the new db e.g new hotel, all hotels are changing event if it is new db which is confusing, not sure if I can post the hotel controller and hotel service, just advice how I can re-factor it ?
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
I am out of ideas already
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
the way I have started is totally wrong
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
Yes, currently, trying to understand how to change it basically,
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
sorry for the confusion, I meant it was a multi-tenant, and I want to re-factor it to single-tenant architecture
35 replies
CC#
Created by Georgi Y on 4/9/2025 in #help
single-tenant
@Jimmacle Hi sorry, I know it is confusing, yes, this is multi-tenant I have started it that way, but I realize it should not be that way, so now I am trying to re-factor it to single-tenant
35 replies