From 4abf9ad0e75bc0ad6a9be563b53b3431ffeb5541 Mon Sep 17 00:00:00 2001 From: Louwar Date: Tue, 21 Mar 2023 13:13:53 +0100 Subject: [PATCH] Update ef mapper --- Sources/EFMapping/EFCharacteristicsMapper.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/EFMapping/EFCharacteristicsMapper.cs b/Sources/EFMapping/EFCharacteristicsMapper.cs index 4c23307..4559293 100644 --- a/Sources/EFMapping/EFCharacteristicsMapper.cs +++ b/Sources/EFMapping/EFCharacteristicsMapper.cs @@ -12,8 +12,8 @@ namespace EFMapping { public static EFCharacteristics toEF(this KeyValuePair item, EFChampion champion, SQLiteContext context) { - var charac = context.Characteristics.Find(item.Key, champion.Name); - if (charac == null) + var EfCharacteristics = context.Characteristics.Find(item.Key, champion.Name); + if (EfCharacteristics == null) { return new() { @@ -22,7 +22,7 @@ namespace EFMapping NameChampion = champion.Name }; } - return charac; + return EfCharacteristics; } public static Tuple toModel(this EFCharacteristics charac)