Skip to content

Commit

Permalink
Made Release Changes(Obsolte flag)
Browse files Browse the repository at this point in the history
removed ValueTuple Reference
  • Loading branch information
JPVenson committed Mar 30, 2019
1 parent b2165d7 commit eac2f94
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions JPB.DataAccess/DbAccessLayerHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,9 @@ public static IDbCommand MergeTextToParameters(this IDatabase db,
{
foreach (var dbCommand in commmands)
{
#pragma warning disable 618
parameter.AddRange(dbCommand.Parameters.AsQueryParameter());
#pragma warning restore 618
commandText.Append((insertDelimiter ?? " ") + dbCommand.CommandText);
}
}
Expand Down
3 changes: 0 additions & 3 deletions JPB.DataAccess/JPB.DataAccess.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,6 @@
<Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core" />
<Reference Include="System.Transactions" />
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\netstandard1.0\System.ValueTuple.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
Expand Down
2 changes: 2 additions & 0 deletions JPB.DataAccess/Manager/DBAccessLayerUpdate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ private bool CheckRowVersion<T>(T entry)
var staticRowVersion = "SELECT " + rowVersionprop + " FROM " + type.TableName + " WHERE " +
type.PrimaryKeyProperty.DbName + " = " + entry.GetPK(Config);

#pragma warning disable 618
var skalar = Database.GetSkalar(staticRowVersion);
#pragma warning restore 618
if (skalar == null)
{
return false;
Expand Down
1 change: 0 additions & 1 deletion JPB.DataAccess/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="JetBrains.Annotations" version="2018.3.0" targetFramework="net46" />
<package id="System.ValueTuple" version="4.5.0" targetFramework="net46" />
</packages>

0 comments on commit eac2f94

Please sign in to comment.