For the CHAR/VARCHAR columns we need to make sure to use IsUnicode(false) in the configuration files. I profiled the current query and I see that the parameter is passed as nvarchar(4000) for char(10) columns. The size problem is a EF problem, but nvarchar can be avoided by this enhancement.
Comments: Cool thanks for this! I'm about to jump on a flight. Back on the 3rd Sept. Could you create a pull request with all these code change in it? I'll pull your changes into the main branch when I get back. Thanks in advance. Simon
Comments: Cool thanks for this! I'm about to jump on a flight. Back on the 3rd Sept. Could you create a pull request with all these code change in it? I'll pull your changes into the main branch when I get back. Thanks in advance. Simon