NiceLuc / Monolith-Utils

0 stars 0 forks source link

Add support for different connection strings in our config files. #18

Open NiceLuc opened 1 week ago

NiceLuc commented 1 week ago

WFOIntelligenceEventing uses DwCode from API box. Most all others use InCode from COR box.

Todo

Research which contexts use which connection strings.

Should be setup something like this:

{
  "ConnectionString": "DwCode", /* <=== NOTICE */
  "SourceDirectoryPath": "C#\\Library\\inContact.Eventing\\Data\\",
  "DbmlFileName": "WFOIntelligenceEventing.dbml",
  "DesignerFileName": "WFOIntelligenceEventing.designer.cs",
  "RepositoryFileName": "WFOIntelligenceEventing\\WFOIntelligenceEventingRepository.cs"
}

This would mean that we have multiple user secret connection strings:

NiceLuc commented 14 hours ago

WorkAround: Pass a custom connection string with the -c flag.