From 2bf0ab226f248feeb33860f391802fbb799a5547 Mon Sep 17 00:00:00 2001 From: Milan Hanajik Date: Fri, 18 Mar 2016 13:16:53 +0800 Subject: [PATCH] Bug fixes in DB mapping, ver.2.4.251. --- Config/Mappings/UserMap.cs | 3 ++- Config/Properties/AssemblyInfo.cs | 4 ++-- Results/Mappings/BatchMap.cs | 1 + Results/Properties/AssemblyInfo.cs | 4 ++-- TestBenchFramework/Properties/AssemblyInfo.cs | 4 ++-- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Config/Mappings/UserMap.cs b/Config/Mappings/UserMap.cs index ff8bf29ab..25852b0bd 100644 --- a/Config/Mappings/UserMap.cs +++ b/Config/Mappings/UserMap.cs @@ -11,7 +11,8 @@ namespace Config.Mappings { Id(x => x.Id); Map(x => x.Name); - Map(x => x.Password); + Map(x => x.Number); + Map(x => x.Password); Map(x => x.Description); Map(x => x.LastPwChange); HasMany(x => x.Groups) diff --git a/Config/Properties/AssemblyInfo.cs b/Config/Properties/AssemblyInfo.cs index 43befa7ac..47a8fb01f 100644 --- a/Config/Properties/AssemblyInfo.cs +++ b/Config/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.5.250.0")] -[assembly: AssemblyFileVersion("2.5.250.0")] +[assembly: AssemblyVersion("2.5.251.0")] +[assembly: AssemblyFileVersion("2.5.251.0")] diff --git a/Results/Mappings/BatchMap.cs b/Results/Mappings/BatchMap.cs index 9168c0b8d..2dbc2a43d 100644 --- a/Results/Mappings/BatchMap.cs +++ b/Results/Mappings/BatchMap.cs @@ -15,6 +15,7 @@ namespace Results.Mappings Map(x => x.TestBenchId); Map(x => x.ProgramVersion); Map(x => x.UserName); + Map(x => x.UserNumber); Map(x => x.ProcedureName); Map(x => x.ProcedureRevision); Map(x => x.ProtocolTitle); diff --git a/Results/Properties/AssemblyInfo.cs b/Results/Properties/AssemblyInfo.cs index 300c403f3..67326a942 100644 --- a/Results/Properties/AssemblyInfo.cs +++ b/Results/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.4.250.0")] -[assembly: AssemblyFileVersion("2.4.250.0")] +[assembly: AssemblyVersion("2.4.251.0")] +[assembly: AssemblyFileVersion("2.4.251.0")] diff --git a/TestBenchFramework/Properties/AssemblyInfo.cs b/TestBenchFramework/Properties/AssemblyInfo.cs index f2fdeed97..525f3520f 100644 --- a/TestBenchFramework/Properties/AssemblyInfo.cs +++ b/TestBenchFramework/Properties/AssemblyInfo.cs @@ -29,5 +29,5 @@ using System.Runtime.InteropServices; // Build Number // Revision // -[assembly: AssemblyVersion("2.5.250.1")] -[assembly: AssemblyFileVersion("2.5.250.1")] +[assembly: AssemblyVersion("2.5.251.1")] +[assembly: AssemblyFileVersion("2.5.251.1")]