mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-28 13:21:19 +00:00
Fix SA 1116 warnings
This commit is contained in:
parent
6f9beef732
commit
ec91d3893d
19 changed files with 96 additions and 48 deletions
|
|
@ -44,7 +44,8 @@ namespace Emby.Server.Implementations.Data
|
|||
|
||||
var users = userDatasTableExists ? null : userManager.Users;
|
||||
|
||||
connection.RunInTransaction(db =>
|
||||
connection.RunInTransaction(
|
||||
db =>
|
||||
{
|
||||
db.ExecuteAll(string.Join(";", new[] {
|
||||
|
||||
|
|
@ -178,7 +179,8 @@ namespace Emby.Server.Implementations.Data
|
|||
|
||||
using (var connection = GetConnection())
|
||||
{
|
||||
connection.RunInTransaction(db =>
|
||||
connection.RunInTransaction(
|
||||
db =>
|
||||
{
|
||||
SaveUserData(db, internalUserId, key, userData);
|
||||
}, TransactionMode);
|
||||
|
|
@ -246,7 +248,8 @@ namespace Emby.Server.Implementations.Data
|
|||
|
||||
using (var connection = GetConnection())
|
||||
{
|
||||
connection.RunInTransaction(db =>
|
||||
connection.RunInTransaction(
|
||||
db =>
|
||||
{
|
||||
foreach (var userItemData in userDataList)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue