As GeneralConnection.ExecuteNonQuery gets depricated I was wondering how to retrieve the number of affected rows when using DataQuery("custom.insertquery"). The depricated code looks like this:
GeneralConnection.ExecuteNonQuery
DataQuery("custom.insertquery")
return ConnectionHelper.GetConnection().ExecuteNonQuery("custom.insertquery", parameters);
Best Regards, Florian
Hi,
You have two options:
1) Use method GeneralConnection.ExecuteNonQuery(QueryParameters query) as Obsolete attribute says
2) Use method ConnectionHelper.ExecuteNonQuery
Please, sign in to be able to submit a new answer.