public static DateTime ReadDateTime(this ResultSetValue result)
        {
            var dateText = result.ToString();

            return(DateTime.ParseExact(
                       dateText, _datetimeFormats,
                       DateTimeFormatInfo.InvariantInfo,
                       DateTimeStyles.None).ToUniversalTime());
        }
Esempio n. 2
0
 public static Guid ReadGuidFromBlob(this ResultSetValue result)
 {
     return(new Guid(result.ToBlob()));
 }
Esempio n. 3
0
 public static bool IsDbNull(this ResultSetValue result)
 {
     return(result.SQLiteType == SQLiteType.Null);
 }