Feature request type
New feature
Is your feature request related to a problem?
This is a super cool library! I was just playing around with it and found that it doesn't seem to work for ODBC
data sources. I know it's an older technology so I understand if it ends up being a won't fix. The way it treats parameters is very ugly, using ?
with no differentiation between parameters. Sadly the way your library generates queries ends up being incompatible.
Describe the solution you would like
Perhaps an option could be added for ODBC
support: SimpleBuilderSettings.Configure(parameterOdbcFormatting: true);
Then when the query is generated instead of inserting @p0
, @p1
, etc. it uses ?
, ?
, etc. I only took a brief look at the code so I don't know how how simple this actually would end up being in practice.
Describe alternatives you have considered
SimpleBuilderSettings.Configure(parameterNameTemplate: string.Empty, parameterPrefix: "?");
is actually pretty close although I'm not sure the string.Empty
is being respected. Regardless, the appended numbers will still cause a problem.
Pull Request
Code of Conduct