Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: FransBouma/Massive
base: 0726eb304d
...
head fork: FransBouma/Massive
compare: e1206250d7
Checking mergeability… Don't worry, you can still create the pull request.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Oct 02, 2012
@eiu165 eiu165 put [] around table name
we had a table called Order which is a keyword in sql.
using [] around the table name will allow for a statement like this.
INSERT INTO [Order] (Product) VALUES ('Hat')
ce1d125
Commits on Dec 03, 2012
@robconery robconery Merge pull request #158 from eiu165/master
put [] around the table name in the CreateInsertCommand
e120625
Showing with 1 addition and 1 deletion.
  1. +1 −1  Massive.cs
View
2  Massive.cs
@@ -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) {

No commit comments for this range

Something went wrong with that request. Please try again.