Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Do SQL syntax conversion for ExecuteNonQuery #184

Open
migila opened this issue Feb 22, 2019 · 0 comments
Open

Do SQL syntax conversion for ExecuteNonQuery #184

migila opened this issue Feb 22, 2019 · 0 comments

Comments

@migila
Copy link

migila commented Feb 22, 2019

If you write all your SQL commands in MS Access syntax, you can create your own sql syntax convertor by inheriting SqlServerQuerySqlGenerator class and overriding GenerateSql method.
This method is called every time you use IDatabase.Query or IDatabase.ExecuteScalar, but is not called in case of IDatabase.ExecuteNonQuery.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants