Commit 6950c694 authored by Sam's avatar Sam

Merge pull request #66 from rayjezek/master

Rainbow: Ignore Id property when calling Table.Insert 
parents b3dc7d18 4fff0866
......@@ -54,6 +54,7 @@ public string TableName
{
var o = (object)data;
List<string> paramNames = GetParamNames(o);
paramNames.Remove("Id");
string cols = string.Join(",", paramNames);
string cols_params = string.Join(",", paramNames.Select(p => "@" + p));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment