Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.
/ t4models Public archive

Commit

Permalink
Merge pull request #38 from linq2db/master
Browse files Browse the repository at this point in the history
Release 1.7.6
  • Loading branch information
ili authored Feb 19, 2017
2 parents 2d64380 + 69e3af4 commit 9b8acfb
Show file tree
Hide file tree
Showing 72 changed files with 367 additions and 192 deletions.
2 changes: 1 addition & 1 deletion NuGet/CopyMe.Access.tt.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.Access.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.Access.Tools.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
/*
Expand Down
8 changes: 4 additions & 4 deletions NuGet/CopyMe.DB2.tt.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.DB2.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.DB2.Tools.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
/*
1. Download and install IBM Data Server Provider for .NET.
Expand Down
2 changes: 1 addition & 1 deletion NuGet/CopyMe.Firebird.tt.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.Firebird.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.Firebird.Tools.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
/*
Expand Down
2 changes: 1 addition & 1 deletion NuGet/CopyMe.Informix.tt.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.Informix.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.Informix.Tools.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
/*
Expand Down
2 changes: 1 addition & 1 deletion NuGet/CopyMe.MySql.tt.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.MySql.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.MySql.Tools.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
/*
Expand Down
2 changes: 1 addition & 1 deletion NuGet/CopyMe.Oracle.Managed.tt.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.Oracle.Managed.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.Oracle.Managed.Tools.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
/*
Expand Down
2 changes: 1 addition & 1 deletion NuGet/CopyMe.Oracle.x64.tt.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.Oracle.x64.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.Oracle.x64.Tools.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
/*
Expand Down
2 changes: 1 addition & 1 deletion NuGet/CopyMe.Oracle.x86.tt.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.Oracle.x86.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.Oracle.x86.Tools.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
/*
Expand Down
2 changes: 1 addition & 1 deletion NuGet/CopyMe.PostgreSQL.tt.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.PostgreSQL.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.PostgreSQL.Tools.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
/*
Expand Down
2 changes: 1 addition & 1 deletion NuGet/CopyMe.SQLite.tt.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.SQLite.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.SQLite.Tools.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
/*
Expand Down
2 changes: 1 addition & 1 deletion NuGet/CopyMe.SapHana.tt.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.SapHana.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.SapHana.Tools.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
/*
Expand Down
2 changes: 1 addition & 1 deletion NuGet/CopyMe.SqlCe.tt.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.SqlCe.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.SqlCe.Tools.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
/*
Expand Down
2 changes: 1 addition & 1 deletion NuGet/CopyMe.SqlServer.tt.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.SqlServer.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.SqlServer.Tools.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
/*
Expand Down
2 changes: 1 addition & 1 deletion NuGet/CopyMe.Sybase.tt.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<#@ template language="C#" debug="True" hostSpecific="True" #>
<#@ output extension=".generated.cs" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.Sybase.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\LinqToDB.Sybase.Tools.ttinclude" #>
<#@ include file="$(ProjectDir)LinqToDB.Templates\PluralizationService.ttinclude" #>
<#
/*
Expand Down
6 changes: 3 additions & 3 deletions NuGet/Pack.bat
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@rem cd ..\..\linq2db\Source
@rem call Compile.bat

@rem cd ..\..\linq2db.t4models\ToolsGenerator
cd ..\..\linq2db.t4models\ToolsGenerator

@rem %windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe ToolsGenerator.csproj /property:Configuration=Release
%windir%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe ToolsGenerator.csproj /property:Configuration=Release

@rem cd ..\NuGet
cd ..\NuGet

del *.nupkg

Expand Down
31 changes: 31 additions & 0 deletions NuGet/PackAV.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
@rem Building packages for appveyor
@rem
@rem first parameter - target package version
@rem second parameter - target linq2db version

set version=%1%

echo packages version: %version% for linq2db version %2%

del *.nupkg

..\ToolsGenerator\bin\Release\ToolsGenerator.exe %2%

..\Redist\NuGet Pack linq2db.t4models.nuspec -Version %version%

..\Redist\NuGet Pack linq2db.Access.nuspec -Version %version%
..\Redist\NuGet Pack linq2db.Firebird.nuspec -Version %version%
..\Redist\NuGet Pack linq2db.MySql.nuspec -Version %version%
..\Redist\NuGet Pack linq2db.SqlCe.nuspec -Version %version%
..\Redist\NuGet Pack linq2db.SQLite.nuspec -Version %version%
..\Redist\NuGet Pack linq2db.PostgreSQL.nuspec -Version %version%
..\Redist\NuGet Pack linq2db.SqlServer.nuspec -Version %version%
..\Redist\NuGet Pack linq2db.Sybase.nuspec -Version %version%
..\Redist\NuGet Pack linq2db.SapHana.nuspec -Version %version%
..\Redist\NuGet Pack linq2db.Oracle.x86.nuspec -Version %version%
..\Redist\NuGet Pack linq2db.Oracle.x64.nuspec -Version %version%
..\Redist\NuGet Pack linq2db.Oracle.Managed.nuspec -Version %version%
..\Redist\NuGet Pack linq2db.DB2.nuspec -Version %version%
..\Redist\NuGet Pack linq2db.Informix.nuspec -Version %version%

del *.ttinclude
11 changes: 6 additions & 5 deletions NuGet/linq2db.Access.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>linq2db.Access</id>
<version>1.0.7.5</version>
<version>1.7.5</version>
<title>LINQ to Access</title>
<authors>Igor Tkachev</authors>
<owners />
Expand All @@ -12,17 +12,18 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
LINQ to Access is a data access technology that provides a run-time infrastructure for managing relational data as objects.
This package includes a T4 template to generate data models for Access database and a reference to the linq2db nuget.
</description>
<summary />
<summary>
This package includes a T4 template to generate data models for Access database and a reference to the linq2db nuget.
</summary>
<tags>linq linq2db Access LinqToDB ORM database DB SQL</tags>
<dependencies>
<dependency id="linq2db" />
<dependency id="linq2db.t4models" />
</dependencies>
</metadata>
<files>
<file src="..\Templates\LinqToDB.Access.ttinclude" target="content\LinqToDB.Templates" />
<file src="CopyMe.Access.tt.txt" target="content\LinqToDB.Templates" />
<file src="LinqToDB.Access.Tools.ttinclude" target="content\LinqToDB.Templates" />
<file src="CopyMe.Access.tt.txt" target="content\LinqToDB.Templates" />
</files>
</package>
13 changes: 7 additions & 6 deletions NuGet/linq2db.DB2.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>linq2db.DB2</id>
<version>1.0.7.5</version>
<version>1.7.5</version>
<title>LINQ to IBM DB2</title>
<authors>Igor Tkachev</authors>
<owners />
Expand All @@ -12,19 +12,20 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
LINQ to DB2 is a data access technology that provides a run-time infrastructure for managing relational data as objects.
</description>
<summary>
This package includes a T4 template to generate data models for DB2 database and a reference to the linq2db nugets.
IBM Data Server Provider for .NET will still need to be installed on the production or development machine in order to connect to DB2.
</description>
<summary />
</summary>
<tags>linq linq2db DB2 LinqToDB ORM database DB SQL</tags>
<dependencies>
<dependency id="linq2db" />
<dependency id="linq2db.t4models" />
</dependencies>
</metadata>
<files>
<file src="..\Redist\IBM\IBM.Data.DB2.dll" target="tools" />
<file src="..\Templates\LinqToDB.DB2.ttinclude" target="content\LinqToDB.Templates" />
<file src="CopyMe.DB2.tt.txt" target="content\LinqToDB.Templates" />
<file src="..\Redist\IBM\IBM.Data.DB2.dll" target="tools" />
<file src="LinqToDB.DB2.Tools.ttinclude" target="content\LinqToDB.Templates" />
<file src="CopyMe.DB2.tt.txt" target="content\LinqToDB.Templates" />
</files>
</package>
11 changes: 6 additions & 5 deletions NuGet/linq2db.Firebird.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>linq2db.Firebird</id>
<version>1.0.7.5</version>
<version>1.7.5</version>
<title>LINQ to Firebird</title>
<authors>Igor Tkachev</authors>
<owners />
Expand All @@ -12,9 +12,10 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
LINQ to Firebird is a data access technology that provides a run-time infrastructure for managing relational data as objects.
This package includes a T4 template to generate data models for Firebird database and references to the linq2db and FirebirdSql.Data.FirebirdClient nugets.
</description>
<summary />
<summary>
This package includes a T4 template to generate data models for Firebird database and references to the linq2db and FirebirdSql.Data.FirebirdClient nugets.
</summary>
<tags>linq linq2db Firebird LinqToDB ORM database DB SQL</tags>
<dependencies>
<dependency id="FirebirdSql.Data.FirebirdClient" />
Expand All @@ -24,7 +25,7 @@
</metadata>
<files>
<file src="..\packages\FirebirdSql.Data.FirebirdClient.5.6.0\lib\net40-client\FirebirdSql.Data.FirebirdClient.dll" target="tools" />
<file src="..\Templates\LinqToDB.Firebird.ttinclude" target="content\LinqToDB.Templates" />
<file src="CopyMe.Firebird.tt.txt" target="content\LinqToDB.Templates" />
<file src="LinqToDB.Firebird.Tools.ttinclude" target="content\LinqToDB.Templates" />
<file src="CopyMe.Firebird.tt.txt" target="content\LinqToDB.Templates" />
</files>
</package>
13 changes: 7 additions & 6 deletions NuGet/linq2db.Informix.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>linq2db.Informix</id>
<version>1.0.7.5</version>
<version>1.7.5</version>
<title>LINQ to Informix</title>
<authors>Igor Tkachev</authors>
<owners />
Expand All @@ -12,19 +12,20 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
LINQ to Informix is a data access technology that provides a run-time infrastructure for managing relational data as objects.
</description>
<summary>
This package includes a T4 template to generate data models for Informix database and a reference to the linq2db nugets.
IBM Data Server Provider for .NET will still need to be installed on the production or development machine in order to connect to Informix.
</description>
<summary />
</summary>
<tags>linq linq2db Informix LinqToDB ORM database DB SQL</tags>
<dependencies>
<dependency id="linq2db" />
<dependency id="linq2db.t4models" />
</dependencies>
</metadata>
<files>
<file src="..\Redist\IBM\IBM.Data.Informix.dll" target="tools" />
<file src="..\Templates\LinqToDB.Informix.ttinclude" target="content\LinqToDB.Templates" />
<file src="CopyMe.Informix.tt.txt" target="content\LinqToDB.Templates" />
<file src="..\Redist\IBM\IBM.Data.Informix.dll" target="tools" />
<file src="LinqToDB.Informix.Tools.ttinclude" target="content\LinqToDB.Templates" />
<file src="CopyMe.Informix.tt.txt" target="content\LinqToDB.Templates" />
</files>
</package>
9 changes: 5 additions & 4 deletions NuGet/linq2db.MySql.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>linq2db.MySql</id>
<version>1.0.7.5</version>
<version>1.7.5</version>
<title>LINQ to MySql</title>
<authors>Igor Tkachev</authors>
<owners />
Expand All @@ -12,9 +12,10 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
LINQ to MySql is a data access technology that provides a run-time infrastructure for managing relational data as objects.
This package includes a T4 template to generate data models for MySql database and references to the linq2db and MySql.Data nugets.
</description>
<summary />
<summary>
This package includes a T4 template to generate data models for MySql database and references to the linq2db and MySql.Data nugets.
</summary>
<tags>linq linq2db MySql LinqToDB ORM database DB SQL</tags>
<dependencies>
<dependency id="MySql.Data" />
Expand All @@ -24,7 +25,7 @@
</metadata>
<files>
<file src="..\packages\MySql.Data.6.9.9\lib\net40\MySql.Data.dll" target="tools" />
<file src="..\Templates\LinqToDB.MySql.ttinclude" target="content\LinqToDB.Templates" />
<file src="LinqToDB.MySql.Tools.ttinclude" target="content\LinqToDB.Templates" />
<file src="CopyMe.MySql.tt.txt" target="content\LinqToDB.Templates" />
</files>
</package>
9 changes: 5 additions & 4 deletions NuGet/linq2db.Oracle.Managed.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>linq2db.Oracle.Managed</id>
<version>1.0.7.5</version>
<version>1.7.5</version>
<title>LINQ to Oracle (ODP.NET) Managed</title>
<authors>Igor Tkachev</authors>
<owners />
Expand All @@ -12,10 +12,11 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
LINQ to Oracle is a data access technology that provides a run-time infrastructure for managing relational data as objects.
</description>
<summary>
This package includes a T4 template to generate data models for Oracle database and references to the linq2db and odp.net.managed nugets
Oracle data provider for .NET will still need to be installed on the production or development machine in order to connect to Oracle.
</description>
<summary />
</summary>
<tags>linq linq2db Oracle LinqToDB ORM database DB SQL</tags>
<dependencies>
<dependency id="Oracle.ManagedDataAccess" />
Expand All @@ -25,7 +26,7 @@
</metadata>
<files>
<file src="..\packages\Oracle.ManagedDataAccess.12.1.24160719\lib\net40\Oracle.ManagedDataAccess.dll" target="tools" />
<file src="..\Templates\LinqToDB.Oracle.ttinclude" target="content\LinqToDB.Templates" />
<file src="LinqToDB.Oracle.Managed.Tools.ttinclude" target="content\LinqToDB.Templates" />
<file src="CopyMe.Oracle.Managed.tt.txt" target="content\LinqToDB.Templates" />
</files>
</package>
9 changes: 5 additions & 4 deletions NuGet/linq2db.Oracle.x64.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>linq2db.Oracle.x64</id>
<version>1.0.7.5</version>
<version>1.7.5</version>
<title>LINQ to Oracle (ODP.NET) x64</title>
<authors>Igor Tkachev</authors>
<owners />
Expand All @@ -12,10 +12,11 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
LINQ to Oracle is a data access technology that provides a run-time infrastructure for managing relational data as objects.
</description>
<summary>
This package includes a T4 template to generate data models for Oracle database and references to the linq2db and odp.net.x64 nugets
Oracle data provider for .NET will still need to be installed on the production or development machine in order to connect to Oracle.
</description>
<summary />
</summary>
<tags>linq linq2db Oracle ODP LinqToDB ORM database DB SQL</tags>
<dependencies>
<dependency id="odp.net.x64" />
Expand All @@ -25,7 +26,7 @@
</metadata>
<files>
<file src="..\packages\Oracle.ManagedDataAccess.12.1.24160719\lib\net40\Oracle.ManagedDataAccess.dll" target="tools" />
<file src="..\Templates\LinqToDB.Oracle.ttinclude" target="content\LinqToDB.Templates" />
<file src="LinqToDB.Oracle.x64.Tools.ttinclude" target="content\LinqToDB.Templates" />
<file src="CopyMe.Oracle.x64.tt.txt" target="content\LinqToDB.Templates" />
</files>
</package>
Loading

0 comments on commit 9b8acfb

Please sign in to comment.