Read<T>(reader, columnName) - fixed
pull/1/head
unknown 4 years ago
parent 572875c65f
commit a6df27d05b

@ -29,7 +29,7 @@ namespace ZeroLevel.SqLite
}
protected static Tr Read<Tr>(SQLiteDataReader reader, string name)
{
if (reader == null || HasColumn(reader, name) || reader[name] == DBNull.Value) return default;
if (reader == null || !HasColumn(reader, name) || reader[name] == DBNull.Value) return default;
Type t;
if ((t = Nullable.GetUnderlyingType(typeof(Tr))) != null)
{

@ -1,10 +1,8 @@
using System;
using System.Collections.Generic;
using System.Data.SQLite;
using System.IO;
using System.Runtime.CompilerServices;
using System.Threading;
using ZeroLevel.Services.FileSystem;
using ZeroLevel.Services.Serialization;
namespace ZeroLevel.SqLite

@ -12,21 +12,21 @@ Based on System.Data.SQLite.Core</Description>
<PackageIcon>zero.png</PackageIcon>
<PackageIconUrl />
<Platforms>AnyCPU;x64</Platforms>
<PackageReleaseNotes>Move to new ZeroLevelVersion</PackageReleaseNotes>
<AssemblyVersion>1.0.2.0</AssemblyVersion>
<FileVersion>1.0.2.0</FileVersion>
<Version>1.0.2</Version>
<PackageReleaseNotes>Fix bug</PackageReleaseNotes>
<AssemblyVersion>1.0.2.1</AssemblyVersion>
<FileVersion>1.0.2.1</FileVersion>
<Version>1.0.2.1</Version>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.112.1" />
<None Include="..\zero.png" Link="zero.png">
<PackagePath></PackagePath>
<Pack>True</Pack>
</None>
</ItemGroup>
<ItemGroup>
<None Include="E:\Desktop\Developing\NUGET\zero.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.112.1" />
</ItemGroup>
<ItemGroup>

Loading…
Cancel
Save

Powered by TurnKey Linux.