Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

removed brackets from INSERT INTO #175

Merged
merged 1 commit into from Dec 20, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
View
@@ -424,7 +424,7 @@ private dynamic BuildPagedResult(string sql = "", string primaryKeyField = "", s
var settings = (IDictionary<string, object>)expando;
var sbKeys = new StringBuilder();
var sbVals = new StringBuilder();
- var stub = "INSERT INTO [{0}] ({1}) \r\n VALUES ({2})";
+ var stub = "INSERT INTO {0} ({1}) \r\n VALUES ({2})";
result = CreateCommand(stub, null);
int counter = 0;
foreach (var item in settings) {