Skip to content

Commit

Permalink
Remove old, commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
saklis committed Oct 1, 2020
1 parent b611efb commit 3a2032c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions AdoCacheEngine/AdoCacheItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1098,9 +1098,6 @@ private List<TEntity> GetEntitiesRelatedWith<TRelation>(AdoCacheItem<TRelation>
info.Property.GetValue(entity) == null
? "NULL"
: $"@{info.Field}";
//info.IsString
// ? $"'{info.Property.GetValue(entity)}'"
// : info.Property.GetValue(entity).ToString();
whereClause =
whereClause.Replace(info.OldString, info.NewString);

Expand All @@ -1121,9 +1118,6 @@ private List<TEntity> GetEntitiesRelatedWith<TRelation>(AdoCacheItem<TRelation>
}
else
{
//whereClause =
// whereClause.Replace($"@{parameter.Key}",
// $"'{parameter.Value.ToString().Replace("\"", "")}'");
sqlCommand.Parameters.AddWithValue($"@{parameter.Key}",
parameter.Value);
}
Expand Down
2 changes: 1 addition & 1 deletion AdoCacheEngine/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.13.3.0")]
[assembly: AssemblyFileVersion("1.13.2.0")]
[assembly: AssemblyFileVersion("1.13.3.0")]

0 comments on commit 3a2032c

Please sign in to comment.