diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-08-19 17:03:21 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-08-19 17:03:21 +0200 |
| commit | 3fd489d1cb85d654b4b32d2ffd901832a38adbe9 (patch) | |
| tree | 2b2c40549d6f893a18ff3611fe0e1afd4f6f9952 /Emby.Server.Implementations/Data/SqliteExtensions.cs | |
| parent | c8474f734c779d61444a6e48de9ff7825d7904c9 (diff) | |
Upgrade SQLitePCL to v2
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteExtensions.cs')
| -rw-r--r-- | Emby.Server.Implementations/Data/SqliteExtensions.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteExtensions.cs b/Emby.Server.Implementations/Data/SqliteExtensions.cs index c0f27b25a..0fb2c10fd 100644 --- a/Emby.Server.Implementations/Data/SqliteExtensions.cs +++ b/Emby.Server.Implementations/Data/SqliteExtensions.cs @@ -18,10 +18,6 @@ namespace Emby.Server.Implementations.Data connection.RunInTransaction(conn => { - //foreach (var query in queries) - //{ - // conn.Execute(query); - //} conn.ExecuteAll(string.Join(";", queries)); }); } @@ -38,7 +34,8 @@ namespace Emby.Server.Implementations.Data public static Guid ReadGuidFromBlob(this IResultSetValue result) { - return new Guid(result.ToBlob()); + // TODO: Remove ToArray when upgrading to netstandard2.1 + return new Guid(result.ToBlob().ToArray()); } public static string ToDateTimeParamValue(this DateTime dateValue) |
