Hello,
I have PHP and I'm a fan of Drupal,
They did a super system for constructing queries like this:
Code:
db_query ( "INSERT INTO Table1 (Name, AGE) VALUES (% s,% s,% d", $ name, $ name, $ age);
Is there a way to do something equivalent or menu in C # (or if it already exists in a native)?
There String.Format (), but the number of arguments is limited to a maximum of 3, there is always the possibility of going through a table, but it does not allow the addition of characters ( "% s", "% s ",% d).
At worst it is parameterized queries.
Bookmarks