aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/SqliteItemRepository.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-01-08 10:52:48 +0900
committerdkanada <dkanada@users.noreply.github.com>2020-01-08 10:52:48 +0900
commit73fac50e57982ac46aea2b487e9906826c3dc3b2 (patch)
treefba035667905c4cc55798906e584ab7d0f5c5b7f /Emby.Server.Implementations/Data/SqliteItemRepository.cs
parent8a0ef4103632b2888249af2f385e1e7bfc06fbfe (diff)
rename two properties based on code suggestions
Diffstat (limited to 'Emby.Server.Implementations/Data/SqliteItemRepository.cs')
-rw-r--r--Emby.Server.Implementations/Data/SqliteItemRepository.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
index 2ff19a639..c514846e5 100644
--- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs
+++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
@@ -6288,8 +6288,8 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Type
statement.TryBind("@Codec" + index, attachment.Codec);
statement.TryBind("@CodecTag" + index, attachment.CodecTag);
statement.TryBind("@Comment" + index, attachment.Comment);
- statement.TryBind("@Filename" + index, attachment.Filename);
- statement.TryBind("@MIMEType" + index, attachment.MIMEType);
+ statement.TryBind("@FileName" + index, attachment.FileName);
+ statement.TryBind("@MimeType" + index, attachment.MimeType);
}
statement.Reset();
@@ -6327,12 +6327,12 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Type
if (reader[6].SQLiteType != SQLiteType.Null)
{
- item.Filename = reader[5].ToString();
+ item.FileName = reader[5].ToString();
}
if (reader[6].SQLiteType != SQLiteType.Null)
{
- item.MIMEType = reader[6].ToString();
+ item.MimeType = reader[6].ToString();
}
return item;