From 6436e92fb9742b9d863c7f768dfb6ef1fec12b5a Mon Sep 17 00:00:00 2001 From: Solomon Victorino Date: Tue, 22 Jun 2021 10:48:50 -0700 Subject: [PATCH] Breaking: Return Date type instead of string --- Data.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data.cs b/Data.cs index 2a53d68..af1ca8b 100644 --- a/Data.cs +++ b/Data.cs @@ -230,7 +230,7 @@ private async Task> ParseReaderRow(DbDataReader reader) result[i] = null; else if (type == typeof(byte[]) || type == typeof(char[])) result[i] = Convert.ToBase64String((byte[])result[i]); - else if (type == typeof(Guid) || type == typeof(DateTime)) + else if (type == typeof(Guid)) result[i] = result[i].ToString(); else if (type == typeof(IDataReader)) result[i] = "";