Skip to content

Commit c0599f2

Browse files
Filip KosikFilip Kosik
authored andcommitted
Time data type support
1 parent 4d63e70 commit c0599f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ScriptWriter.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ private StringBuilder SerializeRowValues(DataRow row, DataTable colInfoTable, st
139139
case "date":
140140
v = String.Format("'{0:yyyyMMdd}'", row[col]);
141141
break;
142+
case "time":
143+
v = String.Format("'{0:HH:mm:ss.fff}'", row[col]);
144+
break;
142145
case "tinyint":
143146
case "int":
144147
case "float":

0 commit comments

Comments
 (0)