namespace PartnerDAL.DTO.ClientDetail { // Minimal request for registering a NEW ConnectionName against an EXISTING physical // database — deliberately narrower than core provisioning's OnboardClient (which // creates a brand-new database per client and auto-derives ConnectionName/DatabaseName // internally, with no way for a caller to specify either). This is for the opposite // case: several named connections sharing one already-provisioned database (e.g. // ConnectionName "Sankar", "Sugesh" both pointing at DatabaseName "DEMO"), so each can // carry its own independent PartnerProductId/white-label assignment. public class RegisterConnectionDTO { public string ConnectionName { get; set; } = ""; public string DatabaseName { get; set; } = ""; // The client/site this connection represents for white-labeling purposes — a NEW // ClientId should be chosen per person (see ClientDetailBLL — one CLIENTID can only // carry one PartnerProductId at a time, so distinct people needing distinct // branding need distinct ClientId values even when sharing one DatabaseName). public int ClientId { get; set; } public int ClientSiteId { get; set; } } }