Skip to content

Commit 5a43822

Browse files
Fix log error not printing out primary key name (#335)
1 parent 6f23a5a commit 5a43822

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/SqlAsyncCollector.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ public PrimaryKey(string name, bool isIdentity)
3535
this.Name = name;
3636
this.IsIdentity = isIdentity;
3737
}
38+
39+
public override string ToString()
40+
{
41+
return this.Name;
42+
}
3843
}
3944

4045
/// <typeparam name="T">A user-defined POCO that represents a row of the user's table</typeparam>

0 commit comments

Comments
 (0)