From cc6c42e19180d166497547b04b65ca3fab43a668 Mon Sep 17 00:00:00 2001 From: Igor Tkachev Date: Tue, 28 Jan 2014 21:42:23 -0500 Subject: [PATCH] Updated Firebird nuget. --- NuGet/linq2db.Firebird.nuspec | 2 +- NuGet/linq2db.t4models.nuspec | 2 +- Tests/LinqToDB/Firebird.generated.cs | 8 ++++---- Tests/LinqToDB/Firebird.tt | 4 ++-- Tests/Tests/ModelTest.cs | 9 +++++++++ 5 files changed, 17 insertions(+), 8 deletions(-) diff --git a/NuGet/linq2db.Firebird.nuspec b/NuGet/linq2db.Firebird.nuspec index 94351c8..822f866 100644 --- a/NuGet/linq2db.Firebird.nuspec +++ b/NuGet/linq2db.Firebird.nuspec @@ -23,7 +23,7 @@ - + diff --git a/NuGet/linq2db.t4models.nuspec b/NuGet/linq2db.t4models.nuspec index e3e0c00..6b2caad 100644 --- a/NuGet/linq2db.t4models.nuspec +++ b/NuGet/linq2db.t4models.nuspec @@ -18,7 +18,7 @@ - + diff --git a/Tests/LinqToDB/Firebird.generated.cs b/Tests/LinqToDB/Firebird.generated.cs index 3e89251..31c28d5 100644 --- a/Tests/LinqToDB/Firebird.generated.cs +++ b/Tests/LinqToDB/Firebird.generated.cs @@ -170,10 +170,10 @@ namespace FirebirdDataContext #region Associations /// - /// INTEG_8224 + /// INTEG_1683 /// [Association(ThisKey="PERSONID", OtherKey="PERSONID", CanBeNull=false)] - public PERSON INTEG8224 { get; set; } + public PERSON INTEG1683 { get; set; } #endregion } @@ -196,10 +196,10 @@ namespace FirebirdDataContext public IEnumerable DOCTORs { get; set; } /// - /// INTEG_8224_BackReference + /// INTEG_1683_BackReference /// [Association(ThisKey="PERSONID", OtherKey="PERSONID", CanBeNull=false)] - public IEnumerable INTEG8224 { get; set; } + public IEnumerable INTEG1683 { get; set; } #endregion } diff --git a/Tests/LinqToDB/Firebird.tt b/Tests/LinqToDB/Firebird.tt index d486e4e..55b54ea 100644 --- a/Tests/LinqToDB/Firebird.tt +++ b/Tests/LinqToDB/Firebird.tt @@ -2,8 +2,8 @@ <#@ output extension=".generated.cs" #> <#@ include file="..\..\Templates\LinqToDB.Firebird.ttinclude" #> <#@ include file="..\..\Templates\PluralizationService.ttinclude" #> -<#@ assembly name="$(SolutionDir)packages\FirebirdSql.Data.FirebirdClient.3.1.1.0\lib\net40-client\FirebirdSql.Data.FirebirdClient.dll" #> -<#@ assembly name="E:\Projects\Git\linq2db\Source\bin\Debug\linq2db.dll" #> +<#@ assembly name="$(SolutionDir)packages\FirebirdSql.Data.FirebirdClient.4.1.0.0\lib\net40-client\FirebirdSql.Data.FirebirdClient.dll" #> +<#@ assembly name="I:\linq2db\Source\bin\Debug.4.0\linq2db.dll" #> <# NamespaceName = "FirebirdDataContext"; diff --git a/Tests/Tests/ModelTest.cs b/Tests/Tests/ModelTest.cs index b4e795e..f62a45b 100644 --- a/Tests/Tests/ModelTest.cs +++ b/Tests/Tests/ModelTest.cs @@ -17,5 +17,14 @@ namespace T4Model.Tests return ValidationResult.Success; } } + + + private void AddError(string name, string errorMessage) + { + } + + private void RemoveError(string nameOfEditableInt1) + { + } } }