DataAction / AdoNetCore.AseClient

AdoNetCore.AseClient - a .NET Core DB Provider for SAP ASE
Apache License 2.0
108 stars 45 forks source link

Implement NamedParameters #129

Closed c-j-hughes closed 5 years ago

c-j-hughes commented 5 years ago

The reference driver supports a NamedParameters connection string setting that, when set to false, allows a SQL command syntax like: select * from titles where title_id = ?.

The AseConnection and AseCommand types also feature a NamedParameters property that can be used to configure the same setting.

This feature was added to support a simpler migration of SQL commands from JDBC and ODBC sources which use the ? syntax instead of the @param syntax.

This setting should be supported on .NET Core.