-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from LinqToDB4iSeries/v4.0.0
V4.0.1
- Loading branch information
Showing
335 changed files
with
44,559 additions
and
5,068 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
T:System.Collections.Concurrent.ConcurrentBag`1;Don't use it, it is flawed type: https://github.com/linq2db/linq2db/pull/2066 | ||
T:System.Data.IColumnMapping;Use DataColumnMapping class instead of ADO.NET interfaces | ||
T:System.Data.IColumnMappingCollection;Use ColumnMappingCollection class instead of ADO.NET interfaces | ||
T:System.Data.IDataAdapter;Use DataAdapter class instead of ADO.NET interfaces | ||
T:System.Data.IDataParameter;Use DbParameter class instead of ADO.NET interfaces | ||
T:System.Data.IDataParameterCollection;Use DbParameterCollection class instead of ADO.NET interfaces | ||
T:System.Data.IDataReader;Use DbDataReader class instead of ADO.NET interfaces | ||
T:System.Data.IDataRecord;Use DbDataRecord class instead of ADO.NET interfaces | ||
T:System.Data.IDbCommand;Use DbCommand class instead of ADO.NET interfaces | ||
T:System.Data.IDbConnection;Use DbConnection class instead of ADO.NET interfaces | ||
T:System.Data.IDbDataAdapter;Use DbDataAdapter class instead of ADO.NET interfaces | ||
T:System.Data.IDbDataParameter;Use DbParameter class instead of ADO.NET interfaces | ||
T:System.Data.IDbTransaction;Use DbTransaction class instead of ADO.NET interfaces | ||
T:System.ThreadStaticAttribute;don't do it | ||
M:System.Linq.Expressions.Expression.Property(System.Linq.Expressions.Expression,System.Reflection.MethodInfo); use overload with PropertyInfo parameter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,50 @@ | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Version>3.7.0</Version> | ||
<Version>4.0.1</Version> | ||
|
||
<Description>LINQ to DB is a data access technology that provides a run-time infrastructure for managing relational data as objects. This package is a provider for DB2 on the IBM iSeries.</Description> | ||
<Authors>Roy Chase, Nikos Sarris</Authors> | ||
<RepositoryUrl>https://github.com/LinqToDB4iSeries/Linq2DB4iSeries</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
|
||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<LangVersion>10.0</LangVersion> | ||
<Nullable>enable</Nullable> | ||
<WarningLevel>4</WarningLevel> | ||
<ErrorReport>prompt</ErrorReport> | ||
<NoWarn>1591</NoWarn> | ||
<NoWarn>1573;1591</NoWarn> | ||
<AnalysisLevel>preview</AnalysisLevel> | ||
|
||
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects> | ||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> | ||
<SignAssembly>True</SignAssembly> | ||
<DelaySign>False</DelaySign> | ||
|
||
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects> | ||
<GeneratePackageOnBuild>false</GeneratePackageOnBuild> | ||
<GenerateAssemblyTitleAttribute>false</GenerateAssemblyTitleAttribute> | ||
<GenerateAssemblyDescriptionAttribute>false</GenerateAssemblyDescriptionAttribute> | ||
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute> | ||
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute> | ||
<GenerateAssemblyVersionAttribute>true</GenerateAssemblyVersionAttribute> | ||
<GenerateAssemblyFileVersionAttribute>true</GenerateAssemblyFileVersionAttribute> | ||
<GenerateNeutralResourcesLanguageAttribute>false</GenerateNeutralResourcesLanguageAttribute> | ||
|
||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> | ||
|
||
<!--required for SkipLocalInit--> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(TargetFramework)' != 'net45' AND '$(TargetFramework)' != 'net46'"> | ||
<DefineConstants>NATIVE_ASYNC;$(DefineConstants)</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" /> | ||
<AdditionalFiles Include="$(MSBuildThisFileDirectory)/BannedSymbols.txt" /> | ||
|
||
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>build; analyzers</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<Import Project="linq2db.Tests.props" /> | ||
|
||
<PropertyGroup> | ||
<MSBuildWarningsAsMessages>$(MSBuildWarningsAsMessages);MSB3270;MSB3277</MSBuildWarningsAsMessages> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Npgsql" /> | ||
<PackageReference Include="System.Data.SQLite.Core" /> | ||
<PackageReference Include="MySql.Data" Aliases="MySqlData" /> | ||
<PackageReference Include="MySqlConnector" Aliases="MySqlConnector" /> | ||
<PackageReference Include="FirebirdSql.Data.FirebirdClient" /> | ||
<PackageReference Include="AdoNetCore.AseClient" /> | ||
<PackageReference Include="System.Data.SqlClient" /> | ||
<PackageReference Include="Microsoft.Data.SqlClient" /> | ||
<PackageReference Include="Microsoft.Data.SQLite" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' "> | ||
<PackageReference Include="Oracle.ManagedDataAccess" /> | ||
<PackageReference Include="Microsoft.SqlServer.Types" /> | ||
|
||
<!--<Reference Include="IBM.Data.Informix"> | ||
<HintPath>$(MSBuildThisFileDirectory)\..\Redist\IBM\IBM.Data.Informix.dll</HintPath> | ||
</Reference> | ||
<Reference Include="Oracle.DataAccess"> | ||
<HintPath>$(MSBuildThisFileDirectory)\..\Redist\Oracle\Oracle.DataAccess.dll</HintPath> | ||
</Reference>--> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' != 'net472' "> | ||
<PackageReference Include="System.Data.Odbc" /> | ||
<PackageReference Include="System.Data.OleDb" /> | ||
<PackageReference Include="Oracle.ManagedDataAccess.Core" /> | ||
|
||
<!--nuget doesn't have strong name, so we use local self-signed copy--> | ||
<!--<PackageReference Include="dotMorten.Microsoft.SqlServer.Types" />--> | ||
<!--<Reference Include="Microsoft.SqlServer.Types"> | ||
<HintPath>$(MSBuildThisFileDirectory)\..\Redist\dotMorten.Microsoft.SqlServer.Types\Microsoft.SqlServer.Types.dll</HintPath> | ||
</Reference>--> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' "> | ||
<Reference Include="IBM.Data.DB2.iSeries"> | ||
<HintPath>..\..\Redist\IBM.Data.DB2.iSeries.dll</HintPath> | ||
</Reference> | ||
|
||
<PackageReference Include="IBM.Data.DB.Provider" GeneratePathProperty="true" /> | ||
<Reference Include="IBM.Data.DB2"> | ||
<HintPath>$(PkgIBM_Data_DB_Provider)\build\net451\x64\IBM.Data.DB2.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
|
||
<!--some magic to not include x64 reference to IBM.Data.DB2.Core in x86 builds, as it fails x86 tests--> | ||
<Choose> | ||
<When Condition="$(X86) == ''"> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' "> | ||
<!--PackageReference + Reference beelongs to same nuget--> | ||
<PackageReference Include="IBM.Data.DB.Provider" GeneratePathProperty="true" /> | ||
<Reference Include="IBM.Data.DB2"> | ||
<HintPath>$(PkgIBM_Data_DB_Provider)\build\net451\x86\IBM.Data.DB2.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' "> | ||
<PackageReference Include="IBM.Data.DB2.Core" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' " /> | ||
<PackageReference Include="IBM.Data.DB2.Core-lnx" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' " /> | ||
<PackageReference Include="IBM.Data.DB2.Core-osx" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' "/> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'net6.0' "> | ||
<PackageReference Include="Net.IBM.Data.Db2" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' " /> | ||
<PackageReference Include="Net.IBM.Data.Db2-lnx" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' " /> | ||
<PackageReference Include="Net.IBM.Data.Db2-osx" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' "/> | ||
</ItemGroup> | ||
</When> | ||
</Choose> | ||
|
||
<!--<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp1.1' "> | ||
--><!--magic--><!-- | ||
<PackageReference Include="IBM.Data.DB2.Core" Version="1.3.0.100" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' " /> | ||
<PackageReference Include="IBM.Data.DB2.Core-lnx" Version="1.3.0.100" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' " /> | ||
<PackageReference Include="IBM.Data.DB2.Core-osx" Version="1.3.0.100" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' "/> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.1' "> | ||
--><!--magic--><!-- | ||
<PackageReference Include="IBM.Data.DB2.Core" Version="2.2.0.100" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' " /> | ||
<PackageReference Include="IBM.Data.DB2.Core-lnx" Version="2.2.0.100" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' " /> | ||
<PackageReference Include="IBM.Data.DB2.Core-osx" Version="2.0.0.100" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' "/> | ||
</ItemGroup> | ||
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' "> | ||
--><!--magic--><!-- | ||
<PackageReference Include="IBM.Data.DB2.Core" Version="3.1.0.300" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' " /> | ||
<PackageReference Include="IBM.Data.DB2.Core-lnx" Version="3.1.0.300" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' " /> | ||
<PackageReference Include="IBM.Data.DB2.Core-osx" Version="3.1.0.300" Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' "/> | ||
</ItemGroup>--> | ||
|
||
|
||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<Import Project="linq2db.Providers.props" /> | ||
|
||
<PropertyGroup> | ||
<NoWarn>$(NoWarn);CS0649;CS8012</NoWarn> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\FSharp\Tests.FSharp.fsproj" /> | ||
<ProjectReference Include="..\Base\Tests.Base.csproj" /> | ||
|
||
<None Include="..\..\Data\*"> | ||
<Link>Database/%(FileName)%(Extension)</Link> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
<None Include="..\..\Data\Create Scripts\*"> | ||
<Link>Database/Create Scripts/%(FileName)%(Extension)</Link> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="FluentAssertions" /> | ||
<PackageReference Include="NodaTime" /> | ||
<PackageReference Include="NUnit3TestAdapter" /> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" /> | ||
<PackageReference Include="System.Linq.Dynamic.Core" /> | ||
<!--don't remove, it is used for T4 nugets build--> | ||
<PackageReference Include="Humanizer.Core" /> | ||
<PackageReference Include="JetBrains.Annotations" /> | ||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' == 'net472' "> | ||
<Reference Include="System.Data.Services" /> | ||
<Reference Include="System.ServiceModel" /> | ||
|
||
<PackageReference Include="Microsoft.AspNet.OData" /> | ||
|
||
<!--<None Include="$(MSBuildThisFileDirectory)\..\Redist\SqlServerTypes\x64\*.dll"> | ||
<Link>SqlServerTypes/x64/%(FileName)%(Extension)</Link> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None> | ||
<None Include="$(MSBuildThisFileDirectory)\..\Redist\SqlServerTypes\x86\*.dll"> | ||
<Link>SqlServerTypes/x86/%(FileName)%(Extension)</Link> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</None>--> | ||
|
||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" '$(TargetFramework)' != 'net472' "> | ||
<PackageReference Include="Microsoft.AspNetCore.OData" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.