SqlHelper.FixCommandText method
namespace: Serenity.Data assembly: Serenity.Net.Data
Fixes the command text for target dialect by replacing brackets ([]), and parameter prefixes (@).
public static string FixCommandText(string commandText, ISqlDialect dialect)
parameter | description |
---|---|
commandText | The command text. |
dialect | The dialect. |
Return Value
Fixed query.
See Also
- interface ISqlDialect
- class SqlHelper