Avanade/Beef

CDC codegen outputs errant code where there is a single left outer join specified

Closed this issue · 0 comments

Where specifying only a single CdcJoin that is not CDC-related; for example Type is Left then the XxxData class has an errant , character output.

<Cdc Name="Xxx" ExcludeColumns="CreateUser, CreateDate, LastUpdateUser, LastUpdateDate">
  <CdcJoin Name="XxxType" Type="Left" IncludeColumns="XxxTypeCode">
    <CdcJoinOn Name="XxxTypeId" />
  </CdcJoin>
</Cdc>

Also, the AddBeefLoggerEventPublisher is adding the service as a singleton, versus scoped. This is causing the CDC background services to fail.