dotnet ef dbcontext scaffold --project ./EVCB_OCPP.Domain/EVCB_OCPP.Domain.csproj "data source=dev-ebus.database.windows.net;initial catalog=StandardOCPP_ConnectionLog;persist security info=True;user id=dev-ebus;password=ex#1r$vaz;MultipleActiveResultSets=True;App=EntityFramework" Microsoft.EntityFrameworkCore.SqlServer

dotnet ef dbcontext scaffold --project ./EVCB_OCPP.Domain/EVCB_OCPP.Domain.csproj "data source=dev-ebus.database.windows.net;initial catalog=StandardOCPP_Main;persist security info=True;user id=dev-ebus;password=ex#1r$vaz;MultipleActiveResultSets=True;App=EntityFramework" Microsoft.EntityFrameworkCore.SqlServer --output-dir "./Models/MainDb" --context-dir "./"


dotnet ef dbcontext scaffold --project ./EVCB_OCPP.Domain/EVCB_OCPP.Domain.csproj "data source=dev-ebus.database.windows.net;initial catalog=StandardOCPP_MeterValue;persist security info=True;user id=dev-ebus;password=ex#1r$vaz;MultipleActiveResultSets=True;App=EntityFramework" Microsoft.EntityFrameworkCore.SqlServer --output-dir "./Models/MeterValueDb" --context-dir "./"

dotnet ef dbcontext scaffold --project ./EVCB_OCPP.Domain/EVCB_OCPP.Domain.csproj "data source=dev-ebus.database.windows.net;initial catalog=StandardOCPP_ConnectionLog;persist security info=True;user id=dev-ebus;password=ex#1r$vaz;MultipleActiveResultSets=True;App=EntityFramework" Microsoft.EntityFrameworkCore.SqlServer --output-dir "./Models/ConnectionLogDB" --context-dir "./"

dotnet ef migrations add InitialCreate --project ./EVCB_OCPP.Domain/EVCB_OCPP.Domain.csproj --context MainDBContext

dotnet ef migrations list --project ./EVCB_OCPP.Domain/EVCB_OCPP.Domain.csproj --context MainDBContext

dotnet ef database update --project ./EVCB_OCPP.Domain/EVCB_OCPP.Domain.csproj --context MainDBContext

dotnet ef migrations add InitialCreate --project ./EVCB_OCPP.Domain/EVCB_OCPP.Domain.csproj --context MeterValueDBContext

dotnet ef database update --project ./EVCB_OCPP.Domain/EVCB_OCPP.Domain.csproj --context MeterValueDBContext

dotnet ef migrations add InitialCreate --project ./EVCB_OCPP.Domain/EVCB_OCPP.Domain.csproj --context ConnectionLogDBContext

dotnet ef database update --project ./EVCB_OCPP.Domain/EVCB_OCPP.Domain.csproj --context ConnectionLogDBContext