Example #1
0
        public static Guid GetGuid(this ResultSet result, int index)
        {
#if EMBY
#if NETCOREAPP
            return(new Guid(result.GetBlob(index)));
#else
            return(new Guid(result.GetBlob(index).ToArray()));
#endif
#else
            return(new Guid(result[index].ToBlob().ToArray()));
#endif
        }
Example #2
0
 public static bool GetBoolean(this ResultSet result, int index)
 {
     return(result[index].ToBool());
 }
Example #3
0
 public static string GetString(this ResultSet result, int index)
 {
     return(result[index].ToString());
 }
Example #4
0
 public static bool IsDBNull(this ResultSet result, int index)
 {
     return(result[index].SQLiteType == SQLiteType.Null);
 }
Example #5
0
 public static float GetFloat(this ResultSet result, int index)
 {
     return(result[index].ToFloat());
 }
Example #6
0
 public static long GetInt64(this ResultSet result, int index)
 {
     return(result[index].ToInt64());
 }
Example #7
0
 public static int GetInt(this ResultSet result, int index)
 {
     return(result[index].ToInt());
 }