Avanade / NTangle

nTangle is a Change Data Capture (CDC) code generation tool and corresponding runtime. Unlike other CDC-based technologies which replicate changes to rows, nTangle is designed to replicate business entity (aggregate) changes.
MIT License
15 stars 3 forks source link

Mapping to unknown type smalldatetime #18

Closed ericung closed 2 years ago

ericung commented 2 years ago

How do I handle mapping smalldatetime to a current .NET type for the CodeGen part of the code? I think smalldatetime in SqlServer to .NET is outdated based on my current research. This is the error that pops up when running AppName.CodeGen for nTangle.

'Database data type 'smalldatetime' does not have corresponding .NET type mapping defined.'

chullybun commented 2 years ago

Hi @ericung - change has been made to DbEx package (version v1.0.14) to add smalldatetime (see repo). Add the latest DbEx package dependency to your project which should override NTangle referenced version to resolve your issue. Let me know how you get on?

wborowiecki commented 2 years ago

Hi @chullybun, when nuget with this version will be available? Right now the latest version of nTanble is 1.0.5 that uses DbEx 1.0.11.

chullybun commented 2 years ago

hi @wborowiecki, updated and published new package; see v1.0.6. apologies for delay, turns out there was another issue in DbEx that needed to be resolved - should be good to go now :-)