diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-17 13:32:58 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-01-17 13:32:58 +0200 |
| commit | 071dc67e905d23347ac6b5cc4573972d91dd0ea3 (patch) | |
| tree | 0410bf19ca3224767acb8a03e485808c04e5c360 | |
| parent | 92c52918e13dbbaf2a658945c349a6d04c29aa81 (diff) | |
| download | Tango-071dc67e905d23347ac6b5cc4573972d91dd0ea3.tar.gz Tango-071dc67e905d23347ac6b5cc4573972d91dd0ea3.zip | |
Upgraded EF from 6.0 to 6.2 for all projects.
Improved EF first load with pre-compiled views and model store.
Implemented auto generate views in Tango Build VSIX.
153 files changed, 5765 insertions, 307 deletions
diff --git a/Software/DB/Tango.mdf b/Software/DB/Tango.mdf Binary files differindex aede14bf4..7e1337e7e 100644 --- a/Software/DB/Tango.mdf +++ b/Software/DB/Tango.mdf diff --git a/Software/DB/Tango_log.ldf b/Software/DB/Tango_log.ldf Binary files differindex 6389389cf..d271d9040 100644 --- a/Software/DB/Tango_log.ldf +++ b/Software/DB/Tango_log.ldf diff --git a/Software/Visual_Studio/Build/Shortcuts/Proto Compiler GUI.lnk b/Software/Visual_Studio/Build/Shortcuts/Proto Compiler GUI.lnk Binary files differindex c01b891f7..1be399f50 100644 --- a/Software/Visual_Studio/Build/Shortcuts/Proto Compiler GUI.lnk +++ b/Software/Visual_Studio/Build/Shortcuts/Proto Compiler GUI.lnk diff --git a/Software/Visual_Studio/MachineStudio/Modules/MachineStudio.Dispensers/App.config b/Software/Visual_Studio/MachineStudio/Modules/MachineStudio.Dispensers/App.config index 56898686f..6a9fc2ba2 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/MachineStudio.Dispensers/App.config +++ b/Software/Visual_Studio/MachineStudio/Modules/MachineStudio.Dispensers/App.config @@ -1,5 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> + <configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + </configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -50,6 +54,32 @@ <assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> + <entityFramework> + <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> + <providers> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> + </providers> + </entityFramework> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/MachineStudio.Dispensers/Tango.MachineStudio.Dispensers.csproj b/Software/Visual_Studio/MachineStudio/Modules/MachineStudio.Dispensers/Tango.MachineStudio.Dispensers.csproj index bd8f858a6..414de1e17 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/MachineStudio.Dispensers/Tango.MachineStudio.Dispensers.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/MachineStudio.Dispensers/Tango.MachineStudio.Dispensers.csproj @@ -32,10 +32,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="MahApps.Metro, Version=1.5.0.23, Culture=neutral, PublicKeyToken=f4fb5a3c4d1e5b4f, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\MahApps.Metro.1.5.0\lib\net45\MahApps.Metro.dll</HintPath> @@ -105,7 +105,9 @@ <Generator>ResXFileCodeGenerator</Generator> <LastGenOutput>Resources.Designer.cs</LastGenOutput> </EmbeddedResource> - <None Include="app.config" /> + <None Include="app.config"> + <SubType>Designer</SubType> + </None> <None Include="packages.config" /> <None Include="Properties\Settings.settings"> <Generator>SettingsSingleFileGenerator</Generator> diff --git a/Software/Visual_Studio/MachineStudio/Modules/MachineStudio.Dispensers/packages.config b/Software/Visual_Studio/MachineStudio/Modules/MachineStudio.Dispensers/packages.config index 6676d3860..094cf9227 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/MachineStudio.Dispensers/packages.config +++ b/Software/Visual_Studio/MachineStudio/Modules/MachineStudio.Dispensers/packages.config @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="CommonServiceLocator" version="1.3" targetFramework="net461" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net461" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net461" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net461" /> <package id="MaterialDesignColors" version="1.1.2" targetFramework="net461" /> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ColorLab/Tango.MachineStudio.ColorLab.csproj b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ColorLab/Tango.MachineStudio.ColorLab.csproj index 080d35f5e..da97050b7 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ColorLab/Tango.MachineStudio.ColorLab.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ColorLab/Tango.MachineStudio.ColorLab.csproj @@ -32,10 +32,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="Google.Protobuf, Version=3.4.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\Google.Protobuf.3.4.1\lib\net45\Google.Protobuf.dll</HintPath> @@ -196,7 +196,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> + <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ColorLab/app.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ColorLab/app.config index 77b7003e2..b957f7710 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ColorLab/app.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ColorLab/app.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -50,6 +50,30 @@ <assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ColorLab/packages.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ColorLab/packages.config index c9f4c28c9..a0c68600c 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ColorLab/packages.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ColorLab/packages.config @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="CommonServiceLocator" version="1.3" targetFramework="net46" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net46" /> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/App.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/App.config index 2031d1be1..b67f4c16f 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/App.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/App.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> <providers> @@ -56,6 +56,30 @@ <assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Tango.MachineStudio.DB.csproj b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Tango.MachineStudio.DB.csproj index b0749e196..2b1ce73bb 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Tango.MachineStudio.DB.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/Tango.MachineStudio.DB.csproj @@ -35,10 +35,10 @@ <HintPath>..\..\..\packages\Dragablz.0.0.3.197\lib\net45\Dragablz.dll</HintPath> </Reference> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="MahApps.Metro, Version=1.5.0.23, Culture=neutral, PublicKeyToken=f4fb5a3c4d1e5b4f, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\MahApps.Metro.1.5.0\lib\net45\MahApps.Metro.dll</HintPath> @@ -719,7 +719,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/packages.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/packages.config index 08a360572..6d6067240 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/packages.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DB/packages.config @@ -2,7 +2,7 @@ <packages> <package id="CommonServiceLocator" version="1.3" targetFramework="net46" /> <package id="Dragablz" version="0.0.3.197" targetFramework="net46" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net46" /> <package id="MaterialDesignColors" version="1.1.2" targetFramework="net46" /> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/Tango.MachineStudio.DataCapture.csproj b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/Tango.MachineStudio.DataCapture.csproj index 7c1ffc843..0e1fa8b8a 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/Tango.MachineStudio.DataCapture.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/Tango.MachineStudio.DataCapture.csproj @@ -32,10 +32,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="Google.Protobuf, Version=3.4.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\Google.Protobuf.3.4.1\lib\net45\Google.Protobuf.dll</HintPath> @@ -195,7 +195,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> + <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/app.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/app.config index 0e58ccf54..d9be669f7 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/app.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/app.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -54,6 +54,30 @@ <assemblyIdentity name="System.Xml.ReaderWriter" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/packages.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/packages.config index d1cf6cd7a..a0c68600c 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/packages.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/packages.config @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="CommonServiceLocator" version="1.3" targetFramework="net46" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net472" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net46" /> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Tango.MachineStudio.Developer.csproj b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Tango.MachineStudio.Developer.csproj index 86f30cd3a..c2bdf669c 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Tango.MachineStudio.Developer.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Tango.MachineStudio.Developer.csproj @@ -35,10 +35,10 @@ <HintPath>..\..\..\packages\DeepEqual.1.6.0.0\lib\net40\DeepEqual.dll</HintPath> </Reference> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="Google.Protobuf, Version=3.4.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\Google.Protobuf.3.4.1\lib\net45\Google.Protobuf.dll</HintPath> @@ -361,7 +361,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> + <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/app.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/app.config index 0e58ccf54..d9be669f7 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/app.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/app.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -54,6 +54,30 @@ <assemblyIdentity name="System.Xml.ReaderWriter" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/packages.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/packages.config index 122d9eaac..999461d6a 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/packages.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/packages.config @@ -2,7 +2,7 @@ <packages> <package id="CommonServiceLocator" version="1.3" targetFramework="net46" /> <package id="DeepEqual" version="1.6.0.0" targetFramework="net46" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net46" /> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Tango.MachineStudio.HardwareDesigner.csproj b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Tango.MachineStudio.HardwareDesigner.csproj index 6f65b40c0..09c8c5880 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Tango.MachineStudio.HardwareDesigner.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/Tango.MachineStudio.HardwareDesigner.csproj @@ -32,10 +32,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="MahApps.Metro, Version=1.5.0.23, Culture=neutral, PublicKeyToken=f4fb5a3c4d1e5b4f, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\MahApps.Metro.1.5.0\lib\net45\MahApps.Metro.dll</HintPath> @@ -175,7 +175,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/app.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/app.config index 77b7003e2..b957f7710 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/app.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/app.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -50,6 +50,30 @@ <assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/packages.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/packages.config index f571e3807..1bcb77372 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/packages.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.HardwareDesigner/packages.config @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="CommonServiceLocator" version="1.3" targetFramework="net46" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net46" /> <package id="MaterialDesignColors" version="1.1.2" targetFramework="net46" /> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/App.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/App.config index 2031d386f..f83cf3eb1 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/App.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/App.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> <providers> @@ -60,6 +60,30 @@ <assemblyIdentity name="System.Xml.ReaderWriter" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Tango.MachineStudio.Logging.csproj b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Tango.MachineStudio.Logging.csproj index b5108b75a..c5af1bf96 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Tango.MachineStudio.Logging.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/Tango.MachineStudio.Logging.csproj @@ -32,10 +32,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="MahApps.Metro, Version=1.5.0.23, Culture=neutral, PublicKeyToken=f4fb5a3c4d1e5b4f, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\MahApps.Metro.1.5.0\lib\net45\MahApps.Metro.dll</HintPath> @@ -250,7 +250,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/packages.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/packages.config index f571e3807..1bcb77372 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/packages.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/packages.config @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="CommonServiceLocator" version="1.3" targetFramework="net46" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net46" /> <package id="MaterialDesignColors" version="1.1.2" targetFramework="net46" /> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/Tango.MachineStudio.MachineDesigner.csproj b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/Tango.MachineStudio.MachineDesigner.csproj index 1cb95a076..6ae893e72 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/Tango.MachineStudio.MachineDesigner.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/Tango.MachineStudio.MachineDesigner.csproj @@ -32,10 +32,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FontAwesome.WPF, Version=4.7.0.37774, Culture=neutral, PublicKeyToken=0758b07a11a4f466, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\FontAwesome.WPF.4.7.0.9\lib\net40\FontAwesome.WPF.dll</HintPath> @@ -276,7 +276,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/app.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/app.config index 0e58ccf54..d9be669f7 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/app.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/app.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -54,6 +54,30 @@ <assemblyIdentity name="System.Xml.ReaderWriter" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/packages.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/packages.config index 8b579e95a..0fc471c52 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/packages.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/packages.config @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="CommonServiceLocator" version="1.3" targetFramework="net46" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net472" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="FontAwesome.WPF" version="4.7.0.9" targetFramework="net46" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net46" /> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/App.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/App.config index 24aec371a..48870dbc1 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/App.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/App.config @@ -1,8 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + </configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -49,6 +50,36 @@ <assemblyIdentity name="System.IO.FileSystem.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> + <entityFramework> + <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> + <providers> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> + </providers> + </entityFramework> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/Tango.MachineStudio.RML.csproj b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/Tango.MachineStudio.RML.csproj index aec401b70..b1c8f580d 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/Tango.MachineStudio.RML.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/Tango.MachineStudio.RML.csproj @@ -32,10 +32,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="Google.Protobuf, Version=3.4.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\Google.Protobuf.3.4.1\lib\net45\Google.Protobuf.dll</HintPath> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/packages.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/packages.config index d8e0c7e97..003892dd3 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/packages.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net472" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net472" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net472" /> <package id="MaterialDesignColors" version="1.1.2" targetFramework="net472" /> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/App.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/App.config index 0fae6bc18..cf8218113 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/App.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/App.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> <providers> @@ -56,6 +56,30 @@ <assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/Tango.MachineStudio.Statistics.csproj b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/Tango.MachineStudio.Statistics.csproj index eaa484edf..0bf3681db 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/Tango.MachineStudio.Statistics.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/Tango.MachineStudio.Statistics.csproj @@ -33,10 +33,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="LiveCharts, Version=0.9.7.0, Culture=neutral, PublicKeyToken=0bc1f845d1ebb8df, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\LiveCharts.0.9.7\lib\net45\LiveCharts.dll</HintPath> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/packages.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/packages.config index af429a690..31c5f029f 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/packages.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Statistics/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net461" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="LiveCharts" version="0.9.7" targetFramework="net461" /> <package id="LiveCharts.Wpf" version="0.9.7" targetFramework="net461" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net461" /> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Storage/Tango.MachineStudio.Storage.csproj b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Storage/Tango.MachineStudio.Storage.csproj index bceaf7158..a1bb0055e 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Storage/Tango.MachineStudio.Storage.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Storage/Tango.MachineStudio.Storage.csproj @@ -32,6 +32,12 @@ <WarningLevel>4</WarningLevel> </PropertyGroup> <ItemGroup> + <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> + </Reference> + <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + </Reference> <Reference Include="MahApps.Metro, Version=1.5.0.23, Culture=neutral, PublicKeyToken=f4fb5a3c4d1e5b4f, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\MahApps.Metro.1.5.0\lib\net45\MahApps.Metro.dll</HintPath> </Reference> @@ -42,6 +48,7 @@ <HintPath>..\..\..\packages\MaterialDesignThemes.2.3.1.953\lib\net45\MaterialDesignThemes.Wpf.dll</HintPath> </Reference> <Reference Include="System" /> + <Reference Include="System.ComponentModel.DataAnnotations" /> <Reference Include="System.Data" /> <Reference Include="System.Drawing" /> <Reference Include="System.Windows.Interactivity, Version=4.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Storage/app.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Storage/app.config index 5d794b958..78d1014dd 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Storage/app.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Storage/app.config @@ -1,5 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> + <configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + </configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -46,6 +50,36 @@ <assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> + <entityFramework> + <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> + <providers> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> + </providers> + </entityFramework> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Storage/packages.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Storage/packages.config index 0580e26aa..2c357dae6 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Storage/packages.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Storage/packages.config @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net461" /> <package id="MaterialDesignColors" version="1.1.2" targetFramework="net461" /> <package id="MaterialDesignThemes" version="2.3.1.953" targetFramework="net461" /> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/Tango.MachineStudio.Stubs.csproj b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/Tango.MachineStudio.Stubs.csproj index ea332221e..b23f34d86 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/Tango.MachineStudio.Stubs.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/Tango.MachineStudio.Stubs.csproj @@ -32,10 +32,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FontAwesome.WPF, Version=4.7.0.37774, Culture=neutral, PublicKeyToken=0758b07a11a4f466, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\FontAwesome.WPF.4.7.0.9\lib\net40\FontAwesome.WPF.dll</HintPath> @@ -173,7 +173,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/app.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/app.config index 77b7003e2..b957f7710 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/app.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/app.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -50,6 +50,30 @@ <assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/packages.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/packages.config index 801a18d37..8bf2b7b7d 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/packages.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Stubs/packages.config @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="CommonServiceLocator" version="1.3" targetFramework="net46" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net472" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="FontAwesome.WPF" version="4.7.0.9" targetFramework="net46" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/Tango.MachineStudio.Technician.csproj b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/Tango.MachineStudio.Technician.csproj index 9de8dd5d8..7e6f4e111 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/Tango.MachineStudio.Technician.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/Tango.MachineStudio.Technician.csproj @@ -32,10 +32,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FontAwesome.WPF, Version=4.7.0.37774, Culture=neutral, PublicKeyToken=0758b07a11a4f466, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\FontAwesome.WPF.4.7.0.9\lib\net40\FontAwesome.WPF.dll</HintPath> @@ -728,7 +728,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> + <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/app.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/app.config index 77b7003e2..b957f7710 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/app.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/app.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -50,6 +50,30 @@ <assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/packages.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/packages.config index adee6f7b4..e56640a2a 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/packages.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/packages.config @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="CommonServiceLocator" version="1.3" targetFramework="net46" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net472" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="FontAwesome.WPF" version="4.7.0.9" targetFramework="net46" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.UsersAndRoles/Tango.MachineStudio.UsersAndRoles.csproj b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.UsersAndRoles/Tango.MachineStudio.UsersAndRoles.csproj index 5c0ff937c..897486454 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.UsersAndRoles/Tango.MachineStudio.UsersAndRoles.csproj +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.UsersAndRoles/Tango.MachineStudio.UsersAndRoles.csproj @@ -32,10 +32,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="MahApps.Metro, Version=1.5.0.23, Culture=neutral, PublicKeyToken=f4fb5a3c4d1e5b4f, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\MahApps.Metro.1.5.0\lib\net45\MahApps.Metro.dll</HintPath> @@ -210,7 +210,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> + <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.UsersAndRoles/app.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.UsersAndRoles/app.config index 5d794b958..78d1014dd 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.UsersAndRoles/app.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.UsersAndRoles/app.config @@ -1,5 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> + <configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + </configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -46,6 +50,36 @@ <assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> + <entityFramework> + <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> + <providers> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> + </providers> + </entityFramework> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.UsersAndRoles/packages.config b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.UsersAndRoles/packages.config index b02667d27..12270c85d 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.UsersAndRoles/packages.config +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.UsersAndRoles/packages.config @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="CommonServiceLocator" version="1.3" targetFramework="net46" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net46" /> <package id="MaterialDesignColors" version="1.1.2" targetFramework="net46" /> diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tango.MachineStudio.Common.csproj b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tango.MachineStudio.Common.csproj index 2d83fdec4..844784c8e 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tango.MachineStudio.Common.csproj +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Tango.MachineStudio.Common.csproj @@ -32,10 +32,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="Google.Protobuf, Version=3.4.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> <HintPath>..\..\packages\Google.Protobuf.3.4.1\lib\net45\Google.Protobuf.dll</HintPath> @@ -311,7 +311,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/app.config b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/app.config index 0e58ccf54..d9be669f7 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/app.config +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/app.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -54,6 +54,30 @@ <assemblyIdentity name="System.Xml.ReaderWriter" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/packages.config b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/packages.config index c9f4c28c9..a0c68600c 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/packages.config +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/packages.config @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="CommonServiceLocator" version="1.3" targetFramework="net46" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net46" /> diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/App.config b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/App.config index 156c5f7e1..6818e3328 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/App.config +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Publisher/App.config @@ -57,6 +57,30 @@ <assemblyIdentity name="System.Data.SQLite" publicKeyToken="db937bc2d44ff139" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-1.0.108.0" newVersion="1.0.108.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.config b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.config index 6f1fcffc2..662ab4bf6 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.config +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.config @@ -2,20 +2,18 @@ <configuration> <configSections> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + </configSections> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> </startup> - - <entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> <providers> - <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" /> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers> </entityFramework> - <system.data> <DbProviderFactories> <remove invariant="System.Data.SQLite.EF6" /> @@ -24,7 +22,6 @@ <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /> </DbProviderFactories> </system.data> - <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -119,6 +116,30 @@ <assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.2.2.0" newVersion="5.2.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.2.2.0" newVersion="5.2.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Tango.MachineStudio.UI.csproj b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Tango.MachineStudio.UI.csproj index 9f2cddd68..4abd115f0 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Tango.MachineStudio.UI.csproj +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/Tango.MachineStudio.UI.csproj @@ -43,10 +43,10 @@ <HintPath>..\..\packages\Dragablz.0.0.3.197\lib\net45\Dragablz.dll</HintPath> </Reference> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FluentFTP, Version=19.1.2.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f, processorArchitecture=MSIL"> <HintPath>..\..\packages\FluentFTP.19.1.2\lib\net45\FluentFTP.dll</HintPath> @@ -609,7 +609,7 @@ copy /Y "$(SolutionDir)Referenced Assemblies\Microsoft.WITDataStore32.dll" "$(Ta </Target> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_BuildVersioningStyle="None.None.Increment.DeltaBaseYearDayOfYear" BuildVersion_UpdateFileVersion="True" BuildVersion_DetectChanges="True" BuildVersion_UseGlobalSettings="False" /> + <UserProperties BuildVersion_UseGlobalSettings="False" BuildVersion_DetectChanges="True" BuildVersion_UpdateFileVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.DeltaBaseYearDayOfYear" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/packages.config b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/packages.config index a75d03cc6..693812850 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/packages.config +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/packages.config @@ -2,7 +2,7 @@ <packages> <package id="CommonServiceLocator" version="1.3" targetFramework="net46" /> <package id="Dragablz" version="0.0.3.197" targetFramework="net46" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="FluentFTP" version="19.1.2" targetFramework="net46" /> <package id="FontAwesome.WPF" version="4.7.0.9" targetFramework="net46" /> diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/Tango.PPC.Events.csproj b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/Tango.PPC.Events.csproj index aea663b1c..f38fe9162 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/Tango.PPC.Events.csproj +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/Tango.PPC.Events.csproj @@ -33,11 +33,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> - <Private>True</Private> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FontAwesome.WPF, Version=4.7.0.37774, Culture=neutral, PublicKeyToken=0758b07a11a4f466, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\FontAwesome.WPF.4.7.0.9\lib\net40\FontAwesome.WPF.dll</HintPath> @@ -160,7 +159,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> + <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/app.config b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/app.config index e67f6e7f8..205fb2c55 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/app.config +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/app.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -54,6 +54,26 @@ <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/packages.config b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/packages.config index 80367fdd2..4cf1b4859 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/packages.config +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Events/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="FontAwesome.WPF" version="4.7.0.9" targetFramework="net46" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/Tango.PPC.Jobs.csproj b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/Tango.PPC.Jobs.csproj index b4b635b8f..34c4861ab 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/Tango.PPC.Jobs.csproj +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/Tango.PPC.Jobs.csproj @@ -32,11 +32,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> - <Private>True</Private> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FontAwesome.WPF, Version=4.7.0.37774, Culture=neutral, PublicKeyToken=0758b07a11a4f466, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\FontAwesome.WPF.4.7.0.9\lib\net40\FontAwesome.WPF.dll</HintPath> @@ -394,7 +393,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/app.config b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/app.config index 1793e5c84..8c8385399 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/app.config +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/app.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -58,6 +58,26 @@ <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/packages.config b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/packages.config index 80367fdd2..4cf1b4859 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/packages.config +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="FontAwesome.WPF" version="4.7.0.9" targetFramework="net46" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Logging/Tango.PPC.Logging.csproj b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Logging/Tango.PPC.Logging.csproj index cc6394c9f..1f46d02ec 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Logging/Tango.PPC.Logging.csproj +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Logging/Tango.PPC.Logging.csproj @@ -73,6 +73,7 @@ <Generator>ResXFileCodeGenerator</Generator> <LastGenOutput>Resources.Designer.cs</LastGenOutput> </EmbeddedResource> + <None Include="app.config" /> <None Include="Properties\Settings.settings"> <Generator>SettingsSingleFileGenerator</Generator> <LastGenOutput>Settings.Designer.cs</LastGenOutput> diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Logging/app.config b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Logging/app.config new file mode 100644 index 000000000..223e05c8b --- /dev/null +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Logging/app.config @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="utf-8"?> +<configuration> + <runtime> + <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> + <dependentAssembly> + <assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.2.2.0" newVersion="1.2.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Reflection.Metadata" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.4.2.0" newVersion="1.4.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.IO.FileSystem" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.IO.FileSystem.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Security.Cryptography.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Xml.XPath.XDocument" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Console" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> + </assemblyBinding> + </runtime> +</configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/Tango.PPC.MachineSettings.csproj b/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/Tango.PPC.MachineSettings.csproj index e8d5b49d6..2b89c1e9b 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/Tango.PPC.MachineSettings.csproj +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/Tango.PPC.MachineSettings.csproj @@ -32,11 +32,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> - <Private>True</Private> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FontAwesome.WPF, Version=4.7.0.37774, Culture=neutral, PublicKeyToken=0758b07a11a4f466, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\FontAwesome.WPF.4.7.0.9\lib\net40\FontAwesome.WPF.dll</HintPath> @@ -164,7 +163,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/app.config b/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/app.config index 1793e5c84..8c8385399 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/app.config +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/app.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -58,6 +58,26 @@ <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/packages.config b/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/packages.config index 80367fdd2..4cf1b4859 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/packages.config +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.MachineSettings/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="FontAwesome.WPF" version="4.7.0.9" targetFramework="net46" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Power/Tango.PPC.Power.csproj b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Power/Tango.PPC.Power.csproj index a2b7ca909..a40414380 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Power/Tango.PPC.Power.csproj +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Power/Tango.PPC.Power.csproj @@ -33,11 +33,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> - <Private>True</Private> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FontAwesome.WPF, Version=4.7.0.37774, Culture=neutral, PublicKeyToken=0758b07a11a4f466, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\FontAwesome.WPF.4.7.0.9\lib\net40\FontAwesome.WPF.dll</HintPath> @@ -166,7 +165,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Power/app.config b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Power/app.config index 1e22e6a88..392cc7969 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Power/app.config +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Power/app.config @@ -1,61 +1,85 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> - <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/> - </configSections> + + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> - <assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral"/> - <bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0"/> + <assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0" /> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/> - <bindingRedirect oldVersion="0.0.0.0-1.2.2.0" newVersion="1.2.2.0"/> + <assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.2.2.0" newVersion="1.2.2.0" /> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="System.Reflection.Metadata" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/> - <bindingRedirect oldVersion="0.0.0.0-1.4.2.0" newVersion="1.4.2.0"/> + <assemblyIdentity name="System.Reflection.Metadata" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.4.2.0" newVersion="1.4.2.0" /> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="System.IO.FileSystem" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/> - <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0"/> + <assemblyIdentity name="System.IO.FileSystem" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/> - <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0"/> + <assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral"/> - <bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0"/> + <assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" /> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="System.IO.FileSystem.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/> - <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0"/> + <assemblyIdentity name="System.IO.FileSystem.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="System.Security.Cryptography.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/> - <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/> + <assemblyIdentity name="System.Security.Cryptography.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" /> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="System.Xml.XPath.XDocument" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/> - <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0"/> + <assemblyIdentity name="System.Xml.XPath.XDocument" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="System.Console" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/> - <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0"/> + <assemblyIdentity name="System.Console" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" /> </dependentAssembly> <dependentAssembly> - <assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/> - <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0"/> + <assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> - <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/> + <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> <providers> - <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers> </entityFramework> -<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/></startup></configuration> +<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /></startup></configuration> diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Power/packages.config b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Power/packages.config index 80367fdd2..4cf1b4859 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Power/packages.config +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Power/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="FontAwesome.WPF" version="4.7.0.9" targetFramework="net46" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Storage/app.config b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Storage/app.config index 7b19296d1..b4a3fa28a 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Storage/app.config +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Storage/app.config @@ -50,6 +50,26 @@ <assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Synchronization/Tango.PPC.Synchronization.csproj b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Synchronization/Tango.PPC.Synchronization.csproj index 58ce772b4..066aaac44 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Synchronization/Tango.PPC.Synchronization.csproj +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Synchronization/Tango.PPC.Synchronization.csproj @@ -32,11 +32,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> - <Private>True</Private> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FontAwesome.WPF, Version=4.7.0.37774, Culture=neutral, PublicKeyToken=0758b07a11a4f466, processorArchitecture=MSIL"> <HintPath>..\..\..\packages\FontAwesome.WPF.4.7.0.9\lib\net40\FontAwesome.WPF.dll</HintPath> @@ -155,7 +154,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Synchronization/app.config b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Synchronization/app.config index 1793e5c84..8c8385399 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Synchronization/app.config +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Synchronization/app.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -58,6 +58,26 @@ <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Synchronization/packages.config b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Synchronization/packages.config index 80367fdd2..4cf1b4859 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Synchronization/packages.config +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Synchronization/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="FontAwesome.WPF" version="4.7.0.9" targetFramework="net46" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Tango.PPC.Common.csproj b/Software/Visual_Studio/PPC/Tango.PPC.Common/Tango.PPC.Common.csproj index d73829bb8..8230d5a38 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Tango.PPC.Common.csproj +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Tango.PPC.Common.csproj @@ -49,10 +49,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FluentFTP, Version=19.1.2.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f, processorArchitecture=MSIL"> <HintPath>..\..\packages\FluentFTP.19.1.2\lib\net45\FluentFTP.dll</HintPath> @@ -350,7 +350,7 @@ </Target> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/app.config b/Software/Visual_Studio/PPC/Tango.PPC.Common/app.config index 3e0fcee4b..976aaf83b 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/app.config +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/app.config @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> </configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> @@ -58,19 +58,41 @@ <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> <providers> - <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" /> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers> </entityFramework> <system.data> <DbProviderFactories> <remove invariant="System.Data.SQLite.EF6" /> <add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" /> - <remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories> + <remove invariant="System.Data.SQLite" /> + <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /> + </DbProviderFactories> </system.data> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/packages.config b/Software/Visual_Studio/PPC/Tango.PPC.Common/packages.config index 92f0d706c..c66e795eb 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/packages.config +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="FluentFTP" version="19.1.2" targetFramework="net46" /> <package id="FontAwesome.WPF" version="4.7.0.9" targetFramework="net46" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Publisher/App.config b/Software/Visual_Studio/PPC/Tango.PPC.Publisher/App.config index d1b1a6a00..e8039e63f 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Publisher/App.config +++ b/Software/Visual_Studio/PPC/Tango.PPC.Publisher/App.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> </startup> @@ -67,6 +67,26 @@ <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Publisher/Tango.PPC.Publisher.csproj b/Software/Visual_Studio/PPC/Tango.PPC.Publisher/Tango.PPC.Publisher.csproj index 0c465546c..c9e5a72d7 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Publisher/Tango.PPC.Publisher.csproj +++ b/Software/Visual_Studio/PPC/Tango.PPC.Publisher/Tango.PPC.Publisher.csproj @@ -35,10 +35,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FluentFTP, Version=19.1.2.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f, processorArchitecture=MSIL"> <HintPath>..\..\packages\FluentFTP.19.1.2\lib\net45\FluentFTP.dll</HintPath> diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Publisher/packages.config b/Software/Visual_Studio/PPC/Tango.PPC.Publisher/packages.config index 56955a6b1..5ac999495 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Publisher/packages.config +++ b/Software/Visual_Studio/PPC/Tango.PPC.Publisher/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="FluentFTP" version="19.1.2" targetFramework="net46" /> <package id="Ionic.Zip" version="1.9.1.8" targetFramework="net46" /> </packages>
\ No newline at end of file diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/App.config b/Software/Visual_Studio/PPC/Tango.PPC.UI/App.config index b2738c8cf..c4cbcdc32 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/App.config +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/App.config @@ -1,23 +1,103 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> </configSections> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> </startup> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> - + <dependentAssembly> + <assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.2.2.0" newVersion="1.2.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Reflection.Metadata" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.4.2.0" newVersion="1.4.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.IO.FileSystem" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.IO.FileSystem.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Security.Cryptography.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Xml.XPath.XDocument" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Console" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory.Platform" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Web.Http" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.2.2.0" newVersion="5.2.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.2.2.0" newVersion="5.2.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> <providers> - <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" /> <provider invariantName="System.Data.SQLite" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" /> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers> + <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> </entityFramework> <system.data> <DbProviderFactories> diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj b/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj index 12465fee3..3d4fd7f5c 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Tango.PPC.UI.csproj @@ -58,10 +58,10 @@ <HintPath>..\..\packages\ControlzEx.3.0.2.4\lib\net45\ControlzEx.dll</HintPath> </Reference> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FontAwesome.WPF, Version=4.7.0.37774, Culture=neutral, PublicKeyToken=0758b07a11a4f466, processorArchitecture=MSIL"> <HintPath>..\..\packages\FontAwesome.WPF.4.7.0.9\lib\net40\FontAwesome.WPF.dll</HintPath> @@ -495,7 +495,7 @@ del "$(TargetDir)firmware_package.tfp"</PostBuildEvent> </PropertyGroup> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/packages.config b/Software/Visual_Studio/PPC/Tango.PPC.UI/packages.config index 586444936..a8eab2a66 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/packages.config +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/packages.config @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="ControlzEx" version="3.0.2.4" targetFramework="net46" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="FontAwesome.WPF" version="4.7.0.9" targetFramework="net46" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> diff --git a/Software/Visual_Studio/Tango.BL/ObservablesContext.Views.cs b/Software/Visual_Studio/Tango.BL/ObservablesContext.Views.cs new file mode 100644 index 000000000..a76b395de --- /dev/null +++ b/Software/Visual_Studio/Tango.BL/ObservablesContext.Views.cs @@ -0,0 +1,4401 @@ +//------------------------------------------------------------------------------ +// <auto-generated> +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// </auto-generated> +//------------------------------------------------------------------------------ + +using System.Data.Entity.Infrastructure.MappingViews; + +[assembly: DbMappingViewCacheTypeAttribute( + typeof(Tango.BL.ObservablesContext), + typeof(Edm_EntityMappingGeneratedViews.ViewsForBaseEntitySets37b5cc008a4e48e2899ac4d3195806a4b6971a6d246baa6d40f1ee411cdf7de7))] + +namespace Edm_EntityMappingGeneratedViews +{ + using System; + using System.CodeDom.Compiler; + using System.Data.Entity.Core.Metadata.Edm; + + /// <summary> + /// Implements a mapping view cache. + /// </summary> + [GeneratedCode("Entity Framework Power Tools", "0.9.0.0")] + internal sealed class ViewsForBaseEntitySets37b5cc008a4e48e2899ac4d3195806a4b6971a6d246baa6d40f1ee411cdf7de7 : DbMappingViewCache + { + /// <summary> + /// Gets a hash value computed over the mapping closure. + /// </summary> + public override string MappingHashValue + { + get { return "37b5cc008a4e48e2899ac4d3195806a4b6971a6d246baa6d40f1ee411cdf7de7"; } + } + + /// <summary> + /// Gets a view corresponding to the specified extent. + /// </summary> + /// <param name="extent">The extent.</param> + /// <returns>The mapping view, or null if the extent is not associated with a mapping view.</returns> + public override DbMappingView GetView(EntitySetBase extent) + { + if (extent == null) + { + throw new ArgumentNullException("extent"); + } + + var extentName = extent.EntityContainer.Name + "." + extent.Name; + + if (extentName == "CodeFirstDatabase.Address") + { + return GetView0(); + } + + if (extentName == "CodeFirstDatabase.Organization") + { + return GetView1(); + } + + if (extentName == "CodeFirstDatabase.Contact") + { + return GetView2(); + } + + if (extentName == "CodeFirstDatabase.User") + { + return GetView3(); + } + + if (extentName == "CodeFirstDatabase.Job") + { + return GetView4(); + } + + if (extentName == "CodeFirstDatabase.ColorSpace") + { + return GetView5(); + } + + if (extentName == "CodeFirstDatabase.BrushStop") + { + return GetView6(); + } + + if (extentName == "CodeFirstDatabase.ColorCatalog") + { + return GetView7(); + } + + if (extentName == "CodeFirstDatabase.Rml") + { + return GetView8(); + } + + if (extentName == "CodeFirstDatabase.Cat") + { + return GetView9(); + } + + if (extentName == "CodeFirstDatabase.LiquidType") + { + return GetView10(); + } + + if (extentName == "CodeFirstDatabase.IdsPack") + { + return GetView11(); + } + + if (extentName == "CodeFirstDatabase.CartridgeType") + { + return GetView12(); + } + + if (extentName == "CodeFirstDatabase.Configuration") + { + return GetView13(); + } + + if (extentName == "CodeFirstDatabase.ApplicationDisplayPanelVersion") + { + return GetView14(); + } + + if (extentName == "CodeFirstDatabase.ApplicationFirmwareVersion") + { + return GetView15(); + } + + if (extentName == "CodeFirstDatabase.ApplicationOsVersion") + { + return GetView16(); + } + + if (extentName == "CodeFirstDatabase.EmbeddedFirmwareVersion") + { + return GetView17(); + } + + if (extentName == "CodeFirstDatabase.HardwareVersion") + { + return GetView18(); + } + + if (extentName == "CodeFirstDatabase.HardwareBlower") + { + return GetView19(); + } + + if (extentName == "CodeFirstDatabase.HardwareBlowerType") + { + return GetView20(); + } + + if (extentName == "CodeFirstDatabase.HardwareBreakSensor") + { + return GetView21(); + } + + if (extentName == "CodeFirstDatabase.HardwareBreakSensorType") + { + return GetView22(); + } + + if (extentName == "CodeFirstDatabase.HardwareDancer") + { + return GetView23(); + } + + if (extentName == "CodeFirstDatabase.HardwareDancerType") + { + return GetView24(); + } + + if (extentName == "CodeFirstDatabase.HardwareMotor") + { + return GetView25(); + } + + if (extentName == "CodeFirstDatabase.HardwareMotorType") + { + return GetView26(); + } + + if (extentName == "CodeFirstDatabase.HardwarePidControl") + { + return GetView27(); + } + + if (extentName == "CodeFirstDatabase.HardwarePidControlType") + { + return GetView28(); + } + + if (extentName == "CodeFirstDatabase.HardwareSpeedSensor") + { + return GetView29(); + } + + if (extentName == "CodeFirstDatabase.HardwareSpeedSensorType") + { + return GetView30(); + } + + if (extentName == "CodeFirstDatabase.HardwareWinder") + { + return GetView31(); + } + + if (extentName == "CodeFirstDatabase.HardwareWinderType") + { + return GetView32(); + } + + if (extentName == "CodeFirstDatabase.Machine") + { + return GetView33(); + } + + if (extentName == "CodeFirstDatabase.SpoolType") + { + return GetView34(); + } + + if (extentName == "CodeFirstDatabase.Spool") + { + return GetView35(); + } + + if (extentName == "CodeFirstDatabase.MachinesEvent") + { + return GetView36(); + } + + if (extentName == "CodeFirstDatabase.EventType") + { + return GetView37(); + } + + if (extentName == "CodeFirstDatabase.MachineVersion") + { + return GetView38(); + } + + if (extentName == "CodeFirstDatabase.TangoVersion") + { + return GetView39(); + } + + if (extentName == "CodeFirstDatabase.Dispenser") + { + return GetView40(); + } + + if (extentName == "CodeFirstDatabase.DispenserType") + { + return GetView41(); + } + + if (extentName == "CodeFirstDatabase.IdsPackFormula") + { + return GetView42(); + } + + if (extentName == "CodeFirstDatabase.MidTankType") + { + return GetView43(); + } + + if (extentName == "CodeFirstDatabase.LiquidTypesRml") + { + return GetView44(); + } + + if (extentName == "CodeFirstDatabase.Cct") + { + return GetView45(); + } + + if (extentName == "CodeFirstDatabase.FiberShape") + { + return GetView46(); + } + + if (extentName == "CodeFirstDatabase.FiberSynth") + { + return GetView47(); + } + + if (extentName == "CodeFirstDatabase.LinearMassDensityUnit") + { + return GetView48(); + } + + if (extentName == "CodeFirstDatabase.MediaCondition") + { + return GetView49(); + } + + if (extentName == "CodeFirstDatabase.MediaMaterial") + { + return GetView50(); + } + + if (extentName == "CodeFirstDatabase.MediaPurpos") + { + return GetView51(); + } + + if (extentName == "CodeFirstDatabase.ProcessParametersTablesGroup") + { + return GetView52(); + } + + if (extentName == "CodeFirstDatabase.ProcessParametersTable") + { + return GetView53(); + } + + if (extentName == "CodeFirstDatabase.Segment") + { + return GetView54(); + } + + if (extentName == "CodeFirstDatabase.Customer") + { + return GetView55(); + } + + if (extentName == "CodeFirstDatabase.JobRun") + { + return GetView56(); + } + + if (extentName == "CodeFirstDatabase.WindingMethod") + { + return GetView57(); + } + + if (extentName == "CodeFirstDatabase.MachineStudioVersion") + { + return GetView58(); + } + + if (extentName == "CodeFirstDatabase.UsersRole") + { + return GetView59(); + } + + if (extentName == "CodeFirstDatabase.Role") + { + return GetView60(); + } + + if (extentName == "CodeFirstDatabase.RolesPermission") + { + return GetView61(); + } + + if (extentName == "CodeFirstDatabase.Permission") + { + return GetView62(); + } + + if (extentName == "ObservablesContext.Addresses") + { + return GetView63(); + } + + if (extentName == "ObservablesContext.Organizations") + { + return GetView64(); + } + + if (extentName == "ObservablesContext.Contacts") + { + return GetView65(); + } + + if (extentName == "ObservablesContext.Users") + { + return GetView66(); + } + + if (extentName == "ObservablesContext.Jobs") + { + return GetView67(); + } + + if (extentName == "ObservablesContext.ColorSpaces") + { + return GetView68(); + } + + if (extentName == "ObservablesContext.BrushStops") + { + return GetView69(); + } + + if (extentName == "ObservablesContext.ColorCatalogs") + { + return GetView70(); + } + + if (extentName == "ObservablesContext.Rmls") + { + return GetView71(); + } + + if (extentName == "ObservablesContext.Cats") + { + return GetView72(); + } + + if (extentName == "ObservablesContext.LiquidTypes") + { + return GetView73(); + } + + if (extentName == "ObservablesContext.IdsPacks") + { + return GetView74(); + } + + if (extentName == "ObservablesContext.CartridgeTypes") + { + return GetView75(); + } + + if (extentName == "ObservablesContext.Configurations") + { + return GetView76(); + } + + if (extentName == "ObservablesContext.ApplicationDisplayPanelVersions") + { + return GetView77(); + } + + if (extentName == "ObservablesContext.ApplicationFirmwareVersions") + { + return GetView78(); + } + + if (extentName == "ObservablesContext.ApplicationOsVersions") + { + return GetView79(); + } + + if (extentName == "ObservablesContext.EmbeddedFirmwareVersions") + { + return GetView80(); + } + + if (extentName == "ObservablesContext.HardwareVersions") + { + return GetView81(); + } + + if (extentName == "ObservablesContext.HardwareBlowers") + { + return GetView82(); + } + + if (extentName == "ObservablesContext.HardwareBlowerTypes") + { + return GetView83(); + } + + if (extentName == "ObservablesContext.HardwareBreakSensors") + { + return GetView84(); + } + + if (extentName == "ObservablesContext.HardwareBreakSensorTypes") + { + return GetView85(); + } + + if (extentName == "ObservablesContext.HardwareDancers") + { + return GetView86(); + } + + if (extentName == "ObservablesContext.HardwareDancerTypes") + { + return GetView87(); + } + + if (extentName == "ObservablesContext.HardwareMotors") + { + return GetView88(); + } + + if (extentName == "ObservablesContext.HardwareMotorTypes") + { + return GetView89(); + } + + if (extentName == "ObservablesContext.HardwarePidControls") + { + return GetView90(); + } + + if (extentName == "ObservablesContext.HardwarePidControlTypes") + { + return GetView91(); + } + + if (extentName == "ObservablesContext.HardwareSpeedSensors") + { + return GetView92(); + } + + if (extentName == "ObservablesContext.HardwareSpeedSensorTypes") + { + return GetView93(); + } + + if (extentName == "ObservablesContext.HardwareWinders") + { + return GetView94(); + } + + if (extentName == "ObservablesContext.HardwareWinderTypes") + { + return GetView95(); + } + + if (extentName == "ObservablesContext.Machines") + { + return GetView96(); + } + + if (extentName == "ObservablesContext.SpoolTypes") + { + return GetView97(); + } + + if (extentName == "ObservablesContext.Spools") + { + return GetView98(); + } + + if (extentName == "ObservablesContext.MachinesEvents") + { + return GetView99(); + } + + if (extentName == "ObservablesContext.EventTypes") + { + return GetView100(); + } + + if (extentName == "ObservablesContext.MachineVersions") + { + return GetView101(); + } + + if (extentName == "ObservablesContext.TangoVersions") + { + return GetView102(); + } + + if (extentName == "ObservablesContext.Dispensers") + { + return GetView103(); + } + + if (extentName == "ObservablesContext.DispenserTypes") + { + return GetView104(); + } + + if (extentName == "ObservablesContext.IdsPackFormulas") + { + return GetView105(); + } + + if (extentName == "ObservablesContext.MidTankTypes") + { + return GetView106(); + } + + if (extentName == "ObservablesContext.LiquidTypesRmls") + { + return GetView107(); + } + + if (extentName == "ObservablesContext.Ccts") + { + return GetView108(); + } + + if (extentName == "ObservablesContext.FiberShapes") + { + return GetView109(); + } + + if (extentName == "ObservablesContext.FiberSynths") + { + return GetView110(); + } + + if (extentName == "ObservablesContext.LinearMassDensityUnits") + { + return GetView111(); + } + + if (extentName == "ObservablesContext.MediaConditions") + { + return GetView112(); + } + + if (extentName == "ObservablesContext.MediaMaterials") + { + return GetView113(); + } + + if (extentName == "ObservablesContext.MediaPurposes") + { + return GetView114(); + } + + if (extentName == "ObservablesContext.ProcessParametersTablesGroups") + { + return GetView115(); + } + + if (extentName == "ObservablesContext.ProcessParametersTables") + { + return GetView116(); + } + + if (extentName == "ObservablesContext.Segments") + { + return GetView117(); + } + + if (extentName == "ObservablesContext.Customers") + { + return GetView118(); + } + + if (extentName == "ObservablesContext.JobRuns") + { + return GetView119(); + } + + if (extentName == "ObservablesContext.WindingMethods") + { + return GetView120(); + } + + if (extentName == "ObservablesContext.MachineStudioVersions") + { + return GetView121(); + } + + if (extentName == "ObservablesContext.UsersRoles") + { + return GetView122(); + } + + if (extentName == "ObservablesContext.Roles") + { + return GetView123(); + } + + if (extentName == "ObservablesContext.RolesPermissions") + { + return GetView124(); + } + + if (extentName == "ObservablesContext.Permissions") + { + return GetView125(); + } + + if (extentName == "CodeFirstDatabase.SyncConfiguration") + { + return GetView126(); + } + + if (extentName == "ObservablesContext.SyncConfigurations") + { + return GetView127(); + } + + if (extentName == "CodeFirstDatabase.Sysdiagram") + { + return GetView128(); + } + + if (extentName == "ObservablesContext.Sysdiagrams") + { + return GetView129(); + } + + if (extentName == "CodeFirstDatabase.TechController") + { + return GetView130(); + } + + if (extentName == "ObservablesContext.TechControllers") + { + return GetView131(); + } + + if (extentName == "CodeFirstDatabase.TechDispenser") + { + return GetView132(); + } + + if (extentName == "ObservablesContext.TechDispensers") + { + return GetView133(); + } + + if (extentName == "CodeFirstDatabase.TechHeater") + { + return GetView134(); + } + + if (extentName == "ObservablesContext.TechHeaters") + { + return GetView135(); + } + + if (extentName == "CodeFirstDatabase.TechIo") + { + return GetView136(); + } + + if (extentName == "ObservablesContext.TechIos") + { + return GetView137(); + } + + if (extentName == "CodeFirstDatabase.TechMonitor") + { + return GetView138(); + } + + if (extentName == "ObservablesContext.TechMonitors") + { + return GetView139(); + } + + if (extentName == "CodeFirstDatabase.TechValve") + { + return GetView140(); + } + + if (extentName == "ObservablesContext.TechValves") + { + return GetView141(); + } + + return null; + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Address. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView0() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Address + [CodeFirstDatabaseSchema.Address](T1.Address_GUID, T1.Address_DELETED, T1.[Address.ADDRESS_STRING], T1.Address_LOCALITY, T1.Address_COUNTRY, T1.Address_CITY, T1.Address_STATE, T1.[Address.COUNTRY_CODE], T1.[Address.POSTAL_CODE], T1.Address_ID, T1.[Address.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Address_GUID, + T.Deleted AS Address_DELETED, + T.AddressString AS [Address.ADDRESS_STRING], + T.Locality AS Address_LOCALITY, + T.Country AS Address_COUNTRY, + T.City AS Address_CITY, + T.State AS Address_STATE, + T.CountryCode AS [Address.COUNTRY_CODE], + T.PostalCode AS [Address.POSTAL_CODE], + T.ID AS Address_ID, + T.LastUpdated AS [Address.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Addresses AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Organization. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView1() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Organization + [CodeFirstDatabaseSchema.Organization](T1.Organization_GUID, T1.Organization_NAME, T1.[Organization.CONTACT_GUID], T1.[Organization.ADDRESS_GUID], T1.Organization_ID, T1.[Organization.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Organization_GUID, + T.Name AS Organization_NAME, + T.ContactGuid AS [Organization.CONTACT_GUID], + T.AddressGuid AS [Organization.ADDRESS_GUID], + T.ID AS Organization_ID, + T.LastUpdated AS [Organization.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Organizations AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Contact. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView2() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Contact + [CodeFirstDatabaseSchema.Contact](T1.Contact_GUID, T1.Contact_DELETED, T1.[Contact.FIRST_NAME], T1.[Contact.LAST_NAME], T1.[Contact.FULL_NAME], T1.Contact_EMAIL, T1.[Contact.PHONE_NUMBER], T1.Contact_FAX, T1.Contact_ID, T1.[Contact.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Contact_GUID, + T.Deleted AS Contact_DELETED, + T.FirstName AS [Contact.FIRST_NAME], + T.LastName AS [Contact.LAST_NAME], + T.FullName AS [Contact.FULL_NAME], + T.Email AS Contact_EMAIL, + T.PhoneNumber AS [Contact.PHONE_NUMBER], + T.Fax AS Contact_FAX, + T.ID AS Contact_ID, + T.LastUpdated AS [Contact.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Contacts AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.User. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView3() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing User + [CodeFirstDatabaseSchema.User](T1.User_GUID, T1.User_DELETED, T1.User_EMAIL, T1.User_PASSWORD, T1.[User.ORGANIZATION_GUID], T1.[User.CONTACT_GUID], T1.[User.ADDRESS_GUID], T1.[User.LAST_LOGIN], T1.User_ID, T1.[User.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS User_GUID, + T.Deleted AS User_DELETED, + T.Email AS User_EMAIL, + T.Password AS User_PASSWORD, + T.OrganizationGuid AS [User.ORGANIZATION_GUID], + T.ContactGuid AS [User.CONTACT_GUID], + T.AddressGuid AS [User.ADDRESS_GUID], + T.LastLogin AS [User.LAST_LOGIN], + T.ID AS User_ID, + T.LastUpdated AS [User.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Users AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Job. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView4() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Job + [CodeFirstDatabaseSchema.Job](T1.Job_GUID, T1.[Job.CREATION_DATE], T1.[Job.LAST_RUN], T1.[Job.MACHINE_GUID], T1.[Job.USER_GUID], T1.[Job.RML_GUID], T1.[Job.WINDING_METHOD_GUID], T1.[Job.SPOOL_TYPE_GUID], T1.Job_NAME, T1.Job_DESCRIPTION, T1.[Job.INTER_SEGMENT_LENGTH], T1.[Job.ENABLE_INTER_SEGMENT], T1.[Job.ENABLE_LUBRICATION], T1.[Job.JOB_INDEX], T1.[Job.ESTIMATED_DURATION_MILI], T1.[Job.HAS_EMBROIDERY_FILE], T1.[Job.EMBROIDERY_FILE_DATA], T1.[Job.EMBROIDERY_FILE_NAME], T1.[Job.EMBROIDERY_JPEG], T1.Job_STATUS, T1.[Job.COLOR_SPACE_GUID], T1.[Job.NUMBER_OF_UNITS], T1.Job_TYPE, T1.[Job.CUSTOMER_GUID], T1.[Job.SPOOLS_DISTRIBUTION], T1.[Job.NUMBER_OF_HEADS], T1.[Job.SAMPLE_UNITS_OR_METERS], T1.[Job.FINE_TUNING_STATUS], T1.[Job.FINE_TUNING_APPROVE_DATE], T1.[Job.SAMPLE_DYE_STATUS], T1.[Job.SAMPLE_DYE_APPROVE_DATE], T1.[Job.EDITING_STATE], T1.[Job.LENGTH_PERCENTAGE_FACTOR], T1.Job_ID, T1.[Job.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Job_GUID, + T.CreationDate AS [Job.CREATION_DATE], + T.LastRun AS [Job.LAST_RUN], + T.MachineGuid AS [Job.MACHINE_GUID], + T.UserGuid AS [Job.USER_GUID], + T.RmlGuid AS [Job.RML_GUID], + T.WindingMethodGuid AS [Job.WINDING_METHOD_GUID], + T.SpoolTypeGuid AS [Job.SPOOL_TYPE_GUID], + T.Name AS Job_NAME, + T.Description AS Job_DESCRIPTION, + T.InterSegmentLength AS [Job.INTER_SEGMENT_LENGTH], + T.EnableInterSegment AS [Job.ENABLE_INTER_SEGMENT], + T.EnableLubrication AS [Job.ENABLE_LUBRICATION], + T.JobIndex AS [Job.JOB_INDEX], + T.EstimatedDurationMili AS [Job.ESTIMATED_DURATION_MILI], + T.HasEmbroideryFile AS [Job.HAS_EMBROIDERY_FILE], + T.EmbroideryFileData AS [Job.EMBROIDERY_FILE_DATA], + T.EmbroideryFileName AS [Job.EMBROIDERY_FILE_NAME], + T.EmbroideryJpeg AS [Job.EMBROIDERY_JPEG], + T.Status AS Job_STATUS, + T.ColorSpaceGuid AS [Job.COLOR_SPACE_GUID], + T.NumberOfUnits AS [Job.NUMBER_OF_UNITS], + T.Type AS Job_TYPE, + T.CustomerGuid AS [Job.CUSTOMER_GUID], + T.SpoolsDistribution AS [Job.SPOOLS_DISTRIBUTION], + T.NumberOfHeads AS [Job.NUMBER_OF_HEADS], + T.SampleUnitsOrMeters AS [Job.SAMPLE_UNITS_OR_METERS], + T.FineTuningStatus AS [Job.FINE_TUNING_STATUS], + T.FineTuningApproveDate AS [Job.FINE_TUNING_APPROVE_DATE], + T.SampleDyeStatus AS [Job.SAMPLE_DYE_STATUS], + T.SampleDyeApproveDate AS [Job.SAMPLE_DYE_APPROVE_DATE], + T.EditingState AS [Job.EDITING_STATE], + T.LengthPercentageFactor AS [Job.LENGTH_PERCENTAGE_FACTOR], + T.ID AS Job_ID, + T.LastUpdated AS [Job.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Jobs AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.ColorSpace. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView5() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing ColorSpace + [CodeFirstDatabaseSchema.ColorSpace](T1.ColorSpace_GUID, T1.ColorSpace_CODE, T1.ColorSpace_NAME, T1.ColorSpace_DESCRIPTION, T1.[ColorSpace.IS_CATALOG], T1.ColorSpace_THUMBNAIL, T1.ColorSpace_ID, T1.[ColorSpace.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS ColorSpace_GUID, + T.Code AS ColorSpace_CODE, + T.Name AS ColorSpace_NAME, + T.Description AS ColorSpace_DESCRIPTION, + T.IsCatalog AS [ColorSpace.IS_CATALOG], + T.Thumbnail AS ColorSpace_THUMBNAIL, + T.ID AS ColorSpace_ID, + T.LastUpdated AS [ColorSpace.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.ColorSpaces AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.BrushStop. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView6() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing BrushStop + [CodeFirstDatabaseSchema.BrushStop](T1.BrushStop_GUID, T1.[BrushStop.SEGMENT_GUID], T1.[BrushStop.COLOR_SPACE_GUID], T1.[BrushStop.OFFSET_PERCENT], T1.[BrushStop.STOP_INDEX], T1.BrushStop_CYAN, T1.BrushStop_MAGENTA, T1.BrushStop_YELLOW, T1.BrushStop_BLACK, T1.BrushStop_RED, T1.BrushStop_GREEN, T1.BrushStop_BLUE, T1.BrushStop_L, T1.BrushStop_A, T1.BrushStop_B, T1.BrushStop_V0, T1.[BrushStop.V0_DIV], T1.BrushStop_V1, T1.[BrushStop.V1_DIV], T1.BrushStop_V2, T1.[BrushStop.V2_DIV], T1.BrushStop_V3, T1.[BrushStop.V3_DIV], T1.BrushStop_V4, T1.[BrushStop.V4_DIV], T1.BrushStop_V5, T1.[BrushStop.V5_DIV], T1.BrushStop_V6, T1.[BrushStop.V6_DIV], T1.BrushStop_V7, T1.[BrushStop.V7_DIV], T1.BrushStop_CORRECTED, T1.[BrushStop.COLOR_CATALOG_GUID], T1.BrushStop_ID, T1.[BrushStop.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS BrushStop_GUID, + T.SegmentGuid AS [BrushStop.SEGMENT_GUID], + T.ColorSpaceGuid AS [BrushStop.COLOR_SPACE_GUID], + T.OffsetPercent AS [BrushStop.OFFSET_PERCENT], + T.StopIndex AS [BrushStop.STOP_INDEX], + T.Cyan AS BrushStop_CYAN, + T.Magenta AS BrushStop_MAGENTA, + T.Yellow AS BrushStop_YELLOW, + T.Black AS BrushStop_BLACK, + T.Red AS BrushStop_RED, + T.Green AS BrushStop_GREEN, + T.Blue AS BrushStop_BLUE, + T.L AS BrushStop_L, + T.A AS BrushStop_A, + T.B AS BrushStop_B, + T.V0 AS BrushStop_V0, + T.V0Div AS [BrushStop.V0_DIV], + T.V1 AS BrushStop_V1, + T.V1Div AS [BrushStop.V1_DIV], + T.V2 AS BrushStop_V2, + T.V2Div AS [BrushStop.V2_DIV], + T.V3 AS BrushStop_V3, + T.V3Div AS [BrushStop.V3_DIV], + T.V4 AS BrushStop_V4, + T.V4Div AS [BrushStop.V4_DIV], + T.V5 AS BrushStop_V5, + T.V5Div AS [BrushStop.V5_DIV], + T.V6 AS BrushStop_V6, + T.V6Div AS [BrushStop.V6_DIV], + T.V7 AS BrushStop_V7, + T.V7Div AS [BrushStop.V7_DIV], + T.Corrected AS BrushStop_CORRECTED, + T.ColorCatalogGuid AS [BrushStop.COLOR_CATALOG_GUID], + T.ID AS BrushStop_ID, + T.LastUpdated AS [BrushStop.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.BrushStops AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.ColorCatalog. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView7() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing ColorCatalog + [CodeFirstDatabaseSchema.ColorCatalog](T1.ColorCatalog_GUID, T1.[ColorCatalog.RML_GUID], T1.[ColorCatalog.COLOR_SPACE_GUID], T1.[ColorCatalog.COLOR_CODE], T1.ColorCatalog_NAME, T1.[ColorCatalog.COLOR_GROUP], T1.ColorCatalog_CYAN, T1.ColorCatalog_MAGENTA, T1.ColorCatalog_YELLOW, T1.ColorCatalog_BLACK, T1.ColorCatalog_RED, T1.ColorCatalog_GREEN, T1.ColorCatalog_BLUE, T1.ColorCatalog_L, T1.ColorCatalog_A, T1.ColorCatalog_B, T1.[ColorCatalog.PROCESS_PARAMETERS_TABLE_INDEX], T1.ColorCatalog_ID, T1.[ColorCatalog.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS ColorCatalog_GUID, + T.RmlGuid AS [ColorCatalog.RML_GUID], + T.ColorSpaceGuid AS [ColorCatalog.COLOR_SPACE_GUID], + T.ColorCode AS [ColorCatalog.COLOR_CODE], + T.Name AS ColorCatalog_NAME, + T.ColorGroup AS [ColorCatalog.COLOR_GROUP], + T.Cyan AS ColorCatalog_CYAN, + T.Magenta AS ColorCatalog_MAGENTA, + T.Yellow AS ColorCatalog_YELLOW, + T.Black AS ColorCatalog_BLACK, + T.Red AS ColorCatalog_RED, + T.Green AS ColorCatalog_GREEN, + T.Blue AS ColorCatalog_BLUE, + T.L AS ColorCatalog_L, + T.A AS ColorCatalog_A, + T.B AS ColorCatalog_B, + T.ProcessParametersTableIndex AS [ColorCatalog.PROCESS_PARAMETERS_TABLE_INDEX], + T.ID AS ColorCatalog_ID, + T.LastUpdated AS [ColorCatalog.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.ColorCatalogs AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Rml. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView8() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Rml + [CodeFirstDatabaseSchema.Rml](T1.Rml_GUID, T1.Rml_NAME, T1.Rml_MANUFACTURER, T1.Rml_CODE, T1.[Rml.WHITE_POINT_L], T1.[Rml.WHITE_POINT_A], T1.[Rml.WHITE_POINT_B], T1.[Rml.MEDIA_MATERIAL_GUID], T1.[Rml.MEDIA_PURPOSE_GUID], T1.[Rml.MEDIA_CONDITION_GUID], T1.[Rml.LINEAR_MASS_DENSITY_UNIT_GUID], T1.[Rml.FIBER_SHAPE_GUID], T1.[Rml.FIBER_SYNTH_GUID], T1.[Rml.FIBER_SIZE], T1.[Rml.NUMBER_OF_FIBERS], T1.[Rml.PLIES_PER_FIBER], T1.[Rml.PLIES_PER_THREAD], T1.Rml_TWISTED, T1.[Rml.AIR_ENTANGLEMENT], T1.Rml_LUBRICANT, T1.[Rml.TENSILE_STRENGTH], T1.[Rml.ELONGATION_AT_BREAK_PERCENTAGE], T1.[Rml.ESTIMATED_THREAD_DIAMETER], T1.Rml_RANK, T1.Rml_THUMBNAIL, T1.Rml_ID, T1.[Rml.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Rml_GUID, + T.Name AS Rml_NAME, + T.Manufacturer AS Rml_MANUFACTURER, + T.Code AS Rml_CODE, + T.WhitePointL AS [Rml.WHITE_POINT_L], + T.WhitePointA AS [Rml.WHITE_POINT_A], + T.WhitePointB AS [Rml.WHITE_POINT_B], + T.MediaMaterialGuid AS [Rml.MEDIA_MATERIAL_GUID], + T.MediaPurposeGuid AS [Rml.MEDIA_PURPOSE_GUID], + T.MediaConditionGuid AS [Rml.MEDIA_CONDITION_GUID], + T.LinearMassDensityUnitGuid AS [Rml.LINEAR_MASS_DENSITY_UNIT_GUID], + T.FiberShapeGuid AS [Rml.FIBER_SHAPE_GUID], + T.FiberSynthGuid AS [Rml.FIBER_SYNTH_GUID], + T.FiberSize AS [Rml.FIBER_SIZE], + T.NumberOfFibers AS [Rml.NUMBER_OF_FIBERS], + T.PliesPerFiber AS [Rml.PLIES_PER_FIBER], + T.PliesPerThread AS [Rml.PLIES_PER_THREAD], + T.Twisted AS Rml_TWISTED, + T.AirEntanglement AS [Rml.AIR_ENTANGLEMENT], + T.Lubricant AS Rml_LUBRICANT, + T.TensileStrength AS [Rml.TENSILE_STRENGTH], + T.ElongationAtBreakPercentage AS [Rml.ELONGATION_AT_BREAK_PERCENTAGE], + T.EstimatedThreadDiameter AS [Rml.ESTIMATED_THREAD_DIAMETER], + T.Rank AS Rml_RANK, + T.Thumbnail AS Rml_THUMBNAIL, + T.ID AS Rml_ID, + T.LastUpdated AS [Rml.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Rmls AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Cat. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView9() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Cat + [CodeFirstDatabaseSchema.Cat](T1.Cat_GUID, T1.Cat_NAME, T1.[Cat.MACHINE_GUID], T1.[Cat.RML_GUID], T1.[Cat.LIQUID_TYPE_GUID], T1.Cat_DATA, T1.Cat_ID, T1.[Cat.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Cat_GUID, + T.Name AS Cat_NAME, + T.MachineGuid AS [Cat.MACHINE_GUID], + T.RmlGuid AS [Cat.RML_GUID], + T.LiquidTypeGuid AS [Cat.LIQUID_TYPE_GUID], + T.Data AS Cat_DATA, + T.ID AS Cat_ID, + T.LastUpdated AS [Cat.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Cats AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.LiquidType. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView10() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing LiquidType + [CodeFirstDatabaseSchema.LiquidType](T1.LiquidType_GUID, T1.LiquidType_CODE, T1.LiquidType_NAME, T1.LiquidType_VERSION, T1.LiquidType_COLOR, T1.LiquidType_ID, T1.[LiquidType.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS LiquidType_GUID, + T.Code AS LiquidType_CODE, + T.Name AS LiquidType_NAME, + T.Version AS LiquidType_VERSION, + T.Color AS LiquidType_COLOR, + T.ID AS LiquidType_ID, + T.LastUpdated AS [LiquidType.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.LiquidTypes AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.IdsPack. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView11() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing IdsPack + [CodeFirstDatabaseSchema.IdsPack](T1.IdsPack_GUID, T1.[IdsPack.CONFIGURATION_GUID], T1.[IdsPack.DISPENSER_GUID], T1.[IdsPack.LIQUID_TYPE_GUID], T1.[IdsPack.CARTRIDGE_TYPE_GUID], T1.[IdsPack.MID_TANK_TYPE_GUID], T1.[IdsPack.IDS_PACK_FORMULA_GUID], T1.[IdsPack.PACK_INDEX], T1.[IdsPack.IS_EMPTY], T1.IdsPack_ID, T1.[IdsPack.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS IdsPack_GUID, + T.ConfigurationGuid AS [IdsPack.CONFIGURATION_GUID], + T.DispenserGuid AS [IdsPack.DISPENSER_GUID], + T.LiquidTypeGuid AS [IdsPack.LIQUID_TYPE_GUID], + T.CartridgeTypeGuid AS [IdsPack.CARTRIDGE_TYPE_GUID], + T.MidTankTypeGuid AS [IdsPack.MID_TANK_TYPE_GUID], + T.IdsPackFormulaGuid AS [IdsPack.IDS_PACK_FORMULA_GUID], + T.PackIndex AS [IdsPack.PACK_INDEX], + T.IsEmpty AS [IdsPack.IS_EMPTY], + T.ID AS IdsPack_ID, + T.LastUpdated AS [IdsPack.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.IdsPacks AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.CartridgeType. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView12() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing CartridgeType + [CodeFirstDatabaseSchema.CartridgeType](T1.CartridgeType_GUID, T1.CartridgeType_CODE, T1.CartridgeType_NAME, T1.CartridgeType_ID, T1.[CartridgeType.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS CartridgeType_GUID, + T.Code AS CartridgeType_CODE, + T.Name AS CartridgeType_NAME, + T.ID AS CartridgeType_ID, + T.LastUpdated AS [CartridgeType.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.CartridgeTypes AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Configuration. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView13() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Configuration + [CodeFirstDatabaseSchema.Configuration](T1.Configuration_GUID, T1.[Configuration.APPLICATION_OS_VERSION_GUID], T1.[Configuration.APPLICATION_FIRMWARE_VERSION_GUID], T1.[Configuration.APPLICATION_DISPLAY_PANEL_VERSION_GUID], T1.[Configuration.EMBEDDED_FIRMWARE_VERSION_GUID], T1.[Configuration.HARDWARE_VERSION_GUID], T1.Configuration_ID, T1.[Configuration.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Configuration_GUID, + T.ApplicationOsVersionGuid AS [Configuration.APPLICATION_OS_VERSION_GUID], + T.ApplicationFirmwareVersionGuid AS [Configuration.APPLICATION_FIRMWARE_VERSION_GUID], + T.ApplicationDisplayPanelVersionGuid AS [Configuration.APPLICATION_DISPLAY_PANEL_VERSION_GUID], + T.EmbeddedFirmwareVersionGuid AS [Configuration.EMBEDDED_FIRMWARE_VERSION_GUID], + T.HardwareVersionGuid AS [Configuration.HARDWARE_VERSION_GUID], + T.ID AS Configuration_ID, + T.LastUpdated AS [Configuration.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Configurations AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.ApplicationDisplayPanelVersion. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView14() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing ApplicationDisplayPanelVersion + [CodeFirstDatabaseSchema.ApplicationDisplayPanelVersion](T1.ApplicationDisplayPanelVersion_GUID, T1.ApplicationDisplayPanelVersion_VERSION, T1.ApplicationDisplayPanelVersion_NAME, T1.ApplicationDisplayPanelVersion_ID, T1.[ApplicationDisplayPanelVersion.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS ApplicationDisplayPanelVersion_GUID, + T.Version AS ApplicationDisplayPanelVersion_VERSION, + T.Name AS ApplicationDisplayPanelVersion_NAME, + T.ID AS ApplicationDisplayPanelVersion_ID, + T.LastUpdated AS [ApplicationDisplayPanelVersion.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.ApplicationDisplayPanelVersions AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.ApplicationFirmwareVersion. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView15() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing ApplicationFirmwareVersion + [CodeFirstDatabaseSchema.ApplicationFirmwareVersion](T1.ApplicationFirmwareVersion_GUID, T1.ApplicationFirmwareVersion_VERSION, T1.ApplicationFirmwareVersion_NAME, T1.ApplicationFirmwareVersion_ID, T1.[ApplicationFirmwareVersion.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS ApplicationFirmwareVersion_GUID, + T.Version AS ApplicationFirmwareVersion_VERSION, + T.Name AS ApplicationFirmwareVersion_NAME, + T.ID AS ApplicationFirmwareVersion_ID, + T.LastUpdated AS [ApplicationFirmwareVersion.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.ApplicationFirmwareVersions AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.ApplicationOsVersion. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView16() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing ApplicationOsVersion + [CodeFirstDatabaseSchema.ApplicationOsVersion](T1.ApplicationOsVersion_GUID, T1.ApplicationOsVersion_VERSION, T1.ApplicationOsVersion_NAME, T1.ApplicationOsVersion_ID, T1.[ApplicationOsVersion.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS ApplicationOsVersion_GUID, + T.Version AS ApplicationOsVersion_VERSION, + T.Name AS ApplicationOsVersion_NAME, + T.ID AS ApplicationOsVersion_ID, + T.LastUpdated AS [ApplicationOsVersion.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.ApplicationOsVersions AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.EmbeddedFirmwareVersion. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView17() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing EmbeddedFirmwareVersion + [CodeFirstDatabaseSchema.EmbeddedFirmwareVersion](T1.EmbeddedFirmwareVersion_GUID, T1.EmbeddedFirmwareVersion_VERSION, T1.EmbeddedFirmwareVersion_NAME, T1.EmbeddedFirmwareVersion_ID, T1.[EmbeddedFirmwareVersion.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS EmbeddedFirmwareVersion_GUID, + T.Version AS EmbeddedFirmwareVersion_VERSION, + T.Name AS EmbeddedFirmwareVersion_NAME, + T.ID AS EmbeddedFirmwareVersion_ID, + T.LastUpdated AS [EmbeddedFirmwareVersion.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.EmbeddedFirmwareVersions AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.HardwareVersion. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView18() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareVersion + [CodeFirstDatabaseSchema.HardwareVersion](T1.HardwareVersion_GUID, T1.HardwareVersion_VERSION, T1.HardwareVersion_NAME, T1.HardwareVersion_ID, T1.[HardwareVersion.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS HardwareVersion_GUID, + T.Version AS HardwareVersion_VERSION, + T.Name AS HardwareVersion_NAME, + T.ID AS HardwareVersion_ID, + T.LastUpdated AS [HardwareVersion.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.HardwareVersions AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.HardwareBlower. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView19() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareBlower + [CodeFirstDatabaseSchema.HardwareBlower](T1.HardwareBlower_GUID, T1.[HardwareBlower.HARDWARE_BLOWER_TYPE_GUID], T1.[HardwareBlower.HARDWARE_VERSION_GUID], T1.HardwareBlower_ENABLED, T1.HardwareBlower_VOLTAGE, T1.[HardwareBlower.HEATING_VOLTAGE], T1.HardwareBlower_ACTIVE, T1.HardwareBlower_ID, T1.[HardwareBlower.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS HardwareBlower_GUID, + T.HardwareBlowerTypeGuid AS [HardwareBlower.HARDWARE_BLOWER_TYPE_GUID], + T.HardwareVersionGuid AS [HardwareBlower.HARDWARE_VERSION_GUID], + T.Enabled AS HardwareBlower_ENABLED, + T.Voltage AS HardwareBlower_VOLTAGE, + T.HeatingVoltage AS [HardwareBlower.HEATING_VOLTAGE], + T.Active AS HardwareBlower_ACTIVE, + T.ID AS HardwareBlower_ID, + T.LastUpdated AS [HardwareBlower.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.HardwareBlowers AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.HardwareBlowerType. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView20() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareBlowerType + [CodeFirstDatabaseSchema.HardwareBlowerType](T1.HardwareBlowerType_GUID, T1.HardwareBlowerType_CODE, T1.HardwareBlowerType_NAME, T1.HardwareBlowerType_DESCRIPTION, T1.HardwareBlowerType_ID, T1.[HardwareBlowerType.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS HardwareBlowerType_GUID, + T.Code AS HardwareBlowerType_CODE, + T.Name AS HardwareBlowerType_NAME, + T.Description AS HardwareBlowerType_DESCRIPTION, + T.ID AS HardwareBlowerType_ID, + T.LastUpdated AS [HardwareBlowerType.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.HardwareBlowerTypes AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.HardwareBreakSensor. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView21() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareBreakSensor + [CodeFirstDatabaseSchema.HardwareBreakSensor](T1.HardwareBreakSensor_GUID, T1.[HardwareBreakSensor.HARDWARE_BREAK_SENSOR_TYPE_GUID], T1.[HardwareBreakSensor.HARDWARE_VERSION_GUID], T1.HardwareBreakSensor_ENABLED, T1.[HardwareBreakSensor.DE_BOUNCE_TIME_MILLI], T1.HardwareBreakSensor_ACTIVE, T1.HardwareBreakSensor_ID, T1.[HardwareBreakSensor.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS HardwareBreakSensor_GUID, + T.HardwareBreakSensorTypeGuid AS [HardwareBreakSensor.HARDWARE_BREAK_SENSOR_TYPE_GUID], + T.HardwareVersionGuid AS [HardwareBreakSensor.HARDWARE_VERSION_GUID], + T.Enabled AS HardwareBreakSensor_ENABLED, + T.DeBounceTimeMilli AS [HardwareBreakSensor.DE_BOUNCE_TIME_MILLI], + T.Active AS HardwareBreakSensor_ACTIVE, + T.ID AS HardwareBreakSensor_ID, + T.LastUpdated AS [HardwareBreakSensor.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.HardwareBreakSensors AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.HardwareBreakSensorType. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView22() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareBreakSensorType + [CodeFirstDatabaseSchema.HardwareBreakSensorType](T1.HardwareBreakSensorType_GUID, T1.HardwareBreakSensorType_CODE, T1.HardwareBreakSensorType_NAME, T1.HardwareBreakSensorType_DESCRIPTION, T1.HardwareBreakSensorType_ID, T1.[HardwareBreakSensorType.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS HardwareBreakSensorType_GUID, + T.Code AS HardwareBreakSensorType_CODE, + T.Name AS HardwareBreakSensorType_NAME, + T.Description AS HardwareBreakSensorType_DESCRIPTION, + T.ID AS HardwareBreakSensorType_ID, + T.LastUpdated AS [HardwareBreakSensorType.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.HardwareBreakSensorTypes AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.HardwareDancer. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView23() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareDancer + [CodeFirstDatabaseSchema.HardwareDancer](T1.HardwareDancer_GUID, T1.[HardwareDancer.HARDWARE_DANCER_TYPE_GUID], T1.[HardwareDancer.HARDWARE_VERSION_GUID], T1.HardwareDancer_GRADUAL, T1.HardwareDancer_K, T1.HardwareDancer_X, T1.[HardwareDancer.PULSE_PER_MM_SPRING], T1.[HardwareDancer.MAXIMAL_MOVEMENT_MM], T1.[HardwareDancer.ZERO_POINT], T1.[HardwareDancer.RESOLUTION_BITS], T1.[HardwareDancer.ARM_LENGTH], T1.[HardwareDancer.ASSEMBLY_DIRECTION_RIGHT], T1.[HardwareDancer.ACCELERATE_ON_TENSION_RAISE], T1.HardwareDancer_ACTIVE, T1.HardwareDancer_ID, T1.[HardwareDancer.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS HardwareDancer_GUID, + T.HardwareDancerTypeGuid AS [HardwareDancer.HARDWARE_DANCER_TYPE_GUID], + T.HardwareVersionGuid AS [HardwareDancer.HARDWARE_VERSION_GUID], + T.Gradual AS HardwareDancer_GRADUAL, + T.K AS HardwareDancer_K, + T.X AS HardwareDancer_X, + T.PulsePerMmSpring AS [HardwareDancer.PULSE_PER_MM_SPRING], + T.MaximalMovementMm AS [HardwareDancer.MAXIMAL_MOVEMENT_MM], + T.ZeroPoint AS [HardwareDancer.ZERO_POINT], + T.ResolutionBits AS [HardwareDancer.RESOLUTION_BITS], + T.ArmLength AS [HardwareDancer.ARM_LENGTH], + T.AssemblyDirectionRight AS [HardwareDancer.ASSEMBLY_DIRECTION_RIGHT], + T.AccelerateOnTensionRaise AS [HardwareDancer.ACCELERATE_ON_TENSION_RAISE], + T.Active AS HardwareDancer_ACTIVE, + T.ID AS HardwareDancer_ID, + T.LastUpdated AS [HardwareDancer.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.HardwareDancers AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.HardwareDancerType. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView24() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareDancerType + [CodeFirstDatabaseSchema.HardwareDancerType](T1.HardwareDancerType_GUID, T1.HardwareDancerType_CODE, T1.HardwareDancerType_NAME, T1.HardwareDancerType_DESCRIPTION, T1.HardwareDancerType_ID, T1.[HardwareDancerType.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS HardwareDancerType_GUID, + T.Code AS HardwareDancerType_CODE, + T.Name AS HardwareDancerType_NAME, + T.Description AS HardwareDancerType_DESCRIPTION, + T.ID AS HardwareDancerType_ID, + T.LastUpdated AS [HardwareDancerType.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.HardwareDancerTypes AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.HardwareMotor. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView25() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareMotor + [CodeFirstDatabaseSchema.HardwareMotor](T1.HardwareMotor_GUID, T1.[HardwareMotor.HARDWARE_MOTOR_TYPE_GUID], T1.[HardwareMotor.HARDWARE_VERSION_GUID], T1.[HardwareMotor.MIN_FREQUENCY], T1.[HardwareMotor.MAX_FREQUENCY], T1.[HardwareMotor.SET_MICRO_STEP], T1.[HardwareMotor.MICRO_STEP], T1.[HardwareMotor.MAX_CHANGE_SLOPE], T1.[HardwareMotor.HIGH_LENGTH_MICRO_SECOND], T1.[HardwareMotor.SPEED_MASTER], T1.[HardwareMotor.PULSE_PER_ROUND], T1.[HardwareMotor.PULLEY_RADIUS], T1.[HardwareMotor.CONFIG_WORD], T1.[HardwareMotor.DIRECTION_THREAD_WIZE], T1.[HardwareMotor.KVAL_HOLD], T1.[HardwareMotor.KVAL_RUN], T1.[HardwareMotor.KVAL_ACC], T1.[HardwareMotor.KVAL_DEC], T1.[HardwareMotor.OVER_CURRENT_THRESHOLD], T1.[HardwareMotor.STALL_THRESHOLD], T1.[HardwareMotor.THERMAL_COMPENSATION_FACTOR], T1.[HardwareMotor.LOW_SPEED_OPTIMIZATION], T1.[HardwareMotor.ST_SLP], T1.[HardwareMotor.INT_SPD], T1.[HardwareMotor.FN_SLP_ACC], T1.[HardwareMotor.FN_SLP_DEC], T1.[HardwareMotor.FS_SPD], T1.HardwareMotor_ACTIVE, T1.HardwareMotor_ID, T1.[HardwareMotor.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS HardwareMotor_GUID, + T.HardwareMotorTypeGuid AS [HardwareMotor.HARDWARE_MOTOR_TYPE_GUID], + T.HardwareVersionGuid AS [HardwareMotor.HARDWARE_VERSION_GUID], + T.MinFrequency AS [HardwareMotor.MIN_FREQUENCY], + T.MaxFrequency AS [HardwareMotor.MAX_FREQUENCY], + T.SetMicroStep AS [HardwareMotor.SET_MICRO_STEP], + T.MicroStep AS [HardwareMotor.MICRO_STEP], + T.MaxChangeSlope AS [HardwareMotor.MAX_CHANGE_SLOPE], + T.HighLengthMicroSecond AS [HardwareMotor.HIGH_LENGTH_MICRO_SECOND], + T.SpeedMaster AS [HardwareMotor.SPEED_MASTER], + T.PulsePerRound AS [HardwareMotor.PULSE_PER_ROUND], + T.PulleyRadius AS [HardwareMotor.PULLEY_RADIUS], + T.ConfigWord AS [HardwareMotor.CONFIG_WORD], + T.DirectionThreadWize AS [HardwareMotor.DIRECTION_THREAD_WIZE], + T.KvalHold AS [HardwareMotor.KVAL_HOLD], + T.KvalRun AS [HardwareMotor.KVAL_RUN], + T.KvalAcc AS [HardwareMotor.KVAL_ACC], + T.KvalDec AS [HardwareMotor.KVAL_DEC], + T.OverCurrentThreshold AS [HardwareMotor.OVER_CURRENT_THRESHOLD], + T.StallThreshold AS [HardwareMotor.STALL_THRESHOLD], + T.ThermalCompensationFactor AS [HardwareMotor.THERMAL_COMPENSATION_FACTOR], + T.LowSpeedOptimization AS [HardwareMotor.LOW_SPEED_OPTIMIZATION], + T.StSlp AS [HardwareMotor.ST_SLP], + T.IntSpd AS [HardwareMotor.INT_SPD], + T.FnSlpAcc AS [HardwareMotor.FN_SLP_ACC], + T.FnSlpDec AS [HardwareMotor.FN_SLP_DEC], + T.FsSpd AS [HardwareMotor.FS_SPD], + T.Active AS HardwareMotor_ACTIVE, + T.ID AS HardwareMotor_ID, + T.LastUpdated AS [HardwareMotor.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.HardwareMotors AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.HardwareMotorType. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView26() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareMotorType + [CodeFirstDatabaseSchema.HardwareMotorType](T1.HardwareMotorType_GUID, T1.HardwareMotorType_CODE, T1.HardwareMotorType_NAME, T1.HardwareMotorType_DESCRIPTION, T1.[HardwareMotorType.SUPPORTS_HOMING], T1.HardwareMotorType_ID, T1.[HardwareMotorType.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS HardwareMotorType_GUID, + T.Code AS HardwareMotorType_CODE, + T.Name AS HardwareMotorType_NAME, + T.Description AS HardwareMotorType_DESCRIPTION, + T.SupportsHoming AS [HardwareMotorType.SUPPORTS_HOMING], + T.ID AS HardwareMotorType_ID, + T.LastUpdated AS [HardwareMotorType.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.HardwareMotorTypes AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.HardwarePidControl. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView27() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwarePidControl + [CodeFirstDatabaseSchema.HardwarePidControl](T1.HardwarePidControl_GUID, T1.[HardwarePidControl.HARDWARE_PID_CONTROL_TYPE_GUID], T1.[HardwarePidControl.HARDWARE_VERSION_GUID], T1.[HardwarePidControl.OUTPUT_PROPORTIONAL_POWER_LIMIT], T1.[HardwarePidControl.OUTPUT_PROPORTIONAL_BAND], T1.[HardwarePidControl.INTEGRAL_TIME], T1.[HardwarePidControl.DERIVATIVE_TIME], T1.[HardwarePidControl.SENSOR_CORRECTION_ADJUSTMENT], T1.[HardwarePidControl.SENSOR_MIN_VALUE], T1.[HardwarePidControl.SENSOR_MAX_VALUE], T1.[HardwarePidControl.SET_POINT_RAMP_RATEOR_SOFT_START_RAMP], T1.[HardwarePidControl.SET_POINT_CONTROL_OUTPUT_RATE], T1.[HardwarePidControl.CONTROL_OUTPUT_TYPE], T1.[HardwarePidControl.SSR_CONTROL_OUTPUT_TYPE], T1.[HardwarePidControl.OUTPUT_ON_OFF_HYSTERESIS_VALUE], T1.[HardwarePidControl.PROCESS_VARIABLE_SAMPLING_RATE], T1.[HardwarePidControl.PV_INPUT_FILTER_FACTOR_MODE], T1.[HardwarePidControl.OUTPUT_PROPORTIONAL_CYCLE_TIME], T1.[HardwarePidControl.AC_HEATERS__HALF_CYCLE_TIME], T1.[HardwarePidControl.PROPORTIONAL_GAIN], T1.[HardwarePidControl.PID_ACTIVE], T1.HardwarePidControl_EPSILON, T1.HardwarePidControl_ACTIVE, T1.HardwarePidControl_ID, T1.[HardwarePidControl.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS HardwarePidControl_GUID, + T.HardwarePidControlTypeGuid AS [HardwarePidControl.HARDWARE_PID_CONTROL_TYPE_GUID], + T.HardwareVersionGuid AS [HardwarePidControl.HARDWARE_VERSION_GUID], + T.OutputProportionalPowerLimit AS [HardwarePidControl.OUTPUT_PROPORTIONAL_POWER_LIMIT], + T.OutputProportionalBand AS [HardwarePidControl.OUTPUT_PROPORTIONAL_BAND], + T.IntegralTime AS [HardwarePidControl.INTEGRAL_TIME], + T.DerivativeTime AS [HardwarePidControl.DERIVATIVE_TIME], + T.SensorCorrectionAdjustment AS [HardwarePidControl.SENSOR_CORRECTION_ADJUSTMENT], + T.SensorMinValue AS [HardwarePidControl.SENSOR_MIN_VALUE], + T.SensorMaxValue AS [HardwarePidControl.SENSOR_MAX_VALUE], + T.SetPointRampRateorSoftStartRamp AS [HardwarePidControl.SET_POINT_RAMP_RATEOR_SOFT_START_RAMP], + T.SetPointControlOutputRate AS [HardwarePidControl.SET_POINT_CONTROL_OUTPUT_RATE], + T.ControlOutputType AS [HardwarePidControl.CONTROL_OUTPUT_TYPE], + T.SsrControlOutputType AS [HardwarePidControl.SSR_CONTROL_OUTPUT_TYPE], + T.OutputOnOffHysteresisValue AS [HardwarePidControl.OUTPUT_ON_OFF_HYSTERESIS_VALUE], + T.ProcessVariableSamplingRate AS [HardwarePidControl.PROCESS_VARIABLE_SAMPLING_RATE], + T.PvInputFilterFactorMode AS [HardwarePidControl.PV_INPUT_FILTER_FACTOR_MODE], + T.OutputProportionalCycleTime AS [HardwarePidControl.OUTPUT_PROPORTIONAL_CYCLE_TIME], + T.AcHeatersHalfCycleTime AS [HardwarePidControl.AC_HEATERS__HALF_CYCLE_TIME], + T.ProportionalGain AS [HardwarePidControl.PROPORTIONAL_GAIN], + T.PidActive AS [HardwarePidControl.PID_ACTIVE], + T.Epsilon AS HardwarePidControl_EPSILON, + T.Active AS HardwarePidControl_ACTIVE, + T.ID AS HardwarePidControl_ID, + T.LastUpdated AS [HardwarePidControl.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.HardwarePidControls AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.HardwarePidControlType. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView28() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwarePidControlType + [CodeFirstDatabaseSchema.HardwarePidControlType](T1.HardwarePidControlType_GUID, T1.HardwarePidControlType_CODE, T1.HardwarePidControlType_NAME, T1.HardwarePidControlType_DESCRIPTION, T1.HardwarePidControlType_ID, T1.[HardwarePidControlType.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS HardwarePidControlType_GUID, + T.Code AS HardwarePidControlType_CODE, + T.Name AS HardwarePidControlType_NAME, + T.Description AS HardwarePidControlType_DESCRIPTION, + T.ID AS HardwarePidControlType_ID, + T.LastUpdated AS [HardwarePidControlType.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.HardwarePidControlTypes AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.HardwareSpeedSensor. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView29() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareSpeedSensor + [CodeFirstDatabaseSchema.HardwareSpeedSensor](T1.HardwareSpeedSensor_GUID, T1.[HardwareSpeedSensor.HARDWARE_SPEED_SENSOR_TYPE_GUID], T1.[HardwareSpeedSensor.HARDWARE_VERSION_GUID], T1.[HardwareSpeedSensor.RESOLUTION_BITS], T1.HardwareSpeedSensor_PERIMETER, T1.HardwareSpeedSensor_ACTIVE, T1.HardwareSpeedSensor_ID, T1.[HardwareSpeedSensor.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS HardwareSpeedSensor_GUID, + T.HardwareSpeedSensorTypeGuid AS [HardwareSpeedSensor.HARDWARE_SPEED_SENSOR_TYPE_GUID], + T.HardwareVersionGuid AS [HardwareSpeedSensor.HARDWARE_VERSION_GUID], + T.ResolutionBits AS [HardwareSpeedSensor.RESOLUTION_BITS], + T.Perimeter AS HardwareSpeedSensor_PERIMETER, + T.Active AS HardwareSpeedSensor_ACTIVE, + T.ID AS HardwareSpeedSensor_ID, + T.LastUpdated AS [HardwareSpeedSensor.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.HardwareSpeedSensors AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.HardwareSpeedSensorType. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView30() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareSpeedSensorType + [CodeFirstDatabaseSchema.HardwareSpeedSensorType](T1.HardwareSpeedSensorType_GUID, T1.HardwareSpeedSensorType_CODE, T1.HardwareSpeedSensorType_NAME, T1.HardwareSpeedSensorType_DESCRIPTION, T1.HardwareSpeedSensorType_ID, T1.[HardwareSpeedSensorType.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS HardwareSpeedSensorType_GUID, + T.Code AS HardwareSpeedSensorType_CODE, + T.Name AS HardwareSpeedSensorType_NAME, + T.Description AS HardwareSpeedSensorType_DESCRIPTION, + T.ID AS HardwareSpeedSensorType_ID, + T.LastUpdated AS [HardwareSpeedSensorType.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.HardwareSpeedSensorTypes AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.HardwareWinder. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView31() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareWinder + [CodeFirstDatabaseSchema.HardwareWinder](T1.HardwareWinder_GUID, T1.[HardwareWinder.HARDWARE_WINDER_TYPE_GUID], T1.[HardwareWinder.HARDWARE_VERSION_GUID], T1.[HardwareWinder.MILLIMETER_PER_ROTATION], T1.HardwareWinder_ACTIVE, T1.HardwareWinder_ID, T1.[HardwareWinder.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS HardwareWinder_GUID, + T.HardwareWinderTypeGuid AS [HardwareWinder.HARDWARE_WINDER_TYPE_GUID], + T.HardwareVersionGuid AS [HardwareWinder.HARDWARE_VERSION_GUID], + T.MillimeterPerRotation AS [HardwareWinder.MILLIMETER_PER_ROTATION], + T.Active AS HardwareWinder_ACTIVE, + T.ID AS HardwareWinder_ID, + T.LastUpdated AS [HardwareWinder.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.HardwareWinders AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.HardwareWinderType. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView32() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareWinderType + [CodeFirstDatabaseSchema.HardwareWinderType](T1.HardwareWinderType_GUID, T1.HardwareWinderType_CODE, T1.HardwareWinderType_NAME, T1.HardwareWinderType_DESCRIPTION, T1.HardwareWinderType_ID, T1.[HardwareWinderType.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS HardwareWinderType_GUID, + T.Code AS HardwareWinderType_CODE, + T.Name AS HardwareWinderType_NAME, + T.Description AS HardwareWinderType_DESCRIPTION, + T.ID AS HardwareWinderType_ID, + T.LastUpdated AS [HardwareWinderType.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.HardwareWinderTypes AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Machine. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView33() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Machine + [CodeFirstDatabaseSchema.Machine](T1.Machine_GUID, T1.[Machine.SERIAL_NUMBER], T1.Machine_NAME, T1.[Machine.PRODUCTION_DATE], T1.[Machine.ORGANIZATION_GUID], T1.[Machine.MACHINE_VERSION_GUID], T1.[Machine.CONFIGURATION_GUID], T1.[Machine.DEFAULT_RML_GUID], T1.[Machine.LOADED_RML_GUID], T1.[Machine.TARGET_JOB_TYPES], T1.[Machine.TARGET_COLOR_SPACE_CODES], T1.[Machine.DEFAULT_COLOR_SPACE_GUID], T1.[Machine.DEFAULT_SEGMENT_LENGTH], T1.[Machine.DEFAULT_SPOOL_TYPE_GUID], T1.[Machine.OS_KEY], T1.[Machine.AUTO_LOGIN], T1.[Machine.AUTO_CHECK_FOR_UPDATES], T1.[Machine.SETUP_ACTIVATION], T1.[Machine.SETUP_REMOTE_ASSISTANCE], T1.[Machine.SETUP_UWF], T1.[Machine.SETUP_FIRMWARE], T1.[Machine.SETUP_FPGA], T1.[Machine.IS_DEMO], T1.Machine_ID, T1.[Machine.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Machine_GUID, + T.SerialNumber AS [Machine.SERIAL_NUMBER], + T.Name AS Machine_NAME, + T.ProductionDate AS [Machine.PRODUCTION_DATE], + T.OrganizationGuid AS [Machine.ORGANIZATION_GUID], + T.MachineVersionGuid AS [Machine.MACHINE_VERSION_GUID], + T.ConfigurationGuid AS [Machine.CONFIGURATION_GUID], + T.DefaultRmlGuid AS [Machine.DEFAULT_RML_GUID], + T.LoadedRmlGuid AS [Machine.LOADED_RML_GUID], + T.TargetJobTypes AS [Machine.TARGET_JOB_TYPES], + T.TargetColorSpaceCodes AS [Machine.TARGET_COLOR_SPACE_CODES], + T.DefaultColorSpaceGuid AS [Machine.DEFAULT_COLOR_SPACE_GUID], + T.DefaultSegmentLength AS [Machine.DEFAULT_SEGMENT_LENGTH], + T.DefaultSpoolTypeGuid AS [Machine.DEFAULT_SPOOL_TYPE_GUID], + T.OsKey AS [Machine.OS_KEY], + T.AutoLogin AS [Machine.AUTO_LOGIN], + T.AutoCheckForUpdates AS [Machine.AUTO_CHECK_FOR_UPDATES], + T.SetupActivation AS [Machine.SETUP_ACTIVATION], + T.SetupRemoteAssistance AS [Machine.SETUP_REMOTE_ASSISTANCE], + T.SetupUwf AS [Machine.SETUP_UWF], + T.SetupFirmware AS [Machine.SETUP_FIRMWARE], + T.SetupFpga AS [Machine.SETUP_FPGA], + T.IsDemo AS [Machine.IS_DEMO], + T.ID AS Machine_ID, + T.LastUpdated AS [Machine.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Machines AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.SpoolType. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView34() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing SpoolType + [CodeFirstDatabaseSchema.SpoolType](T1.SpoolType_GUID, T1.SpoolType_CODE, T1.SpoolType_NAME, T1.SpoolType_LENGTH, T1.SpoolType_WEIGHT, T1.SpoolType_DIAMETER, T1.[SpoolType.ROTATIONS_PER_PASSAGE], T1.SpoolType_ID, T1.[SpoolType.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS SpoolType_GUID, + T.Code AS SpoolType_CODE, + T.Name AS SpoolType_NAME, + T.Length AS SpoolType_LENGTH, + T.Weight AS SpoolType_WEIGHT, + T.Diameter AS SpoolType_DIAMETER, + T.RotationsPerPassage AS [SpoolType.ROTATIONS_PER_PASSAGE], + T.ID AS SpoolType_ID, + T.LastUpdated AS [SpoolType.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.SpoolTypes AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Spool. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView35() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Spool + [CodeFirstDatabaseSchema.Spool](T1.Spool_GUID, T1.[Spool.SPOOL_TYPE_GUID], T1.[Spool.MACHINE_GUID], T1.[Spool.START_OFFSET_PULSES], T1.[Spool.BACKING_RATE], T1.[Spool.SEGMENT_OFFSET_PULSES], T1.[Spool.BOTTOM_BACKING_RATE], T1.Spool_ID, T1.[Spool.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Spool_GUID, + T.SpoolTypeGuid AS [Spool.SPOOL_TYPE_GUID], + T.MachineGuid AS [Spool.MACHINE_GUID], + T.StartOffsetPulses AS [Spool.START_OFFSET_PULSES], + T.BackingRate AS [Spool.BACKING_RATE], + T.SegmentOffsetPulses AS [Spool.SEGMENT_OFFSET_PULSES], + T.BottomBackingRate AS [Spool.BOTTOM_BACKING_RATE], + T.ID AS Spool_ID, + T.LastUpdated AS [Spool.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Spools AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.MachinesEvent. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView36() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing MachinesEvent + [CodeFirstDatabaseSchema.MachinesEvent](T1.MachinesEvent_GUID, T1.[MachinesEvent.HOST_NAME], T1.[MachinesEvent.MACHINE_GUID], T1.[MachinesEvent.EVENT_TYPE_GUID], T1.[MachinesEvent.USER_GUID], T1.[MachinesEvent.DATE_TIME], T1.MachinesEvent_DESCRIPTION, T1.MachinesEvent_ID, T1.[MachinesEvent.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS MachinesEvent_GUID, + T.HostName AS [MachinesEvent.HOST_NAME], + T.MachineGuid AS [MachinesEvent.MACHINE_GUID], + T.EventTypeGuid AS [MachinesEvent.EVENT_TYPE_GUID], + T.UserGuid AS [MachinesEvent.USER_GUID], + T.DateTime AS [MachinesEvent.DATE_TIME], + T.Description AS MachinesEvent_DESCRIPTION, + T.ID AS MachinesEvent_ID, + T.LastUpdated AS [MachinesEvent.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.MachinesEvents AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.EventType. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView37() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing EventType + [CodeFirstDatabaseSchema.EventType](T1.EventType_GUID, T1.EventType_CODE, T1.EventType_NAME, T1.EventType_TITLE, T1.EventType_DESCRIPTION, T1.[EventType.TECHNICAL_DESCRIPTION], T1.[EventType.COMPONENT_INDEX], T1.[EventType.EVENT_CATEGORY], T1.[EventType.EVENT_GROUP], T1.[EventType.EVENT_NOTIFICATION_TIME], T1.[EventType.EVENT_ACTIONS], T1.[EventType.REQUIRES_USER_INTERVENTION], T1.EventType_ID, T1.[EventType.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS EventType_GUID, + T.Code AS EventType_CODE, + T.Name AS EventType_NAME, + T.Title AS EventType_TITLE, + T.Description AS EventType_DESCRIPTION, + T.TechnicalDescription AS [EventType.TECHNICAL_DESCRIPTION], + T.ComponentIndex AS [EventType.COMPONENT_INDEX], + T.EventCategory AS [EventType.EVENT_CATEGORY], + T.EventGroup AS [EventType.EVENT_GROUP], + T.EventNotificationTime AS [EventType.EVENT_NOTIFICATION_TIME], + T.EventActions AS [EventType.EVENT_ACTIONS], + T.RequiresUserIntervention AS [EventType.REQUIRES_USER_INTERVENTION], + T.ID AS EventType_ID, + T.LastUpdated AS [EventType.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.EventTypes AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.MachineVersion. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView38() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing MachineVersion + [CodeFirstDatabaseSchema.MachineVersion](T1.MachineVersion_GUID, T1.MachineVersion_VERSION, T1.MachineVersion_NAME, T1.[MachineVersion.PROTOTYPE_MACHINE_DATA], T1.MachineVersion_ID, T1.[MachineVersion.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS MachineVersion_GUID, + T.Version AS MachineVersion_VERSION, + T.Name AS MachineVersion_NAME, + T.PrototypeMachineData AS [MachineVersion.PROTOTYPE_MACHINE_DATA], + T.ID AS MachineVersion_ID, + T.LastUpdated AS [MachineVersion.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.MachineVersions AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.TangoVersion. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView39() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing TangoVersion + [CodeFirstDatabaseSchema.TangoVersion](T1.TangoVersion_GUID, T1.TangoVersion_VERSION, T1.[TangoVersion.BLOB_NAME], T1.TangoVersion_COMMENTS, T1.[TangoVersion.USER_GUID], T1.[TangoVersion.MACHINE_VERSION_GUID], T1.TangoVersion_ID, T1.[TangoVersion.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS TangoVersion_GUID, + T.Version AS TangoVersion_VERSION, + T.BlobName AS [TangoVersion.BLOB_NAME], + T.Comments AS TangoVersion_COMMENTS, + T.UserGuid AS [TangoVersion.USER_GUID], + T.MachineVersionGuid AS [TangoVersion.MACHINE_VERSION_GUID], + T.ID AS TangoVersion_ID, + T.LastUpdated AS [TangoVersion.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.TangoVersions AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Dispenser. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView40() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Dispenser + [CodeFirstDatabaseSchema.Dispenser](T1.Dispenser_GUID, T1.[Dispenser.SERIAL_NUMBER], T1.[Dispenser.DISPENSER_TYPE_GUID], T1.[Dispenser.NL_PER_PULSE], T1.[Dispenser.PART_NUMBER], T1.[Dispenser.PCB_SERIAL], T1.[Dispenser.PCB_VERSION], T1.[Dispenser.PRODUCTION_DATE], T1.[Dispenser.CALIBRATION_DATA], T1.Dispenser_ID, T1.[Dispenser.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Dispenser_GUID, + T.SerialNumber AS [Dispenser.SERIAL_NUMBER], + T.DispenserTypeGuid AS [Dispenser.DISPENSER_TYPE_GUID], + T.NlPerPulse AS [Dispenser.NL_PER_PULSE], + T.PartNumber AS [Dispenser.PART_NUMBER], + T.PcbSerial AS [Dispenser.PCB_SERIAL], + T.PcbVersion AS [Dispenser.PCB_VERSION], + T.ProductionDate AS [Dispenser.PRODUCTION_DATE], + T.CalibrationData AS [Dispenser.CALIBRATION_DATA], + T.ID AS Dispenser_ID, + T.LastUpdated AS [Dispenser.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Dispensers AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.DispenserType. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView41() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing DispenserType + [CodeFirstDatabaseSchema.DispenserType](T1.DispenserType_GUID, T1.DispenserType_CODE, T1.DispenserType_NAME, T1.DispenserType_CAPACITY, T1.DispenserType_ID, T1.[DispenserType.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS DispenserType_GUID, + T.Code AS DispenserType_CODE, + T.Name AS DispenserType_NAME, + T.Capacity AS DispenserType_CAPACITY, + T.ID AS DispenserType_ID, + T.LastUpdated AS [DispenserType.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.DispenserTypes AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.IdsPackFormula. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView42() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing IdsPackFormula + [CodeFirstDatabaseSchema.IdsPackFormula](T1.IdsPackFormula_GUID, T1.IdsPackFormula_CODE, T1.IdsPackFormula_NAME, T1.IdsPackFormula_DESCRIPTION, T1.[IdsPackFormula.AUTO_CALCULATED], T1.IdsPackFormula_ID, T1.[IdsPackFormula.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS IdsPackFormula_GUID, + T.Code AS IdsPackFormula_CODE, + T.Name AS IdsPackFormula_NAME, + T.Description AS IdsPackFormula_DESCRIPTION, + T.AutoCalculated AS [IdsPackFormula.AUTO_CALCULATED], + T.ID AS IdsPackFormula_ID, + T.LastUpdated AS [IdsPackFormula.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.IdsPackFormulas AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.MidTankType. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView43() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing MidTankType + [CodeFirstDatabaseSchema.MidTankType](T1.MidTankType_GUID, T1.MidTankType_CODE, T1.MidTankType_NAME, T1.[MidTankType.LITER_CAPACITY], T1.MidTankType_ID, T1.[MidTankType.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS MidTankType_GUID, + T.Code AS MidTankType_CODE, + T.Name AS MidTankType_NAME, + T.LiterCapacity AS [MidTankType.LITER_CAPACITY], + T.ID AS MidTankType_ID, + T.LastUpdated AS [MidTankType.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.MidTankTypes AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.LiquidTypesRml. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView44() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing LiquidTypesRml + [CodeFirstDatabaseSchema.LiquidTypesRml](T1.LiquidTypesRml_GUID, T1.[LiquidTypesRml.LIQUID_TYPE_GUID], T1.[LiquidTypesRml.RML_GUID], T1.[LiquidTypesRml.MAX_NL_PER_CM], T1.[LiquidTypesRml.DEFAULT_CAT_DATA], T1.LiquidTypesRml_ID, T1.[LiquidTypesRml.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS LiquidTypesRml_GUID, + T.LiquidTypeGuid AS [LiquidTypesRml.LIQUID_TYPE_GUID], + T.RmlGuid AS [LiquidTypesRml.RML_GUID], + T.MaxNlPerCm AS [LiquidTypesRml.MAX_NL_PER_CM], + T.DefaultCatData AS [LiquidTypesRml.DEFAULT_CAT_DATA], + T.ID AS LiquidTypesRml_ID, + T.LastUpdated AS [LiquidTypesRml.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.LiquidTypesRmls AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Cct. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView45() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Cct + [CodeFirstDatabaseSchema.Cct](T1.Cct_GUID, T1.Cct_NAME, T1.Cct_DESCRIPTION, T1.[Cct.FORWARD_FILE_NAME], T1.[Cct.INVERSE_FILE_NAME], T1.[Cct.FORWARD_DATA], T1.[Cct.INVERSE_DATA], T1.Cct_VERSION, T1.[Cct.RML_GUID], T1.Cct_ID, T1.[Cct.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Cct_GUID, + T.Name AS Cct_NAME, + T.Description AS Cct_DESCRIPTION, + T.ForwardFileName AS [Cct.FORWARD_FILE_NAME], + T.InverseFileName AS [Cct.INVERSE_FILE_NAME], + T.ForwardData AS [Cct.FORWARD_DATA], + T.InverseData AS [Cct.INVERSE_DATA], + T.Version AS Cct_VERSION, + T.RmlGuid AS [Cct.RML_GUID], + T.ID AS Cct_ID, + T.LastUpdated AS [Cct.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Ccts AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.FiberShape. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView46() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing FiberShape + [CodeFirstDatabaseSchema.FiberShape](T1.FiberShape_GUID, T1.FiberShape_NAME, T1.FiberShape_CODE, T1.FiberShape_ID, T1.[FiberShape.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS FiberShape_GUID, + T.Name AS FiberShape_NAME, + T.Code AS FiberShape_CODE, + T.ID AS FiberShape_ID, + T.LastUpdated AS [FiberShape.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.FiberShapes AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.FiberSynth. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView47() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing FiberSynth + [CodeFirstDatabaseSchema.FiberSynth](T1.FiberSynth_GUID, T1.FiberSynth_NAME, T1.FiberSynth_CODE, T1.FiberSynth_ID, T1.[FiberSynth.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS FiberSynth_GUID, + T.Name AS FiberSynth_NAME, + T.Code AS FiberSynth_CODE, + T.ID AS FiberSynth_ID, + T.LastUpdated AS [FiberSynth.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.FiberSynths AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.LinearMassDensityUnit. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView48() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing LinearMassDensityUnit + [CodeFirstDatabaseSchema.LinearMassDensityUnit](T1.LinearMassDensityUnit_GUID, T1.LinearMassDensityUnit_NAME, T1.LinearMassDensityUnit_CODE, T1.LinearMassDensityUnit_ID, T1.[LinearMassDensityUnit.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS LinearMassDensityUnit_GUID, + T.Name AS LinearMassDensityUnit_NAME, + T.Code AS LinearMassDensityUnit_CODE, + T.ID AS LinearMassDensityUnit_ID, + T.LastUpdated AS [LinearMassDensityUnit.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.LinearMassDensityUnits AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.MediaCondition. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView49() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing MediaCondition + [CodeFirstDatabaseSchema.MediaCondition](T1.MediaCondition_GUID, T1.MediaCondition_NAME, T1.MediaCondition_CODE, T1.MediaCondition_ID, T1.[MediaCondition.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS MediaCondition_GUID, + T.Name AS MediaCondition_NAME, + T.Code AS MediaCondition_CODE, + T.ID AS MediaCondition_ID, + T.LastUpdated AS [MediaCondition.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.MediaConditions AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.MediaMaterial. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView50() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing MediaMaterial + [CodeFirstDatabaseSchema.MediaMaterial](T1.MediaMaterial_GUID, T1.MediaMaterial_NAME, T1.MediaMaterial_CODE, T1.MediaMaterial_ID, T1.[MediaMaterial.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS MediaMaterial_GUID, + T.Name AS MediaMaterial_NAME, + T.Code AS MediaMaterial_CODE, + T.ID AS MediaMaterial_ID, + T.LastUpdated AS [MediaMaterial.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.MediaMaterials AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.MediaPurpos. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView51() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing MediaPurpos + [CodeFirstDatabaseSchema.MediaPurpos](T1.MediaPurpos_GUID, T1.MediaPurpos_NAME, T1.MediaPurpos_CODE, T1.MediaPurpos_ID, T1.[MediaPurpos.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS MediaPurpos_GUID, + T.Name AS MediaPurpos_NAME, + T.Code AS MediaPurpos_CODE, + T.ID AS MediaPurpos_ID, + T.LastUpdated AS [MediaPurpos.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.MediaPurposes AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.ProcessParametersTablesGroup. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView52() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing ProcessParametersTablesGroup + [CodeFirstDatabaseSchema.ProcessParametersTablesGroup](T1.ProcessParametersTablesGroup_GUID, T1.[ProcessParametersTablesGroup.RML_GUID], T1.ProcessParametersTablesGroup_NAME, T1.ProcessParametersTablesGroup_ACTIVE, T1.[ProcessParametersTablesGroup.SAVE_DATE], T1.ProcessParametersTablesGroup_ID, T1.[ProcessParametersTablesGroup.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS ProcessParametersTablesGroup_GUID, + T.RmlGuid AS [ProcessParametersTablesGroup.RML_GUID], + T.Name AS ProcessParametersTablesGroup_NAME, + T.Active AS ProcessParametersTablesGroup_ACTIVE, + T.SaveDate AS [ProcessParametersTablesGroup.SAVE_DATE], + T.ID AS ProcessParametersTablesGroup_ID, + T.LastUpdated AS [ProcessParametersTablesGroup.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.ProcessParametersTablesGroups AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.ProcessParametersTable. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView53() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing ProcessParametersTable + [CodeFirstDatabaseSchema.ProcessParametersTable](T1.ProcessParametersTable_GUID, T1.ProcessParametersTable_NAME, T1.[ProcessParametersTable.DYEING_SPEED], T1.[ProcessParametersTable.MIN_INK_UPTAKE], T1.[ProcessParametersTable.MAX_INK_UPTAKE], T1.[ProcessParametersTable.FEEDER_TENSION], T1.[ProcessParametersTable.PULLER_TENSION], T1.[ProcessParametersTable.WINDER_TENSION], T1.[ProcessParametersTable.MIXER_TEMP], T1.[ProcessParametersTable.HEAD_ZONE1_TEMP], T1.[ProcessParametersTable.HEAD_ZONE2_TEMP], T1.[ProcessParametersTable.HEAD_ZONE3_TEMP], T1.[ProcessParametersTable.HEAD_ZONE4_TEMP], T1.[ProcessParametersTable.HEAD_ZONE5_TEMP], T1.[ProcessParametersTable.HEAD_ZONE6_TEMP], T1.[ProcessParametersTable.DRYER_AIR_FLOW], T1.[ProcessParametersTable.DRYER_ZONE1_TEMP], T1.[ProcessParametersTable.DRYER_ZONE2_TEMP], T1.[ProcessParametersTable.DRYER_ZONE3_TEMP], T1.[ProcessParametersTable.DRYER_BUFFER_LENGTH], T1.[ProcessParametersTable.HEAD_AIR_FLOW], T1.[ProcessParametersTable.PROCESS_PARAMETERS_TABLES_GROUP_GUID], T1.[ProcessParametersTable.TABLE_INDEX], T1.ProcessParametersTable_ID, T1.[ProcessParametersTable.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS ProcessParametersTable_GUID, + T.Name AS ProcessParametersTable_NAME, + T.DyeingSpeed AS [ProcessParametersTable.DYEING_SPEED], + T.MinInkUptake AS [ProcessParametersTable.MIN_INK_UPTAKE], + T.MaxInkUptake AS [ProcessParametersTable.MAX_INK_UPTAKE], + T.FeederTension AS [ProcessParametersTable.FEEDER_TENSION], + T.PullerTension AS [ProcessParametersTable.PULLER_TENSION], + T.WinderTension AS [ProcessParametersTable.WINDER_TENSION], + T.MixerTemp AS [ProcessParametersTable.MIXER_TEMP], + T.HeadZone1Temp AS [ProcessParametersTable.HEAD_ZONE1_TEMP], + T.HeadZone2Temp AS [ProcessParametersTable.HEAD_ZONE2_TEMP], + T.HeadZone3Temp AS [ProcessParametersTable.HEAD_ZONE3_TEMP], + T.HeadZone4Temp AS [ProcessParametersTable.HEAD_ZONE4_TEMP], + T.HeadZone5Temp AS [ProcessParametersTable.HEAD_ZONE5_TEMP], + T.HeadZone6Temp AS [ProcessParametersTable.HEAD_ZONE6_TEMP], + T.DryerAirFlow AS [ProcessParametersTable.DRYER_AIR_FLOW], + T.DryerZone1Temp AS [ProcessParametersTable.DRYER_ZONE1_TEMP], + T.DryerZone2Temp AS [ProcessParametersTable.DRYER_ZONE2_TEMP], + T.DryerZone3Temp AS [ProcessParametersTable.DRYER_ZONE3_TEMP], + T.DryerBufferLength AS [ProcessParametersTable.DRYER_BUFFER_LENGTH], + T.HeadAirFlow AS [ProcessParametersTable.HEAD_AIR_FLOW], + T.ProcessParametersTablesGroupGuid AS [ProcessParametersTable.PROCESS_PARAMETERS_TABLES_GROUP_GUID], + T.TableIndex AS [ProcessParametersTable.TABLE_INDEX], + T.ID AS ProcessParametersTable_ID, + T.LastUpdated AS [ProcessParametersTable.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.ProcessParametersTables AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Segment. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView54() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Segment + [CodeFirstDatabaseSchema.Segment](T1.Segment_GUID, T1.Segment_NAME, T1.[Segment.JOB_GUID], T1.Segment_LENGTH, T1.[Segment.SEGMENT_INDEX], T1.Segment_ID, T1.[Segment.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Segment_GUID, + T.Name AS Segment_NAME, + T.JobGuid AS [Segment.JOB_GUID], + T.Length AS Segment_LENGTH, + T.SegmentIndex AS [Segment.SEGMENT_INDEX], + T.ID AS Segment_ID, + T.LastUpdated AS [Segment.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Segments AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Customer. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView55() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Customer + [CodeFirstDatabaseSchema.Customer](T1.Customer_GUID, T1.[Customer.ORGANIZATION_GUID], T1.Customer_NAME, T1.Customer_ID, T1.[Customer.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Customer_GUID, + T.OrganizationGuid AS [Customer.ORGANIZATION_GUID], + T.Name AS Customer_NAME, + T.ID AS Customer_ID, + T.LastUpdated AS [Customer.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Customers AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.JobRun. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView56() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing JobRun + [CodeFirstDatabaseSchema.JobRun](T1.JobRun_GUID, T1.[JobRun.JOB_GUID], T1.[JobRun.START_DATE], T1.[JobRun.END_DATE], T1.JobRun_STATUS, T1.[JobRun.END_POSITION], T1.[JobRun.FAILED_MESSAGE], T1.JobRun_ID, T1.[JobRun.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS JobRun_GUID, + T.JobGuid AS [JobRun.JOB_GUID], + T.StartDate AS [JobRun.START_DATE], + T.EndDate AS [JobRun.END_DATE], + T.Status AS JobRun_STATUS, + T.EndPosition AS [JobRun.END_POSITION], + T.FailedMessage AS [JobRun.FAILED_MESSAGE], + T.ID AS JobRun_ID, + T.LastUpdated AS [JobRun.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.JobRuns AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.WindingMethod. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView57() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing WindingMethod + [CodeFirstDatabaseSchema.WindingMethod](T1.WindingMethod_GUID, T1.WindingMethod_CODE, T1.WindingMethod_NAME, T1.WindingMethod_DESCRIPTION, T1.WindingMethod_ID, T1.[WindingMethod.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS WindingMethod_GUID, + T.Code AS WindingMethod_CODE, + T.Name AS WindingMethod_NAME, + T.Description AS WindingMethod_DESCRIPTION, + T.ID AS WindingMethod_ID, + T.LastUpdated AS [WindingMethod.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.WindingMethods AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.MachineStudioVersion. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView58() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing MachineStudioVersion + [CodeFirstDatabaseSchema.MachineStudioVersion](T1.MachineStudioVersion_GUID, T1.MachineStudioVersion_VERSION, T1.[MachineStudioVersion.BLOB_NAME], T1.MachineStudioVersion_COMMENTS, T1.[MachineStudioVersion.USER_GUID], T1.[MachineStudioVersion.FORCE_UPDATE], T1.MachineStudioVersion_STABLE, T1.MachineStudioVersion_ID, T1.[MachineStudioVersion.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS MachineStudioVersion_GUID, + T.Version AS MachineStudioVersion_VERSION, + T.BlobName AS [MachineStudioVersion.BLOB_NAME], + T.Comments AS MachineStudioVersion_COMMENTS, + T.UserGuid AS [MachineStudioVersion.USER_GUID], + T.ForceUpdate AS [MachineStudioVersion.FORCE_UPDATE], + T.Stable AS MachineStudioVersion_STABLE, + T.ID AS MachineStudioVersion_ID, + T.LastUpdated AS [MachineStudioVersion.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.MachineStudioVersions AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.UsersRole. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView59() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing UsersRole + [CodeFirstDatabaseSchema.UsersRole](T1.UsersRole_GUID, T1.UsersRole_DELETED, T1.[UsersRole.USER_GUID], T1.[UsersRole.ROLE_GUID], T1.UsersRole_ID, T1.[UsersRole.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS UsersRole_GUID, + T.Deleted AS UsersRole_DELETED, + T.UserGuid AS [UsersRole.USER_GUID], + T.RoleGuid AS [UsersRole.ROLE_GUID], + T.ID AS UsersRole_ID, + T.LastUpdated AS [UsersRole.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.UsersRoles AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Role. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView60() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Role + [CodeFirstDatabaseSchema.Role](T1.Role_GUID, T1.Role_CODE, T1.Role_NAME, T1.Role_DESCRIPTION, T1.Role_ID, T1.[Role.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Role_GUID, + T.Code AS Role_CODE, + T.Name AS Role_NAME, + T.Description AS Role_DESCRIPTION, + T.ID AS Role_ID, + T.LastUpdated AS [Role.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Roles AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.RolesPermission. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView61() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing RolesPermission + [CodeFirstDatabaseSchema.RolesPermission](T1.RolesPermission_GUID, T1.[RolesPermission.ROLE_GUID], T1.[RolesPermission.PERMISSION_GUID], T1.RolesPermission_ID, T1.[RolesPermission.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS RolesPermission_GUID, + T.RoleGuid AS [RolesPermission.ROLE_GUID], + T.PermissionGuid AS [RolesPermission.PERMISSION_GUID], + T.ID AS RolesPermission_ID, + T.LastUpdated AS [RolesPermission.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.RolesPermissions AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Permission. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView62() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Permission + [CodeFirstDatabaseSchema.Permission](T1.Permission_GUID, T1.Permission_CODE, T1.Permission_NAME, T1.Permission_DESCRIPTION, T1.Permission_ID, T1.[Permission.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Permission_GUID, + T.Code AS Permission_CODE, + T.Name AS Permission_NAME, + T.Description AS Permission_DESCRIPTION, + T.ID AS Permission_ID, + T.LastUpdated AS [Permission.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Permissions AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Addresses. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView63() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Addresses + [Tango.BL.Address](T1.Address_Guid, T1.Address_Deleted, T1.Address_AddressString, T1.Address_Locality, T1.Address_Country, T1.Address_City, T1.Address_State, T1.Address_CountryCode, T1.Address_PostalCode, T1.Address_ID, T1.Address_LastUpdated) + FROM ( + SELECT + T.GUID AS Address_Guid, + T.DELETED AS Address_Deleted, + T.ADDRESS_STRING AS Address_AddressString, + T.LOCALITY AS Address_Locality, + T.COUNTRY AS Address_Country, + T.CITY AS Address_City, + T.STATE AS Address_State, + T.COUNTRY_CODE AS Address_CountryCode, + T.POSTAL_CODE AS Address_PostalCode, + T.ID AS Address_ID, + T.LAST_UPDATED AS Address_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Address AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Organizations. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView64() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Organizations + [Tango.BL.Organization](T1.Organization_Guid, T1.Organization_Name, T1.Organization_ContactGuid, T1.Organization_AddressGuid, T1.Organization_ID, T1.Organization_LastUpdated) + FROM ( + SELECT + T.GUID AS Organization_Guid, + T.NAME AS Organization_Name, + T.CONTACT_GUID AS Organization_ContactGuid, + T.ADDRESS_GUID AS Organization_AddressGuid, + T.ID AS Organization_ID, + T.LAST_UPDATED AS Organization_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Organization AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Contacts. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView65() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Contacts + [Tango.BL.Contact](T1.Contact_Guid, T1.Contact_Deleted, T1.Contact_FirstName, T1.Contact_LastName, T1.Contact_FullName, T1.Contact_Email, T1.Contact_PhoneNumber, T1.Contact_Fax, T1.Contact_ID, T1.Contact_LastUpdated) + FROM ( + SELECT + T.GUID AS Contact_Guid, + T.DELETED AS Contact_Deleted, + T.FIRST_NAME AS Contact_FirstName, + T.LAST_NAME AS Contact_LastName, + T.FULL_NAME AS Contact_FullName, + T.EMAIL AS Contact_Email, + T.PHONE_NUMBER AS Contact_PhoneNumber, + T.FAX AS Contact_Fax, + T.ID AS Contact_ID, + T.LAST_UPDATED AS Contact_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Contact AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Users. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView66() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Users + [Tango.BL.User](T1.User_Guid, T1.User_Deleted, T1.User_Email, T1.User_Password, T1.User_OrganizationGuid, T1.User_ContactGuid, T1.User_AddressGuid, T1.User_LastLogin, T1.User_ID, T1.User_LastUpdated) + FROM ( + SELECT + T.GUID AS User_Guid, + T.DELETED AS User_Deleted, + T.EMAIL AS User_Email, + T.PASSWORD AS User_Password, + T.ORGANIZATION_GUID AS User_OrganizationGuid, + T.CONTACT_GUID AS User_ContactGuid, + T.ADDRESS_GUID AS User_AddressGuid, + T.LAST_LOGIN AS User_LastLogin, + T.ID AS User_ID, + T.LAST_UPDATED AS User_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.User AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Jobs. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView67() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Jobs + [Tango.BL.Job](T1.Job_Guid, T1.Job_CreationDate, T1.Job_LastRun, T1.Job_MachineGuid, T1.Job_UserGuid, T1.Job_RmlGuid, T1.Job_WindingMethodGuid, T1.Job_SpoolTypeGuid, T1.Job_Name, T1.Job_Description, T1.Job_InterSegmentLength, T1.Job_EnableInterSegment, T1.Job_EnableLubrication, T1.Job_JobIndex, T1.Job_EstimatedDurationMili, T1.Job_HasEmbroideryFile, T1.Job_EmbroideryFileData, T1.Job_EmbroideryFileName, T1.Job_EmbroideryJpeg, T1.Job_Status, T1.Job_ColorSpaceGuid, T1.Job_NumberOfUnits, T1.Job_Type, T1.Job_CustomerGuid, T1.Job_SpoolsDistribution, T1.Job_NumberOfHeads, T1.Job_SampleUnitsOrMeters, T1.Job_FineTuningStatus, T1.Job_FineTuningApproveDate, T1.Job_SampleDyeStatus, T1.Job_SampleDyeApproveDate, T1.Job_EditingState, T1.Job_LengthPercentageFactor, T1.Job_ID, T1.Job_LastUpdated) + FROM ( + SELECT + T.GUID AS Job_Guid, + T.CREATION_DATE AS Job_CreationDate, + T.LAST_RUN AS Job_LastRun, + T.MACHINE_GUID AS Job_MachineGuid, + T.USER_GUID AS Job_UserGuid, + T.RML_GUID AS Job_RmlGuid, + T.WINDING_METHOD_GUID AS Job_WindingMethodGuid, + T.SPOOL_TYPE_GUID AS Job_SpoolTypeGuid, + T.NAME AS Job_Name, + T.DESCRIPTION AS Job_Description, + T.INTER_SEGMENT_LENGTH AS Job_InterSegmentLength, + T.ENABLE_INTER_SEGMENT AS Job_EnableInterSegment, + T.ENABLE_LUBRICATION AS Job_EnableLubrication, + T.JOB_INDEX AS Job_JobIndex, + T.ESTIMATED_DURATION_MILI AS Job_EstimatedDurationMili, + T.HAS_EMBROIDERY_FILE AS Job_HasEmbroideryFile, + T.EMBROIDERY_FILE_DATA AS Job_EmbroideryFileData, + T.EMBROIDERY_FILE_NAME AS Job_EmbroideryFileName, + T.EMBROIDERY_JPEG AS Job_EmbroideryJpeg, + T.STATUS AS Job_Status, + T.COLOR_SPACE_GUID AS Job_ColorSpaceGuid, + T.NUMBER_OF_UNITS AS Job_NumberOfUnits, + T.TYPE AS Job_Type, + T.CUSTOMER_GUID AS Job_CustomerGuid, + T.SPOOLS_DISTRIBUTION AS Job_SpoolsDistribution, + T.NUMBER_OF_HEADS AS Job_NumberOfHeads, + T.SAMPLE_UNITS_OR_METERS AS Job_SampleUnitsOrMeters, + T.FINE_TUNING_STATUS AS Job_FineTuningStatus, + T.FINE_TUNING_APPROVE_DATE AS Job_FineTuningApproveDate, + T.SAMPLE_DYE_STATUS AS Job_SampleDyeStatus, + T.SAMPLE_DYE_APPROVE_DATE AS Job_SampleDyeApproveDate, + T.EDITING_STATE AS Job_EditingState, + T.LENGTH_PERCENTAGE_FACTOR AS Job_LengthPercentageFactor, + T.ID AS Job_ID, + T.LAST_UPDATED AS Job_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Job AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.ColorSpaces. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView68() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing ColorSpaces + [Tango.BL.ColorSpace](T1.ColorSpace_Guid, T1.ColorSpace_Code, T1.ColorSpace_Name, T1.ColorSpace_Description, T1.ColorSpace_IsCatalog, T1.ColorSpace_Thumbnail, T1.ColorSpace_ID, T1.ColorSpace_LastUpdated) + FROM ( + SELECT + T.GUID AS ColorSpace_Guid, + T.CODE AS ColorSpace_Code, + T.NAME AS ColorSpace_Name, + T.DESCRIPTION AS ColorSpace_Description, + T.IS_CATALOG AS ColorSpace_IsCatalog, + T.THUMBNAIL AS ColorSpace_Thumbnail, + T.ID AS ColorSpace_ID, + T.LAST_UPDATED AS ColorSpace_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.ColorSpace AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.BrushStops. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView69() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing BrushStops + [Tango.BL.BrushStop](T1.BrushStop_Guid, T1.BrushStop_SegmentGuid, T1.BrushStop_ColorSpaceGuid, T1.BrushStop_OffsetPercent, T1.BrushStop_StopIndex, T1.BrushStop_Cyan, T1.BrushStop_Magenta, T1.BrushStop_Yellow, T1.BrushStop_Black, T1.BrushStop_Red, T1.BrushStop_Green, T1.BrushStop_Blue, T1.BrushStop_L, T1.BrushStop_A, T1.BrushStop_B, T1.BrushStop_V0, T1.BrushStop_V0Div, T1.BrushStop_V1, T1.BrushStop_V1Div, T1.BrushStop_V2, T1.BrushStop_V2Div, T1.BrushStop_V3, T1.BrushStop_V3Div, T1.BrushStop_V4, T1.BrushStop_V4Div, T1.BrushStop_V5, T1.BrushStop_V5Div, T1.BrushStop_V6, T1.BrushStop_V6Div, T1.BrushStop_V7, T1.BrushStop_V7Div, T1.BrushStop_Corrected, T1.BrushStop_ColorCatalogGuid, T1.BrushStop_ID, T1.BrushStop_LastUpdated) + FROM ( + SELECT + T.GUID AS BrushStop_Guid, + T.SEGMENT_GUID AS BrushStop_SegmentGuid, + T.COLOR_SPACE_GUID AS BrushStop_ColorSpaceGuid, + T.OFFSET_PERCENT AS BrushStop_OffsetPercent, + T.STOP_INDEX AS BrushStop_StopIndex, + T.CYAN AS BrushStop_Cyan, + T.MAGENTA AS BrushStop_Magenta, + T.YELLOW AS BrushStop_Yellow, + T.BLACK AS BrushStop_Black, + T.RED AS BrushStop_Red, + T.GREEN AS BrushStop_Green, + T.BLUE AS BrushStop_Blue, + T.L AS BrushStop_L, + T.A AS BrushStop_A, + T.B AS BrushStop_B, + T.V0 AS BrushStop_V0, + T.V0_DIV AS BrushStop_V0Div, + T.V1 AS BrushStop_V1, + T.V1_DIV AS BrushStop_V1Div, + T.V2 AS BrushStop_V2, + T.V2_DIV AS BrushStop_V2Div, + T.V3 AS BrushStop_V3, + T.V3_DIV AS BrushStop_V3Div, + T.V4 AS BrushStop_V4, + T.V4_DIV AS BrushStop_V4Div, + T.V5 AS BrushStop_V5, + T.V5_DIV AS BrushStop_V5Div, + T.V6 AS BrushStop_V6, + T.V6_DIV AS BrushStop_V6Div, + T.V7 AS BrushStop_V7, + T.V7_DIV AS BrushStop_V7Div, + T.CORRECTED AS BrushStop_Corrected, + T.COLOR_CATALOG_GUID AS BrushStop_ColorCatalogGuid, + T.ID AS BrushStop_ID, + T.LAST_UPDATED AS BrushStop_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.BrushStop AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.ColorCatalogs. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView70() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing ColorCatalogs + [Tango.BL.ColorCatalog](T1.ColorCatalog_Guid, T1.ColorCatalog_RmlGuid, T1.ColorCatalog_ColorSpaceGuid, T1.ColorCatalog_ColorCode, T1.ColorCatalog_Name, T1.ColorCatalog_ColorGroup, T1.ColorCatalog_Cyan, T1.ColorCatalog_Magenta, T1.ColorCatalog_Yellow, T1.ColorCatalog_Black, T1.ColorCatalog_Red, T1.ColorCatalog_Green, T1.ColorCatalog_Blue, T1.ColorCatalog_L, T1.ColorCatalog_A, T1.ColorCatalog_B, T1.ColorCatalog_ProcessParametersTableIndex, T1.ColorCatalog_ID, T1.ColorCatalog_LastUpdated) + FROM ( + SELECT + T.GUID AS ColorCatalog_Guid, + T.RML_GUID AS ColorCatalog_RmlGuid, + T.COLOR_SPACE_GUID AS ColorCatalog_ColorSpaceGuid, + T.COLOR_CODE AS ColorCatalog_ColorCode, + T.NAME AS ColorCatalog_Name, + T.COLOR_GROUP AS ColorCatalog_ColorGroup, + T.CYAN AS ColorCatalog_Cyan, + T.MAGENTA AS ColorCatalog_Magenta, + T.YELLOW AS ColorCatalog_Yellow, + T.BLACK AS ColorCatalog_Black, + T.RED AS ColorCatalog_Red, + T.GREEN AS ColorCatalog_Green, + T.BLUE AS ColorCatalog_Blue, + T.L AS ColorCatalog_L, + T.A AS ColorCatalog_A, + T.B AS ColorCatalog_B, + T.PROCESS_PARAMETERS_TABLE_INDEX AS ColorCatalog_ProcessParametersTableIndex, + T.ID AS ColorCatalog_ID, + T.LAST_UPDATED AS ColorCatalog_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.ColorCatalog AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Rmls. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView71() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Rmls + [Tango.BL.Rml](T1.Rml_Guid, T1.Rml_Name, T1.Rml_Manufacturer, T1.Rml_Code, T1.Rml_WhitePointL, T1.Rml_WhitePointA, T1.Rml_WhitePointB, T1.Rml_MediaMaterialGuid, T1.Rml_MediaPurposeGuid, T1.Rml_MediaConditionGuid, T1.Rml_LinearMassDensityUnitGuid, T1.Rml_FiberShapeGuid, T1.Rml_FiberSynthGuid, T1.Rml_FiberSize, T1.Rml_NumberOfFibers, T1.Rml_PliesPerFiber, T1.Rml_PliesPerThread, T1.Rml_Twisted, T1.Rml_AirEntanglement, T1.Rml_Lubricant, T1.Rml_TensileStrength, T1.Rml_ElongationAtBreakPercentage, T1.Rml_EstimatedThreadDiameter, T1.Rml_Rank, T1.Rml_Thumbnail, T1.Rml_ID, T1.Rml_LastUpdated) + FROM ( + SELECT + T.GUID AS Rml_Guid, + T.NAME AS Rml_Name, + T.MANUFACTURER AS Rml_Manufacturer, + T.CODE AS Rml_Code, + T.WHITE_POINT_L AS Rml_WhitePointL, + T.WHITE_POINT_A AS Rml_WhitePointA, + T.WHITE_POINT_B AS Rml_WhitePointB, + T.MEDIA_MATERIAL_GUID AS Rml_MediaMaterialGuid, + T.MEDIA_PURPOSE_GUID AS Rml_MediaPurposeGuid, + T.MEDIA_CONDITION_GUID AS Rml_MediaConditionGuid, + T.LINEAR_MASS_DENSITY_UNIT_GUID AS Rml_LinearMassDensityUnitGuid, + T.FIBER_SHAPE_GUID AS Rml_FiberShapeGuid, + T.FIBER_SYNTH_GUID AS Rml_FiberSynthGuid, + T.FIBER_SIZE AS Rml_FiberSize, + T.NUMBER_OF_FIBERS AS Rml_NumberOfFibers, + T.PLIES_PER_FIBER AS Rml_PliesPerFiber, + T.PLIES_PER_THREAD AS Rml_PliesPerThread, + T.TWISTED AS Rml_Twisted, + T.AIR_ENTANGLEMENT AS Rml_AirEntanglement, + T.LUBRICANT AS Rml_Lubricant, + T.TENSILE_STRENGTH AS Rml_TensileStrength, + T.ELONGATION_AT_BREAK_PERCENTAGE AS Rml_ElongationAtBreakPercentage, + T.ESTIMATED_THREAD_DIAMETER AS Rml_EstimatedThreadDiameter, + T.RANK AS Rml_Rank, + T.THUMBNAIL AS Rml_Thumbnail, + T.ID AS Rml_ID, + T.LAST_UPDATED AS Rml_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Rml AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Cats. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView72() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Cats + [Tango.BL.Cat](T1.Cat_Guid, T1.Cat_Name, T1.Cat_MachineGuid, T1.Cat_RmlGuid, T1.Cat_LiquidTypeGuid, T1.Cat_Data, T1.Cat_ID, T1.Cat_LastUpdated) + FROM ( + SELECT + T.GUID AS Cat_Guid, + T.NAME AS Cat_Name, + T.MACHINE_GUID AS Cat_MachineGuid, + T.RML_GUID AS Cat_RmlGuid, + T.LIQUID_TYPE_GUID AS Cat_LiquidTypeGuid, + T.DATA AS Cat_Data, + T.ID AS Cat_ID, + T.LAST_UPDATED AS Cat_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Cat AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.LiquidTypes. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView73() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing LiquidTypes + [Tango.BL.LiquidType](T1.LiquidType_Guid, T1.LiquidType_Code, T1.LiquidType_Name, T1.LiquidType_Version, T1.LiquidType_Color, T1.LiquidType_ID, T1.LiquidType_LastUpdated) + FROM ( + SELECT + T.GUID AS LiquidType_Guid, + T.CODE AS LiquidType_Code, + T.NAME AS LiquidType_Name, + T.VERSION AS LiquidType_Version, + T.COLOR AS LiquidType_Color, + T.ID AS LiquidType_ID, + T.LAST_UPDATED AS LiquidType_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.LiquidType AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.IdsPacks. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView74() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing IdsPacks + [Tango.BL.IdsPack](T1.IdsPack_Guid, T1.IdsPack_ConfigurationGuid, T1.IdsPack_DispenserGuid, T1.IdsPack_LiquidTypeGuid, T1.IdsPack_CartridgeTypeGuid, T1.IdsPack_MidTankTypeGuid, T1.IdsPack_IdsPackFormulaGuid, T1.IdsPack_PackIndex, T1.IdsPack_IsEmpty, T1.IdsPack_ID, T1.IdsPack_LastUpdated) + FROM ( + SELECT + T.GUID AS IdsPack_Guid, + T.CONFIGURATION_GUID AS IdsPack_ConfigurationGuid, + T.DISPENSER_GUID AS IdsPack_DispenserGuid, + T.LIQUID_TYPE_GUID AS IdsPack_LiquidTypeGuid, + T.CARTRIDGE_TYPE_GUID AS IdsPack_CartridgeTypeGuid, + T.MID_TANK_TYPE_GUID AS IdsPack_MidTankTypeGuid, + T.IDS_PACK_FORMULA_GUID AS IdsPack_IdsPackFormulaGuid, + T.PACK_INDEX AS IdsPack_PackIndex, + T.IS_EMPTY AS IdsPack_IsEmpty, + T.ID AS IdsPack_ID, + T.LAST_UPDATED AS IdsPack_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.IdsPack AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.CartridgeTypes. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView75() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing CartridgeTypes + [Tango.BL.CartridgeType](T1.CartridgeType_Guid, T1.CartridgeType_Code, T1.CartridgeType_Name, T1.CartridgeType_ID, T1.CartridgeType_LastUpdated) + FROM ( + SELECT + T.GUID AS CartridgeType_Guid, + T.CODE AS CartridgeType_Code, + T.NAME AS CartridgeType_Name, + T.ID AS CartridgeType_ID, + T.LAST_UPDATED AS CartridgeType_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.CartridgeType AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Configurations. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView76() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Configurations + [Tango.BL.Configuration](T1.Configuration_Guid, T1.Configuration_ApplicationOsVersionGuid, T1.Configuration_ApplicationFirmwareVersionGuid, T1.Configuration_ApplicationDisplayPanelVersionGuid, T1.Configuration_EmbeddedFirmwareVersionGuid, T1.Configuration_HardwareVersionGuid, T1.Configuration_ID, T1.Configuration_LastUpdated) + FROM ( + SELECT + T.GUID AS Configuration_Guid, + T.APPLICATION_OS_VERSION_GUID AS Configuration_ApplicationOsVersionGuid, + T.APPLICATION_FIRMWARE_VERSION_GUID AS Configuration_ApplicationFirmwareVersionGuid, + T.APPLICATION_DISPLAY_PANEL_VERSION_GUID AS Configuration_ApplicationDisplayPanelVersionGuid, + T.EMBEDDED_FIRMWARE_VERSION_GUID AS Configuration_EmbeddedFirmwareVersionGuid, + T.HARDWARE_VERSION_GUID AS Configuration_HardwareVersionGuid, + T.ID AS Configuration_ID, + T.LAST_UPDATED AS Configuration_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Configuration AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.ApplicationDisplayPanelVersions. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView77() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing ApplicationDisplayPanelVersions + [Tango.BL.ApplicationDisplayPanelVersion](T1.ApplicationDisplayPanelVersion_Guid, T1.ApplicationDisplayPanelVersion_Version, T1.ApplicationDisplayPanelVersion_Name, T1.ApplicationDisplayPanelVersion_ID, T1.ApplicationDisplayPanelVersion_LastUpdated) + FROM ( + SELECT + T.GUID AS ApplicationDisplayPanelVersion_Guid, + T.VERSION AS ApplicationDisplayPanelVersion_Version, + T.NAME AS ApplicationDisplayPanelVersion_Name, + T.ID AS ApplicationDisplayPanelVersion_ID, + T.LAST_UPDATED AS ApplicationDisplayPanelVersion_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.ApplicationDisplayPanelVersion AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.ApplicationFirmwareVersions. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView78() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing ApplicationFirmwareVersions + [Tango.BL.ApplicationFirmwareVersion](T1.ApplicationFirmwareVersion_Guid, T1.ApplicationFirmwareVersion_Version, T1.ApplicationFirmwareVersion_Name, T1.ApplicationFirmwareVersion_ID, T1.ApplicationFirmwareVersion_LastUpdated) + FROM ( + SELECT + T.GUID AS ApplicationFirmwareVersion_Guid, + T.VERSION AS ApplicationFirmwareVersion_Version, + T.NAME AS ApplicationFirmwareVersion_Name, + T.ID AS ApplicationFirmwareVersion_ID, + T.LAST_UPDATED AS ApplicationFirmwareVersion_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.ApplicationFirmwareVersion AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.ApplicationOsVersions. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView79() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing ApplicationOsVersions + [Tango.BL.ApplicationOsVersion](T1.ApplicationOsVersion_Guid, T1.ApplicationOsVersion_Version, T1.ApplicationOsVersion_Name, T1.ApplicationOsVersion_ID, T1.ApplicationOsVersion_LastUpdated) + FROM ( + SELECT + T.GUID AS ApplicationOsVersion_Guid, + T.VERSION AS ApplicationOsVersion_Version, + T.NAME AS ApplicationOsVersion_Name, + T.ID AS ApplicationOsVersion_ID, + T.LAST_UPDATED AS ApplicationOsVersion_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.ApplicationOsVersion AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.EmbeddedFirmwareVersions. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView80() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing EmbeddedFirmwareVersions + [Tango.BL.EmbeddedFirmwareVersion](T1.EmbeddedFirmwareVersion_Guid, T1.EmbeddedFirmwareVersion_Version, T1.EmbeddedFirmwareVersion_Name, T1.EmbeddedFirmwareVersion_ID, T1.EmbeddedFirmwareVersion_LastUpdated) + FROM ( + SELECT + T.GUID AS EmbeddedFirmwareVersion_Guid, + T.VERSION AS EmbeddedFirmwareVersion_Version, + T.NAME AS EmbeddedFirmwareVersion_Name, + T.ID AS EmbeddedFirmwareVersion_ID, + T.LAST_UPDATED AS EmbeddedFirmwareVersion_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.EmbeddedFirmwareVersion AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.HardwareVersions. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView81() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareVersions + [Tango.BL.HardwareVersion](T1.HardwareVersion_Guid, T1.HardwareVersion_Version, T1.HardwareVersion_Name, T1.HardwareVersion_ID, T1.HardwareVersion_LastUpdated) + FROM ( + SELECT + T.GUID AS HardwareVersion_Guid, + T.VERSION AS HardwareVersion_Version, + T.NAME AS HardwareVersion_Name, + T.ID AS HardwareVersion_ID, + T.LAST_UPDATED AS HardwareVersion_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.HardwareVersion AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.HardwareBlowers. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView82() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareBlowers + [Tango.BL.HardwareBlower](T1.HardwareBlower_Guid, T1.HardwareBlower_HardwareBlowerTypeGuid, T1.HardwareBlower_HardwareVersionGuid, T1.HardwareBlower_Enabled, T1.HardwareBlower_Voltage, T1.HardwareBlower_HeatingVoltage, T1.HardwareBlower_Active, T1.HardwareBlower_ID, T1.HardwareBlower_LastUpdated) + FROM ( + SELECT + T.GUID AS HardwareBlower_Guid, + T.HARDWARE_BLOWER_TYPE_GUID AS HardwareBlower_HardwareBlowerTypeGuid, + T.HARDWARE_VERSION_GUID AS HardwareBlower_HardwareVersionGuid, + T.ENABLED AS HardwareBlower_Enabled, + T.VOLTAGE AS HardwareBlower_Voltage, + T.HEATING_VOLTAGE AS HardwareBlower_HeatingVoltage, + T.ACTIVE AS HardwareBlower_Active, + T.ID AS HardwareBlower_ID, + T.LAST_UPDATED AS HardwareBlower_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.HardwareBlower AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.HardwareBlowerTypes. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView83() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareBlowerTypes + [Tango.BL.HardwareBlowerType](T1.HardwareBlowerType_Guid, T1.HardwareBlowerType_Code, T1.HardwareBlowerType_Name, T1.HardwareBlowerType_Description, T1.HardwareBlowerType_ID, T1.HardwareBlowerType_LastUpdated) + FROM ( + SELECT + T.GUID AS HardwareBlowerType_Guid, + T.CODE AS HardwareBlowerType_Code, + T.NAME AS HardwareBlowerType_Name, + T.DESCRIPTION AS HardwareBlowerType_Description, + T.ID AS HardwareBlowerType_ID, + T.LAST_UPDATED AS HardwareBlowerType_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.HardwareBlowerType AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.HardwareBreakSensors. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView84() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareBreakSensors + [Tango.BL.HardwareBreakSensor](T1.HardwareBreakSensor_Guid, T1.HardwareBreakSensor_HardwareBreakSensorTypeGuid, T1.HardwareBreakSensor_HardwareVersionGuid, T1.HardwareBreakSensor_Enabled, T1.HardwareBreakSensor_DeBounceTimeMilli, T1.HardwareBreakSensor_Active, T1.HardwareBreakSensor_ID, T1.HardwareBreakSensor_LastUpdated) + FROM ( + SELECT + T.GUID AS HardwareBreakSensor_Guid, + T.HARDWARE_BREAK_SENSOR_TYPE_GUID AS HardwareBreakSensor_HardwareBreakSensorTypeGuid, + T.HARDWARE_VERSION_GUID AS HardwareBreakSensor_HardwareVersionGuid, + T.ENABLED AS HardwareBreakSensor_Enabled, + T.DE_BOUNCE_TIME_MILLI AS HardwareBreakSensor_DeBounceTimeMilli, + T.ACTIVE AS HardwareBreakSensor_Active, + T.ID AS HardwareBreakSensor_ID, + T.LAST_UPDATED AS HardwareBreakSensor_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.HardwareBreakSensor AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.HardwareBreakSensorTypes. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView85() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareBreakSensorTypes + [Tango.BL.HardwareBreakSensorType](T1.HardwareBreakSensorType_Guid, T1.HardwareBreakSensorType_Code, T1.HardwareBreakSensorType_Name, T1.HardwareBreakSensorType_Description, T1.HardwareBreakSensorType_ID, T1.HardwareBreakSensorType_LastUpdated) + FROM ( + SELECT + T.GUID AS HardwareBreakSensorType_Guid, + T.CODE AS HardwareBreakSensorType_Code, + T.NAME AS HardwareBreakSensorType_Name, + T.DESCRIPTION AS HardwareBreakSensorType_Description, + T.ID AS HardwareBreakSensorType_ID, + T.LAST_UPDATED AS HardwareBreakSensorType_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.HardwareBreakSensorType AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.HardwareDancers. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView86() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareDancers + [Tango.BL.HardwareDancer](T1.HardwareDancer_Guid, T1.HardwareDancer_HardwareDancerTypeGuid, T1.HardwareDancer_HardwareVersionGuid, T1.HardwareDancer_Gradual, T1.HardwareDancer_K, T1.HardwareDancer_X, T1.HardwareDancer_PulsePerMmSpring, T1.HardwareDancer_MaximalMovementMm, T1.HardwareDancer_ZeroPoint, T1.HardwareDancer_ResolutionBits, T1.HardwareDancer_ArmLength, T1.HardwareDancer_AssemblyDirectionRight, T1.HardwareDancer_AccelerateOnTensionRaise, T1.HardwareDancer_Active, T1.HardwareDancer_ID, T1.HardwareDancer_LastUpdated) + FROM ( + SELECT + T.GUID AS HardwareDancer_Guid, + T.HARDWARE_DANCER_TYPE_GUID AS HardwareDancer_HardwareDancerTypeGuid, + T.HARDWARE_VERSION_GUID AS HardwareDancer_HardwareVersionGuid, + T.GRADUAL AS HardwareDancer_Gradual, + T.K AS HardwareDancer_K, + T.X AS HardwareDancer_X, + T.PULSE_PER_MM_SPRING AS HardwareDancer_PulsePerMmSpring, + T.MAXIMAL_MOVEMENT_MM AS HardwareDancer_MaximalMovementMm, + T.ZERO_POINT AS HardwareDancer_ZeroPoint, + T.RESOLUTION_BITS AS HardwareDancer_ResolutionBits, + T.ARM_LENGTH AS HardwareDancer_ArmLength, + T.ASSEMBLY_DIRECTION_RIGHT AS HardwareDancer_AssemblyDirectionRight, + T.ACCELERATE_ON_TENSION_RAISE AS HardwareDancer_AccelerateOnTensionRaise, + T.ACTIVE AS HardwareDancer_Active, + T.ID AS HardwareDancer_ID, + T.LAST_UPDATED AS HardwareDancer_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.HardwareDancer AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.HardwareDancerTypes. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView87() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareDancerTypes + [Tango.BL.HardwareDancerType](T1.HardwareDancerType_Guid, T1.HardwareDancerType_Code, T1.HardwareDancerType_Name, T1.HardwareDancerType_Description, T1.HardwareDancerType_ID, T1.HardwareDancerType_LastUpdated) + FROM ( + SELECT + T.GUID AS HardwareDancerType_Guid, + T.CODE AS HardwareDancerType_Code, + T.NAME AS HardwareDancerType_Name, + T.DESCRIPTION AS HardwareDancerType_Description, + T.ID AS HardwareDancerType_ID, + T.LAST_UPDATED AS HardwareDancerType_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.HardwareDancerType AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.HardwareMotors. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView88() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareMotors + [Tango.BL.HardwareMotor](T1.HardwareMotor_Guid, T1.HardwareMotor_HardwareMotorTypeGuid, T1.HardwareMotor_HardwareVersionGuid, T1.HardwareMotor_MinFrequency, T1.HardwareMotor_MaxFrequency, T1.HardwareMotor_SetMicroStep, T1.HardwareMotor_MicroStep, T1.HardwareMotor_MaxChangeSlope, T1.HardwareMotor_HighLengthMicroSecond, T1.HardwareMotor_SpeedMaster, T1.HardwareMotor_PulsePerRound, T1.HardwareMotor_PulleyRadius, T1.HardwareMotor_ConfigWord, T1.HardwareMotor_DirectionThreadWize, T1.HardwareMotor_KvalHold, T1.HardwareMotor_KvalRun, T1.HardwareMotor_KvalAcc, T1.HardwareMotor_KvalDec, T1.HardwareMotor_OverCurrentThreshold, T1.HardwareMotor_StallThreshold, T1.HardwareMotor_ThermalCompensationFactor, T1.HardwareMotor_LowSpeedOptimization, T1.HardwareMotor_StSlp, T1.HardwareMotor_IntSpd, T1.HardwareMotor_FnSlpAcc, T1.HardwareMotor_FnSlpDec, T1.HardwareMotor_FsSpd, T1.HardwareMotor_Active, T1.HardwareMotor_ID, T1.HardwareMotor_LastUpdated) + FROM ( + SELECT + T.GUID AS HardwareMotor_Guid, + T.HARDWARE_MOTOR_TYPE_GUID AS HardwareMotor_HardwareMotorTypeGuid, + T.HARDWARE_VERSION_GUID AS HardwareMotor_HardwareVersionGuid, + T.MIN_FREQUENCY AS HardwareMotor_MinFrequency, + T.MAX_FREQUENCY AS HardwareMotor_MaxFrequency, + T.SET_MICRO_STEP AS HardwareMotor_SetMicroStep, + T.MICRO_STEP AS HardwareMotor_MicroStep, + T.MAX_CHANGE_SLOPE AS HardwareMotor_MaxChangeSlope, + T.HIGH_LENGTH_MICRO_SECOND AS HardwareMotor_HighLengthMicroSecond, + T.SPEED_MASTER AS HardwareMotor_SpeedMaster, + T.PULSE_PER_ROUND AS HardwareMotor_PulsePerRound, + T.PULLEY_RADIUS AS HardwareMotor_PulleyRadius, + T.CONFIG_WORD AS HardwareMotor_ConfigWord, + T.DIRECTION_THREAD_WIZE AS HardwareMotor_DirectionThreadWize, + T.KVAL_HOLD AS HardwareMotor_KvalHold, + T.KVAL_RUN AS HardwareMotor_KvalRun, + T.KVAL_ACC AS HardwareMotor_KvalAcc, + T.KVAL_DEC AS HardwareMotor_KvalDec, + T.OVER_CURRENT_THRESHOLD AS HardwareMotor_OverCurrentThreshold, + T.STALL_THRESHOLD AS HardwareMotor_StallThreshold, + T.THERMAL_COMPENSATION_FACTOR AS HardwareMotor_ThermalCompensationFactor, + T.LOW_SPEED_OPTIMIZATION AS HardwareMotor_LowSpeedOptimization, + T.ST_SLP AS HardwareMotor_StSlp, + T.INT_SPD AS HardwareMotor_IntSpd, + T.FN_SLP_ACC AS HardwareMotor_FnSlpAcc, + T.FN_SLP_DEC AS HardwareMotor_FnSlpDec, + T.FS_SPD AS HardwareMotor_FsSpd, + T.ACTIVE AS HardwareMotor_Active, + T.ID AS HardwareMotor_ID, + T.LAST_UPDATED AS HardwareMotor_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.HardwareMotor AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.HardwareMotorTypes. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView89() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareMotorTypes + [Tango.BL.HardwareMotorType](T1.HardwareMotorType_Guid, T1.HardwareMotorType_Code, T1.HardwareMotorType_Name, T1.HardwareMotorType_Description, T1.HardwareMotorType_SupportsHoming, T1.HardwareMotorType_ID, T1.HardwareMotorType_LastUpdated) + FROM ( + SELECT + T.GUID AS HardwareMotorType_Guid, + T.CODE AS HardwareMotorType_Code, + T.NAME AS HardwareMotorType_Name, + T.DESCRIPTION AS HardwareMotorType_Description, + T.SUPPORTS_HOMING AS HardwareMotorType_SupportsHoming, + T.ID AS HardwareMotorType_ID, + T.LAST_UPDATED AS HardwareMotorType_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.HardwareMotorType AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.HardwarePidControls. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView90() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwarePidControls + [Tango.BL.HardwarePidControl](T1.HardwarePidControl_Guid, T1.HardwarePidControl_HardwarePidControlTypeGuid, T1.HardwarePidControl_HardwareVersionGuid, T1.HardwarePidControl_OutputProportionalPowerLimit, T1.HardwarePidControl_OutputProportionalBand, T1.HardwarePidControl_IntegralTime, T1.HardwarePidControl_DerivativeTime, T1.HardwarePidControl_SensorCorrectionAdjustment, T1.HardwarePidControl_SensorMinValue, T1.HardwarePidControl_SensorMaxValue, T1.HardwarePidControl_SetPointRampRateorSoftStartRamp, T1.HardwarePidControl_SetPointControlOutputRate, T1.HardwarePidControl_ControlOutputType, T1.HardwarePidControl_SsrControlOutputType, T1.HardwarePidControl_OutputOnOffHysteresisValue, T1.HardwarePidControl_ProcessVariableSamplingRate, T1.HardwarePidControl_PvInputFilterFactorMode, T1.HardwarePidControl_OutputProportionalCycleTime, T1.HardwarePidControl_AcHeatersHalfCycleTime, T1.HardwarePidControl_ProportionalGain, T1.HardwarePidControl_PidActive, T1.HardwarePidControl_Epsilon, T1.HardwarePidControl_Active, T1.HardwarePidControl_ID, T1.HardwarePidControl_LastUpdated) + FROM ( + SELECT + T.GUID AS HardwarePidControl_Guid, + T.HARDWARE_PID_CONTROL_TYPE_GUID AS HardwarePidControl_HardwarePidControlTypeGuid, + T.HARDWARE_VERSION_GUID AS HardwarePidControl_HardwareVersionGuid, + T.OUTPUT_PROPORTIONAL_POWER_LIMIT AS HardwarePidControl_OutputProportionalPowerLimit, + T.OUTPUT_PROPORTIONAL_BAND AS HardwarePidControl_OutputProportionalBand, + T.INTEGRAL_TIME AS HardwarePidControl_IntegralTime, + T.DERIVATIVE_TIME AS HardwarePidControl_DerivativeTime, + T.SENSOR_CORRECTION_ADJUSTMENT AS HardwarePidControl_SensorCorrectionAdjustment, + T.SENSOR_MIN_VALUE AS HardwarePidControl_SensorMinValue, + T.SENSOR_MAX_VALUE AS HardwarePidControl_SensorMaxValue, + T.SET_POINT_RAMP_RATEOR_SOFT_START_RAMP AS HardwarePidControl_SetPointRampRateorSoftStartRamp, + T.SET_POINT_CONTROL_OUTPUT_RATE AS HardwarePidControl_SetPointControlOutputRate, + T.CONTROL_OUTPUT_TYPE AS HardwarePidControl_ControlOutputType, + T.SSR_CONTROL_OUTPUT_TYPE AS HardwarePidControl_SsrControlOutputType, + T.OUTPUT_ON_OFF_HYSTERESIS_VALUE AS HardwarePidControl_OutputOnOffHysteresisValue, + T.PROCESS_VARIABLE_SAMPLING_RATE AS HardwarePidControl_ProcessVariableSamplingRate, + T.PV_INPUT_FILTER_FACTOR_MODE AS HardwarePidControl_PvInputFilterFactorMode, + T.OUTPUT_PROPORTIONAL_CYCLE_TIME AS HardwarePidControl_OutputProportionalCycleTime, + T.AC_HEATERS__HALF_CYCLE_TIME AS HardwarePidControl_AcHeatersHalfCycleTime, + T.PROPORTIONAL_GAIN AS HardwarePidControl_ProportionalGain, + T.PID_ACTIVE AS HardwarePidControl_PidActive, + T.EPSILON AS HardwarePidControl_Epsilon, + T.ACTIVE AS HardwarePidControl_Active, + T.ID AS HardwarePidControl_ID, + T.LAST_UPDATED AS HardwarePidControl_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.HardwarePidControl AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.HardwarePidControlTypes. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView91() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwarePidControlTypes + [Tango.BL.HardwarePidControlType](T1.HardwarePidControlType_Guid, T1.HardwarePidControlType_Code, T1.HardwarePidControlType_Name, T1.HardwarePidControlType_Description, T1.HardwarePidControlType_ID, T1.HardwarePidControlType_LastUpdated) + FROM ( + SELECT + T.GUID AS HardwarePidControlType_Guid, + T.CODE AS HardwarePidControlType_Code, + T.NAME AS HardwarePidControlType_Name, + T.DESCRIPTION AS HardwarePidControlType_Description, + T.ID AS HardwarePidControlType_ID, + T.LAST_UPDATED AS HardwarePidControlType_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.HardwarePidControlType AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.HardwareSpeedSensors. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView92() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareSpeedSensors + [Tango.BL.HardwareSpeedSensor](T1.HardwareSpeedSensor_Guid, T1.HardwareSpeedSensor_HardwareSpeedSensorTypeGuid, T1.HardwareSpeedSensor_HardwareVersionGuid, T1.HardwareSpeedSensor_ResolutionBits, T1.HardwareSpeedSensor_Perimeter, T1.HardwareSpeedSensor_Active, T1.HardwareSpeedSensor_ID, T1.HardwareSpeedSensor_LastUpdated) + FROM ( + SELECT + T.GUID AS HardwareSpeedSensor_Guid, + T.HARDWARE_SPEED_SENSOR_TYPE_GUID AS HardwareSpeedSensor_HardwareSpeedSensorTypeGuid, + T.HARDWARE_VERSION_GUID AS HardwareSpeedSensor_HardwareVersionGuid, + T.RESOLUTION_BITS AS HardwareSpeedSensor_ResolutionBits, + T.PERIMETER AS HardwareSpeedSensor_Perimeter, + T.ACTIVE AS HardwareSpeedSensor_Active, + T.ID AS HardwareSpeedSensor_ID, + T.LAST_UPDATED AS HardwareSpeedSensor_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.HardwareSpeedSensor AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.HardwareSpeedSensorTypes. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView93() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareSpeedSensorTypes + [Tango.BL.HardwareSpeedSensorType](T1.HardwareSpeedSensorType_Guid, T1.HardwareSpeedSensorType_Code, T1.HardwareSpeedSensorType_Name, T1.HardwareSpeedSensorType_Description, T1.HardwareSpeedSensorType_ID, T1.HardwareSpeedSensorType_LastUpdated) + FROM ( + SELECT + T.GUID AS HardwareSpeedSensorType_Guid, + T.CODE AS HardwareSpeedSensorType_Code, + T.NAME AS HardwareSpeedSensorType_Name, + T.DESCRIPTION AS HardwareSpeedSensorType_Description, + T.ID AS HardwareSpeedSensorType_ID, + T.LAST_UPDATED AS HardwareSpeedSensorType_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.HardwareSpeedSensorType AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.HardwareWinders. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView94() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareWinders + [Tango.BL.HardwareWinder](T1.HardwareWinder_Guid, T1.HardwareWinder_HardwareWinderTypeGuid, T1.HardwareWinder_HardwareVersionGuid, T1.HardwareWinder_MillimeterPerRotation, T1.HardwareWinder_Active, T1.HardwareWinder_ID, T1.HardwareWinder_LastUpdated) + FROM ( + SELECT + T.GUID AS HardwareWinder_Guid, + T.HARDWARE_WINDER_TYPE_GUID AS HardwareWinder_HardwareWinderTypeGuid, + T.HARDWARE_VERSION_GUID AS HardwareWinder_HardwareVersionGuid, + T.MILLIMETER_PER_ROTATION AS HardwareWinder_MillimeterPerRotation, + T.ACTIVE AS HardwareWinder_Active, + T.ID AS HardwareWinder_ID, + T.LAST_UPDATED AS HardwareWinder_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.HardwareWinder AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.HardwareWinderTypes. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView95() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing HardwareWinderTypes + [Tango.BL.HardwareWinderType](T1.HardwareWinderType_Guid, T1.HardwareWinderType_Code, T1.HardwareWinderType_Name, T1.HardwareWinderType_Description, T1.HardwareWinderType_ID, T1.HardwareWinderType_LastUpdated) + FROM ( + SELECT + T.GUID AS HardwareWinderType_Guid, + T.CODE AS HardwareWinderType_Code, + T.NAME AS HardwareWinderType_Name, + T.DESCRIPTION AS HardwareWinderType_Description, + T.ID AS HardwareWinderType_ID, + T.LAST_UPDATED AS HardwareWinderType_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.HardwareWinderType AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Machines. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView96() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Machines + [Tango.BL.Machine](T1.Machine_Guid, T1.Machine_SerialNumber, T1.Machine_Name, T1.Machine_ProductionDate, T1.Machine_OrganizationGuid, T1.Machine_MachineVersionGuid, T1.Machine_ConfigurationGuid, T1.Machine_DefaultRmlGuid, T1.Machine_LoadedRmlGuid, T1.Machine_TargetJobTypes, T1.Machine_TargetColorSpaceCodes, T1.Machine_DefaultColorSpaceGuid, T1.Machine_DefaultSegmentLength, T1.Machine_DefaultSpoolTypeGuid, T1.Machine_OsKey, T1.Machine_AutoLogin, T1.Machine_AutoCheckForUpdates, T1.Machine_SetupActivation, T1.Machine_SetupRemoteAssistance, T1.Machine_SetupUwf, T1.Machine_SetupFirmware, T1.Machine_SetupFpga, T1.Machine_IsDemo, T1.Machine_ID, T1.Machine_LastUpdated) + FROM ( + SELECT + T.GUID AS Machine_Guid, + T.SERIAL_NUMBER AS Machine_SerialNumber, + T.NAME AS Machine_Name, + T.PRODUCTION_DATE AS Machine_ProductionDate, + T.ORGANIZATION_GUID AS Machine_OrganizationGuid, + T.MACHINE_VERSION_GUID AS Machine_MachineVersionGuid, + T.CONFIGURATION_GUID AS Machine_ConfigurationGuid, + T.DEFAULT_RML_GUID AS Machine_DefaultRmlGuid, + T.LOADED_RML_GUID AS Machine_LoadedRmlGuid, + T.TARGET_JOB_TYPES AS Machine_TargetJobTypes, + T.TARGET_COLOR_SPACE_CODES AS Machine_TargetColorSpaceCodes, + T.DEFAULT_COLOR_SPACE_GUID AS Machine_DefaultColorSpaceGuid, + T.DEFAULT_SEGMENT_LENGTH AS Machine_DefaultSegmentLength, + T.DEFAULT_SPOOL_TYPE_GUID AS Machine_DefaultSpoolTypeGuid, + T.OS_KEY AS Machine_OsKey, + T.AUTO_LOGIN AS Machine_AutoLogin, + T.AUTO_CHECK_FOR_UPDATES AS Machine_AutoCheckForUpdates, + T.SETUP_ACTIVATION AS Machine_SetupActivation, + T.SETUP_REMOTE_ASSISTANCE AS Machine_SetupRemoteAssistance, + T.SETUP_UWF AS Machine_SetupUwf, + T.SETUP_FIRMWARE AS Machine_SetupFirmware, + T.SETUP_FPGA AS Machine_SetupFpga, + T.IS_DEMO AS Machine_IsDemo, + T.ID AS Machine_ID, + T.LAST_UPDATED AS Machine_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Machine AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.SpoolTypes. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView97() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing SpoolTypes + [Tango.BL.SpoolType](T1.SpoolType_Guid, T1.SpoolType_Code, T1.SpoolType_Name, T1.SpoolType_Length, T1.SpoolType_Weight, T1.SpoolType_Diameter, T1.SpoolType_RotationsPerPassage, T1.SpoolType_ID, T1.SpoolType_LastUpdated) + FROM ( + SELECT + T.GUID AS SpoolType_Guid, + T.CODE AS SpoolType_Code, + T.NAME AS SpoolType_Name, + T.LENGTH AS SpoolType_Length, + T.WEIGHT AS SpoolType_Weight, + T.DIAMETER AS SpoolType_Diameter, + T.ROTATIONS_PER_PASSAGE AS SpoolType_RotationsPerPassage, + T.ID AS SpoolType_ID, + T.LAST_UPDATED AS SpoolType_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.SpoolType AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Spools. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView98() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Spools + [Tango.BL.Spool](T1.Spool_Guid, T1.Spool_SpoolTypeGuid, T1.Spool_MachineGuid, T1.Spool_StartOffsetPulses, T1.Spool_BackingRate, T1.Spool_SegmentOffsetPulses, T1.Spool_BottomBackingRate, T1.Spool_ID, T1.Spool_LastUpdated) + FROM ( + SELECT + T.GUID AS Spool_Guid, + T.SPOOL_TYPE_GUID AS Spool_SpoolTypeGuid, + T.MACHINE_GUID AS Spool_MachineGuid, + T.START_OFFSET_PULSES AS Spool_StartOffsetPulses, + T.BACKING_RATE AS Spool_BackingRate, + T.SEGMENT_OFFSET_PULSES AS Spool_SegmentOffsetPulses, + T.BOTTOM_BACKING_RATE AS Spool_BottomBackingRate, + T.ID AS Spool_ID, + T.LAST_UPDATED AS Spool_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Spool AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.MachinesEvents. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView99() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing MachinesEvents + [Tango.BL.MachinesEvent](T1.MachinesEvent_Guid, T1.MachinesEvent_HostName, T1.MachinesEvent_MachineGuid, T1.MachinesEvent_EventTypeGuid, T1.MachinesEvent_UserGuid, T1.MachinesEvent_DateTime, T1.MachinesEvent_Description, T1.MachinesEvent_ID, T1.MachinesEvent_LastUpdated) + FROM ( + SELECT + T.GUID AS MachinesEvent_Guid, + T.HOST_NAME AS MachinesEvent_HostName, + T.MACHINE_GUID AS MachinesEvent_MachineGuid, + T.EVENT_TYPE_GUID AS MachinesEvent_EventTypeGuid, + T.USER_GUID AS MachinesEvent_UserGuid, + T.DATE_TIME AS MachinesEvent_DateTime, + T.DESCRIPTION AS MachinesEvent_Description, + T.ID AS MachinesEvent_ID, + T.LAST_UPDATED AS MachinesEvent_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.MachinesEvent AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.EventTypes. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView100() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing EventTypes + [Tango.BL.EventType](T1.EventType_Guid, T1.EventType_Code, T1.EventType_Name, T1.EventType_Title, T1.EventType_Description, T1.EventType_TechnicalDescription, T1.EventType_ComponentIndex, T1.EventType_EventCategory, T1.EventType_EventGroup, T1.EventType_EventNotificationTime, T1.EventType_EventActions, T1.EventType_RequiresUserIntervention, T1.EventType_ID, T1.EventType_LastUpdated) + FROM ( + SELECT + T.GUID AS EventType_Guid, + T.CODE AS EventType_Code, + T.NAME AS EventType_Name, + T.TITLE AS EventType_Title, + T.DESCRIPTION AS EventType_Description, + T.TECHNICAL_DESCRIPTION AS EventType_TechnicalDescription, + T.COMPONENT_INDEX AS EventType_ComponentIndex, + T.EVENT_CATEGORY AS EventType_EventCategory, + T.EVENT_GROUP AS EventType_EventGroup, + T.EVENT_NOTIFICATION_TIME AS EventType_EventNotificationTime, + T.EVENT_ACTIONS AS EventType_EventActions, + T.REQUIRES_USER_INTERVENTION AS EventType_RequiresUserIntervention, + T.ID AS EventType_ID, + T.LAST_UPDATED AS EventType_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.EventType AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.MachineVersions. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView101() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing MachineVersions + [Tango.BL.MachineVersion](T1.MachineVersion_Guid, T1.MachineVersion_Version, T1.MachineVersion_Name, T1.MachineVersion_PrototypeMachineData, T1.MachineVersion_ID, T1.MachineVersion_LastUpdated) + FROM ( + SELECT + T.GUID AS MachineVersion_Guid, + T.VERSION AS MachineVersion_Version, + T.NAME AS MachineVersion_Name, + T.PROTOTYPE_MACHINE_DATA AS MachineVersion_PrototypeMachineData, + T.ID AS MachineVersion_ID, + T.LAST_UPDATED AS MachineVersion_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.MachineVersion AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.TangoVersions. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView102() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing TangoVersions + [Tango.BL.TangoVersion](T1.TangoVersion_Guid, T1.TangoVersion_Version, T1.TangoVersion_BlobName, T1.TangoVersion_Comments, T1.TangoVersion_UserGuid, T1.TangoVersion_MachineVersionGuid, T1.TangoVersion_ID, T1.TangoVersion_LastUpdated) + FROM ( + SELECT + T.GUID AS TangoVersion_Guid, + T.VERSION AS TangoVersion_Version, + T.BLOB_NAME AS TangoVersion_BlobName, + T.COMMENTS AS TangoVersion_Comments, + T.USER_GUID AS TangoVersion_UserGuid, + T.MACHINE_VERSION_GUID AS TangoVersion_MachineVersionGuid, + T.ID AS TangoVersion_ID, + T.LAST_UPDATED AS TangoVersion_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.TangoVersion AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Dispensers. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView103() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Dispensers + [Tango.BL.Dispenser](T1.Dispenser_Guid, T1.Dispenser_SerialNumber, T1.Dispenser_DispenserTypeGuid, T1.Dispenser_NlPerPulse, T1.Dispenser_PartNumber, T1.Dispenser_PcbSerial, T1.Dispenser_PcbVersion, T1.Dispenser_ProductionDate, T1.Dispenser_CalibrationData, T1.Dispenser_ID, T1.Dispenser_LastUpdated) + FROM ( + SELECT + T.GUID AS Dispenser_Guid, + T.SERIAL_NUMBER AS Dispenser_SerialNumber, + T.DISPENSER_TYPE_GUID AS Dispenser_DispenserTypeGuid, + T.NL_PER_PULSE AS Dispenser_NlPerPulse, + T.PART_NUMBER AS Dispenser_PartNumber, + T.PCB_SERIAL AS Dispenser_PcbSerial, + T.PCB_VERSION AS Dispenser_PcbVersion, + T.PRODUCTION_DATE AS Dispenser_ProductionDate, + T.CALIBRATION_DATA AS Dispenser_CalibrationData, + T.ID AS Dispenser_ID, + T.LAST_UPDATED AS Dispenser_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Dispenser AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.DispenserTypes. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView104() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing DispenserTypes + [Tango.BL.DispenserType](T1.DispenserType_Guid, T1.DispenserType_Code, T1.DispenserType_Name, T1.DispenserType_Capacity, T1.DispenserType_ID, T1.DispenserType_LastUpdated) + FROM ( + SELECT + T.GUID AS DispenserType_Guid, + T.CODE AS DispenserType_Code, + T.NAME AS DispenserType_Name, + T.CAPACITY AS DispenserType_Capacity, + T.ID AS DispenserType_ID, + T.LAST_UPDATED AS DispenserType_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.DispenserType AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.IdsPackFormulas. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView105() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing IdsPackFormulas + [Tango.BL.IdsPackFormula](T1.IdsPackFormula_Guid, T1.IdsPackFormula_Code, T1.IdsPackFormula_Name, T1.IdsPackFormula_Description, T1.IdsPackFormula_AutoCalculated, T1.IdsPackFormula_ID, T1.IdsPackFormula_LastUpdated) + FROM ( + SELECT + T.GUID AS IdsPackFormula_Guid, + T.CODE AS IdsPackFormula_Code, + T.NAME AS IdsPackFormula_Name, + T.DESCRIPTION AS IdsPackFormula_Description, + T.AUTO_CALCULATED AS IdsPackFormula_AutoCalculated, + T.ID AS IdsPackFormula_ID, + T.LAST_UPDATED AS IdsPackFormula_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.IdsPackFormula AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.MidTankTypes. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView106() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing MidTankTypes + [Tango.BL.MidTankType](T1.MidTankType_Guid, T1.MidTankType_Code, T1.MidTankType_Name, T1.MidTankType_LiterCapacity, T1.MidTankType_ID, T1.MidTankType_LastUpdated) + FROM ( + SELECT + T.GUID AS MidTankType_Guid, + T.CODE AS MidTankType_Code, + T.NAME AS MidTankType_Name, + T.LITER_CAPACITY AS MidTankType_LiterCapacity, + T.ID AS MidTankType_ID, + T.LAST_UPDATED AS MidTankType_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.MidTankType AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.LiquidTypesRmls. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView107() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing LiquidTypesRmls + [Tango.BL.LiquidTypesRml](T1.LiquidTypesRml_Guid, T1.LiquidTypesRml_LiquidTypeGuid, T1.LiquidTypesRml_RmlGuid, T1.LiquidTypesRml_MaxNlPerCm, T1.LiquidTypesRml_DefaultCatData, T1.LiquidTypesRml_ID, T1.LiquidTypesRml_LastUpdated) + FROM ( + SELECT + T.GUID AS LiquidTypesRml_Guid, + T.LIQUID_TYPE_GUID AS LiquidTypesRml_LiquidTypeGuid, + T.RML_GUID AS LiquidTypesRml_RmlGuid, + T.MAX_NL_PER_CM AS LiquidTypesRml_MaxNlPerCm, + T.DEFAULT_CAT_DATA AS LiquidTypesRml_DefaultCatData, + T.ID AS LiquidTypesRml_ID, + T.LAST_UPDATED AS LiquidTypesRml_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.LiquidTypesRml AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Ccts. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView108() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Ccts + [Tango.BL.Cct](T1.Cct_Guid, T1.Cct_Name, T1.Cct_Description, T1.Cct_ForwardFileName, T1.Cct_InverseFileName, T1.Cct_ForwardData, T1.Cct_InverseData, T1.Cct_Version, T1.Cct_RmlGuid, T1.Cct_ID, T1.Cct_LastUpdated) + FROM ( + SELECT + T.GUID AS Cct_Guid, + T.NAME AS Cct_Name, + T.DESCRIPTION AS Cct_Description, + T.FORWARD_FILE_NAME AS Cct_ForwardFileName, + T.INVERSE_FILE_NAME AS Cct_InverseFileName, + T.FORWARD_DATA AS Cct_ForwardData, + T.INVERSE_DATA AS Cct_InverseData, + T.VERSION AS Cct_Version, + T.RML_GUID AS Cct_RmlGuid, + T.ID AS Cct_ID, + T.LAST_UPDATED AS Cct_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Cct AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.FiberShapes. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView109() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing FiberShapes + [Tango.BL.FiberShape](T1.FiberShape_Guid, T1.FiberShape_Name, T1.FiberShape_Code, T1.FiberShape_ID, T1.FiberShape_LastUpdated) + FROM ( + SELECT + T.GUID AS FiberShape_Guid, + T.NAME AS FiberShape_Name, + T.CODE AS FiberShape_Code, + T.ID AS FiberShape_ID, + T.LAST_UPDATED AS FiberShape_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.FiberShape AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.FiberSynths. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView110() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing FiberSynths + [Tango.BL.FiberSynth](T1.FiberSynth_Guid, T1.FiberSynth_Name, T1.FiberSynth_Code, T1.FiberSynth_ID, T1.FiberSynth_LastUpdated) + FROM ( + SELECT + T.GUID AS FiberSynth_Guid, + T.NAME AS FiberSynth_Name, + T.CODE AS FiberSynth_Code, + T.ID AS FiberSynth_ID, + T.LAST_UPDATED AS FiberSynth_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.FiberSynth AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.LinearMassDensityUnits. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView111() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing LinearMassDensityUnits + [Tango.BL.LinearMassDensityUnit](T1.LinearMassDensityUnit_Guid, T1.LinearMassDensityUnit_Name, T1.LinearMassDensityUnit_Code, T1.LinearMassDensityUnit_ID, T1.LinearMassDensityUnit_LastUpdated) + FROM ( + SELECT + T.GUID AS LinearMassDensityUnit_Guid, + T.NAME AS LinearMassDensityUnit_Name, + T.CODE AS LinearMassDensityUnit_Code, + T.ID AS LinearMassDensityUnit_ID, + T.LAST_UPDATED AS LinearMassDensityUnit_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.LinearMassDensityUnit AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.MediaConditions. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView112() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing MediaConditions + [Tango.BL.MediaCondition](T1.MediaCondition_Guid, T1.MediaCondition_Name, T1.MediaCondition_Code, T1.MediaCondition_ID, T1.MediaCondition_LastUpdated) + FROM ( + SELECT + T.GUID AS MediaCondition_Guid, + T.NAME AS MediaCondition_Name, + T.CODE AS MediaCondition_Code, + T.ID AS MediaCondition_ID, + T.LAST_UPDATED AS MediaCondition_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.MediaCondition AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.MediaMaterials. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView113() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing MediaMaterials + [Tango.BL.MediaMaterial](T1.MediaMaterial_Guid, T1.MediaMaterial_Name, T1.MediaMaterial_Code, T1.MediaMaterial_ID, T1.MediaMaterial_LastUpdated) + FROM ( + SELECT + T.GUID AS MediaMaterial_Guid, + T.NAME AS MediaMaterial_Name, + T.CODE AS MediaMaterial_Code, + T.ID AS MediaMaterial_ID, + T.LAST_UPDATED AS MediaMaterial_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.MediaMaterial AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.MediaPurposes. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView114() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing MediaPurposes + [Tango.BL.MediaPurpos](T1.MediaPurpos_Guid, T1.MediaPurpos_Name, T1.MediaPurpos_Code, T1.MediaPurpos_ID, T1.MediaPurpos_LastUpdated) + FROM ( + SELECT + T.GUID AS MediaPurpos_Guid, + T.NAME AS MediaPurpos_Name, + T.CODE AS MediaPurpos_Code, + T.ID AS MediaPurpos_ID, + T.LAST_UPDATED AS MediaPurpos_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.MediaPurpos AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.ProcessParametersTablesGroups. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView115() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing ProcessParametersTablesGroups + [Tango.BL.ProcessParametersTablesGroup](T1.ProcessParametersTablesGroup_Guid, T1.ProcessParametersTablesGroup_RmlGuid, T1.ProcessParametersTablesGroup_Name, T1.ProcessParametersTablesGroup_Active, T1.ProcessParametersTablesGroup_SaveDate, T1.ProcessParametersTablesGroup_ID, T1.ProcessParametersTablesGroup_LastUpdated) + FROM ( + SELECT + T.GUID AS ProcessParametersTablesGroup_Guid, + T.RML_GUID AS ProcessParametersTablesGroup_RmlGuid, + T.NAME AS ProcessParametersTablesGroup_Name, + T.ACTIVE AS ProcessParametersTablesGroup_Active, + T.SAVE_DATE AS ProcessParametersTablesGroup_SaveDate, + T.ID AS ProcessParametersTablesGroup_ID, + T.LAST_UPDATED AS ProcessParametersTablesGroup_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.ProcessParametersTablesGroup AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.ProcessParametersTables. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView116() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing ProcessParametersTables + [Tango.BL.ProcessParametersTable](T1.ProcessParametersTable_Guid, T1.ProcessParametersTable_Name, T1.ProcessParametersTable_DyeingSpeed, T1.ProcessParametersTable_MinInkUptake, T1.ProcessParametersTable_MaxInkUptake, T1.ProcessParametersTable_FeederTension, T1.ProcessParametersTable_PullerTension, T1.ProcessParametersTable_WinderTension, T1.ProcessParametersTable_MixerTemp, T1.ProcessParametersTable_HeadZone1Temp, T1.ProcessParametersTable_HeadZone2Temp, T1.ProcessParametersTable_HeadZone3Temp, T1.ProcessParametersTable_HeadZone4Temp, T1.ProcessParametersTable_HeadZone5Temp, T1.ProcessParametersTable_HeadZone6Temp, T1.ProcessParametersTable_DryerAirFlow, T1.ProcessParametersTable_DryerZone1Temp, T1.ProcessParametersTable_DryerZone2Temp, T1.ProcessParametersTable_DryerZone3Temp, T1.ProcessParametersTable_DryerBufferLength, T1.ProcessParametersTable_HeadAirFlow, T1.ProcessParametersTable_ProcessParametersTablesGroupGuid, T1.ProcessParametersTable_TableIndex, T1.ProcessParametersTable_ID, T1.ProcessParametersTable_LastUpdated) + FROM ( + SELECT + T.GUID AS ProcessParametersTable_Guid, + T.NAME AS ProcessParametersTable_Name, + T.DYEING_SPEED AS ProcessParametersTable_DyeingSpeed, + T.MIN_INK_UPTAKE AS ProcessParametersTable_MinInkUptake, + T.MAX_INK_UPTAKE AS ProcessParametersTable_MaxInkUptake, + T.FEEDER_TENSION AS ProcessParametersTable_FeederTension, + T.PULLER_TENSION AS ProcessParametersTable_PullerTension, + T.WINDER_TENSION AS ProcessParametersTable_WinderTension, + T.MIXER_TEMP AS ProcessParametersTable_MixerTemp, + T.HEAD_ZONE1_TEMP AS ProcessParametersTable_HeadZone1Temp, + T.HEAD_ZONE2_TEMP AS ProcessParametersTable_HeadZone2Temp, + T.HEAD_ZONE3_TEMP AS ProcessParametersTable_HeadZone3Temp, + T.HEAD_ZONE4_TEMP AS ProcessParametersTable_HeadZone4Temp, + T.HEAD_ZONE5_TEMP AS ProcessParametersTable_HeadZone5Temp, + T.HEAD_ZONE6_TEMP AS ProcessParametersTable_HeadZone6Temp, + T.DRYER_AIR_FLOW AS ProcessParametersTable_DryerAirFlow, + T.DRYER_ZONE1_TEMP AS ProcessParametersTable_DryerZone1Temp, + T.DRYER_ZONE2_TEMP AS ProcessParametersTable_DryerZone2Temp, + T.DRYER_ZONE3_TEMP AS ProcessParametersTable_DryerZone3Temp, + T.DRYER_BUFFER_LENGTH AS ProcessParametersTable_DryerBufferLength, + T.HEAD_AIR_FLOW AS ProcessParametersTable_HeadAirFlow, + T.PROCESS_PARAMETERS_TABLES_GROUP_GUID AS ProcessParametersTable_ProcessParametersTablesGroupGuid, + T.TABLE_INDEX AS ProcessParametersTable_TableIndex, + T.ID AS ProcessParametersTable_ID, + T.LAST_UPDATED AS ProcessParametersTable_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.ProcessParametersTable AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Segments. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView117() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Segments + [Tango.BL.Segment](T1.Segment_Guid, T1.Segment_Name, T1.Segment_JobGuid, T1.Segment_Length, T1.Segment_SegmentIndex, T1.Segment_ID, T1.Segment_LastUpdated) + FROM ( + SELECT + T.GUID AS Segment_Guid, + T.NAME AS Segment_Name, + T.JOB_GUID AS Segment_JobGuid, + T.LENGTH AS Segment_Length, + T.SEGMENT_INDEX AS Segment_SegmentIndex, + T.ID AS Segment_ID, + T.LAST_UPDATED AS Segment_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Segment AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Customers. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView118() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Customers + [Tango.BL.Customer](T1.Customer_Guid, T1.Customer_OrganizationGuid, T1.Customer_Name, T1.Customer_ID, T1.Customer_LastUpdated) + FROM ( + SELECT + T.GUID AS Customer_Guid, + T.ORGANIZATION_GUID AS Customer_OrganizationGuid, + T.NAME AS Customer_Name, + T.ID AS Customer_ID, + T.LAST_UPDATED AS Customer_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Customer AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.JobRuns. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView119() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing JobRuns + [Tango.BL.JobRun](T1.JobRun_Guid, T1.JobRun_JobGuid, T1.JobRun_StartDate, T1.JobRun_EndDate, T1.JobRun_Status, T1.JobRun_EndPosition, T1.JobRun_FailedMessage, T1.JobRun_ID, T1.JobRun_LastUpdated) + FROM ( + SELECT + T.GUID AS JobRun_Guid, + T.JOB_GUID AS JobRun_JobGuid, + T.START_DATE AS JobRun_StartDate, + T.END_DATE AS JobRun_EndDate, + T.STATUS AS JobRun_Status, + T.END_POSITION AS JobRun_EndPosition, + T.FAILED_MESSAGE AS JobRun_FailedMessage, + T.ID AS JobRun_ID, + T.LAST_UPDATED AS JobRun_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.JobRun AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.WindingMethods. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView120() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing WindingMethods + [Tango.BL.WindingMethod](T1.WindingMethod_Guid, T1.WindingMethod_Code, T1.WindingMethod_Name, T1.WindingMethod_Description, T1.WindingMethod_ID, T1.WindingMethod_LastUpdated) + FROM ( + SELECT + T.GUID AS WindingMethod_Guid, + T.CODE AS WindingMethod_Code, + T.NAME AS WindingMethod_Name, + T.DESCRIPTION AS WindingMethod_Description, + T.ID AS WindingMethod_ID, + T.LAST_UPDATED AS WindingMethod_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.WindingMethod AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.MachineStudioVersions. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView121() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing MachineStudioVersions + [Tango.BL.MachineStudioVersion](T1.MachineStudioVersion_Guid, T1.MachineStudioVersion_Version, T1.MachineStudioVersion_BlobName, T1.MachineStudioVersion_Comments, T1.MachineStudioVersion_UserGuid, T1.MachineStudioVersion_ForceUpdate, T1.MachineStudioVersion_Stable, T1.MachineStudioVersion_ID, T1.MachineStudioVersion_LastUpdated) + FROM ( + SELECT + T.GUID AS MachineStudioVersion_Guid, + T.VERSION AS MachineStudioVersion_Version, + T.BLOB_NAME AS MachineStudioVersion_BlobName, + T.COMMENTS AS MachineStudioVersion_Comments, + T.USER_GUID AS MachineStudioVersion_UserGuid, + T.FORCE_UPDATE AS MachineStudioVersion_ForceUpdate, + T.STABLE AS MachineStudioVersion_Stable, + T.ID AS MachineStudioVersion_ID, + T.LAST_UPDATED AS MachineStudioVersion_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.MachineStudioVersion AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.UsersRoles. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView122() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing UsersRoles + [Tango.BL.UsersRole](T1.UsersRole_Guid, T1.UsersRole_Deleted, T1.UsersRole_UserGuid, T1.UsersRole_RoleGuid, T1.UsersRole_ID, T1.UsersRole_LastUpdated) + FROM ( + SELECT + T.GUID AS UsersRole_Guid, + T.DELETED AS UsersRole_Deleted, + T.USER_GUID AS UsersRole_UserGuid, + T.ROLE_GUID AS UsersRole_RoleGuid, + T.ID AS UsersRole_ID, + T.LAST_UPDATED AS UsersRole_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.UsersRole AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Roles. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView123() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Roles + [Tango.BL.Role](T1.Role_Guid, T1.Role_Code, T1.Role_Name, T1.Role_Description, T1.Role_ID, T1.Role_LastUpdated) + FROM ( + SELECT + T.GUID AS Role_Guid, + T.CODE AS Role_Code, + T.NAME AS Role_Name, + T.DESCRIPTION AS Role_Description, + T.ID AS Role_ID, + T.LAST_UPDATED AS Role_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Role AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.RolesPermissions. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView124() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing RolesPermissions + [Tango.BL.RolesPermission](T1.RolesPermission_Guid, T1.RolesPermission_RoleGuid, T1.RolesPermission_PermissionGuid, T1.RolesPermission_ID, T1.RolesPermission_LastUpdated) + FROM ( + SELECT + T.GUID AS RolesPermission_Guid, + T.ROLE_GUID AS RolesPermission_RoleGuid, + T.PERMISSION_GUID AS RolesPermission_PermissionGuid, + T.ID AS RolesPermission_ID, + T.LAST_UPDATED AS RolesPermission_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.RolesPermission AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Permissions. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView125() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Permissions + [Tango.BL.Permission](T1.Permission_Guid, T1.Permission_Code, T1.Permission_Name, T1.Permission_Description, T1.Permission_ID, T1.Permission_LastUpdated) + FROM ( + SELECT + T.GUID AS Permission_Guid, + T.CODE AS Permission_Code, + T.NAME AS Permission_Name, + T.DESCRIPTION AS Permission_Description, + T.ID AS Permission_ID, + T.LAST_UPDATED AS Permission_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Permission AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.SyncConfiguration. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView126() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing SyncConfiguration + [CodeFirstDatabaseSchema.SyncConfiguration](T1.SyncConfiguration_GUID, T1.SyncConfiguration_ID, T1.[SyncConfiguration.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS SyncConfiguration_GUID, + T.ID AS SyncConfiguration_ID, + T.LastUpdated AS [SyncConfiguration.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.SyncConfigurations AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.SyncConfigurations. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView127() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing SyncConfigurations + [Tango.BL.SyncConfiguration](T1.SyncConfiguration_Guid, T1.SyncConfiguration_ID, T1.SyncConfiguration_LastUpdated) + FROM ( + SELECT + T.GUID AS SyncConfiguration_Guid, + T.ID AS SyncConfiguration_ID, + T.LAST_UPDATED AS SyncConfiguration_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.SyncConfiguration AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.Sysdiagram. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView128() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Sysdiagram + [CodeFirstDatabaseSchema.Sysdiagram](T1.Sysdiagram_GUID, T1.Sysdiagram_definition, T1.Sysdiagram_ID, T1.[Sysdiagram.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS Sysdiagram_GUID, + T.Definition AS Sysdiagram_definition, + T.ID AS Sysdiagram_ID, + T.LastUpdated AS [Sysdiagram.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.Sysdiagrams AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.Sysdiagrams. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView129() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing Sysdiagrams + [Tango.BL.Sysdiagram](T1.Sysdiagram_Guid, T1.Sysdiagram_Definition, T1.Sysdiagram_ID, T1.Sysdiagram_LastUpdated) + FROM ( + SELECT + T.GUID AS Sysdiagram_Guid, + T.definition AS Sysdiagram_Definition, + T.ID AS Sysdiagram_ID, + T.LAST_UPDATED AS Sysdiagram_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.Sysdiagram AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.TechController. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView130() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing TechController + [CodeFirstDatabaseSchema.TechController](T1.TechController_GUID, T1.TechController_CODE, T1.TechController_NAME, T1.TechController_DESCRIPTION, T1.TechController_MIN, T1.TechController_MAX, T1.TechController_UNITS, T1.TechController_ID, T1.[TechController.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS TechController_GUID, + T.Code AS TechController_CODE, + T.Name AS TechController_NAME, + T.Description AS TechController_DESCRIPTION, + T.Min AS TechController_MIN, + T.Max AS TechController_MAX, + T.Units AS TechController_UNITS, + T.ID AS TechController_ID, + T.LastUpdated AS [TechController.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.TechControllers AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.TechControllers. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView131() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing TechControllers + [Tango.BL.TechController](T1.TechController_Guid, T1.TechController_Code, T1.TechController_Name, T1.TechController_Description, T1.TechController_Min, T1.TechController_Max, T1.TechController_Units, T1.TechController_ID, T1.TechController_LastUpdated) + FROM ( + SELECT + T.GUID AS TechController_Guid, + T.CODE AS TechController_Code, + T.NAME AS TechController_Name, + T.DESCRIPTION AS TechController_Description, + T.MIN AS TechController_Min, + T.MAX AS TechController_Max, + T.UNITS AS TechController_Units, + T.ID AS TechController_ID, + T.LAST_UPDATED AS TechController_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.TechController AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.TechDispenser. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView132() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing TechDispenser + [CodeFirstDatabaseSchema.TechDispenser](T1.TechDispenser_GUID, T1.TechDispenser_CODE, T1.TechDispenser_NAME, T1.TechDispenser_DESCRIPTION, T1.TechDispenser_ID, T1.[TechDispenser.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS TechDispenser_GUID, + T.Code AS TechDispenser_CODE, + T.Name AS TechDispenser_NAME, + T.Description AS TechDispenser_DESCRIPTION, + T.ID AS TechDispenser_ID, + T.LastUpdated AS [TechDispenser.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.TechDispensers AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.TechDispensers. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView133() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing TechDispensers + [Tango.BL.TechDispenser](T1.TechDispenser_Guid, T1.TechDispenser_Code, T1.TechDispenser_Name, T1.TechDispenser_Description, T1.TechDispenser_ID, T1.TechDispenser_LastUpdated) + FROM ( + SELECT + T.GUID AS TechDispenser_Guid, + T.CODE AS TechDispenser_Code, + T.NAME AS TechDispenser_Name, + T.DESCRIPTION AS TechDispenser_Description, + T.ID AS TechDispenser_ID, + T.LAST_UPDATED AS TechDispenser_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.TechDispenser AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.TechHeater. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView134() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing TechHeater + [CodeFirstDatabaseSchema.TechHeater](T1.TechHeater_GUID, T1.TechHeater_CODE, T1.TechHeater_NAME, T1.TechHeater_DESCRIPTION, T1.TechHeater_ID, T1.[TechHeater.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS TechHeater_GUID, + T.Code AS TechHeater_CODE, + T.Name AS TechHeater_NAME, + T.Description AS TechHeater_DESCRIPTION, + T.ID AS TechHeater_ID, + T.LastUpdated AS [TechHeater.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.TechHeaters AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.TechHeaters. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView135() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing TechHeaters + [Tango.BL.TechHeater](T1.TechHeater_Guid, T1.TechHeater_Code, T1.TechHeater_Name, T1.TechHeater_Description, T1.TechHeater_ID, T1.TechHeater_LastUpdated) + FROM ( + SELECT + T.GUID AS TechHeater_Guid, + T.CODE AS TechHeater_Code, + T.NAME AS TechHeater_Name, + T.DESCRIPTION AS TechHeater_Description, + T.ID AS TechHeater_ID, + T.LAST_UPDATED AS TechHeater_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.TechHeater AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.TechIo. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView136() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing TechIo + [CodeFirstDatabaseSchema.TechIo](T1.TechIo_GUID, T1.TechIo_CODE, T1.TechIo_NAME, T1.TechIo_TYPE, T1.TechIo_DESIGNATOR, T1.TechIo_ASM, T1.[TechIo.INTERFACE_NAME], T1.TechIo_SENSOR, T1.[TechIo.INIT_VALUE], T1.TechIo_AVERAGING, T1.TechIo_MIN, T1.TechIo_MAX, T1.TechIo_ID, T1.[TechIo.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS TechIo_GUID, + T.Code AS TechIo_CODE, + T.Name AS TechIo_NAME, + T.Type AS TechIo_TYPE, + T.Designator AS TechIo_DESIGNATOR, + T.Asm AS TechIo_ASM, + T.InterfaceName AS [TechIo.INTERFACE_NAME], + T.Sensor AS TechIo_SENSOR, + T.InitValue AS [TechIo.INIT_VALUE], + T.Averaging AS TechIo_AVERAGING, + T.Min AS TechIo_MIN, + T.Max AS TechIo_MAX, + T.ID AS TechIo_ID, + T.LastUpdated AS [TechIo.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.TechIos AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.TechIos. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView137() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing TechIos + [Tango.BL.TechIo](T1.TechIo_Guid, T1.TechIo_Code, T1.TechIo_Name, T1.TechIo_Type, T1.TechIo_Designator, T1.TechIo_Asm, T1.TechIo_InterfaceName, T1.TechIo_Sensor, T1.TechIo_InitValue, T1.TechIo_Averaging, T1.TechIo_Min, T1.TechIo_Max, T1.TechIo_ID, T1.TechIo_LastUpdated) + FROM ( + SELECT + T.GUID AS TechIo_Guid, + T.CODE AS TechIo_Code, + T.NAME AS TechIo_Name, + T.TYPE AS TechIo_Type, + T.DESIGNATOR AS TechIo_Designator, + T.ASM AS TechIo_Asm, + T.INTERFACE_NAME AS TechIo_InterfaceName, + T.SENSOR AS TechIo_Sensor, + T.INIT_VALUE AS TechIo_InitValue, + T.AVERAGING AS TechIo_Averaging, + T.MIN AS TechIo_Min, + T.MAX AS TechIo_Max, + T.ID AS TechIo_ID, + T.LAST_UPDATED AS TechIo_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.TechIo AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.TechMonitor. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView138() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing TechMonitor + [CodeFirstDatabaseSchema.TechMonitor](T1.TechMonitor_GUID, T1.TechMonitor_CODE, T1.TechMonitor_NAME, T1.TechMonitor_DESCRIPTION, T1.TechMonitor_MIN, T1.TechMonitor_MAX, T1.TechMonitor_UNITS, T1.[TechMonitor.POINTS_PER_FRAME], T1.[TechMonitor.MULTI_CHANNEL], T1.[TechMonitor.CHANNEL_COUNT], T1.TechMonitor_ID, T1.[TechMonitor.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS TechMonitor_GUID, + T.Code AS TechMonitor_CODE, + T.Name AS TechMonitor_NAME, + T.Description AS TechMonitor_DESCRIPTION, + T.Min AS TechMonitor_MIN, + T.Max AS TechMonitor_MAX, + T.Units AS TechMonitor_UNITS, + T.PointsPerFrame AS [TechMonitor.POINTS_PER_FRAME], + T.MultiChannel AS [TechMonitor.MULTI_CHANNEL], + T.ChannelCount AS [TechMonitor.CHANNEL_COUNT], + T.ID AS TechMonitor_ID, + T.LastUpdated AS [TechMonitor.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.TechMonitors AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.TechMonitors. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView139() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing TechMonitors + [Tango.BL.TechMonitor](T1.TechMonitor_Guid, T1.TechMonitor_Code, T1.TechMonitor_Name, T1.TechMonitor_Description, T1.TechMonitor_Min, T1.TechMonitor_Max, T1.TechMonitor_Units, T1.TechMonitor_PointsPerFrame, T1.TechMonitor_MultiChannel, T1.TechMonitor_ChannelCount, T1.TechMonitor_ID, T1.TechMonitor_LastUpdated) + FROM ( + SELECT + T.GUID AS TechMonitor_Guid, + T.CODE AS TechMonitor_Code, + T.NAME AS TechMonitor_Name, + T.DESCRIPTION AS TechMonitor_Description, + T.MIN AS TechMonitor_Min, + T.MAX AS TechMonitor_Max, + T.UNITS AS TechMonitor_Units, + T.POINTS_PER_FRAME AS TechMonitor_PointsPerFrame, + T.MULTI_CHANNEL AS TechMonitor_MultiChannel, + T.CHANNEL_COUNT AS TechMonitor_ChannelCount, + T.ID AS TechMonitor_ID, + T.LAST_UPDATED AS TechMonitor_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.TechMonitor AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for CodeFirstDatabase.TechValve. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView140() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing TechValve + [CodeFirstDatabaseSchema.TechValve](T1.TechValve_GUID, T1.TechValve_CODE, T1.TechValve_NAME, T1.TechValve_DESCRIPTION, T1.TechValve_TYPE, T1.TechValve_STATE1, T1.TechValve_STATE2, T1.TechValve_ID, T1.[TechValve.LAST_UPDATED]) + FROM ( + SELECT + T.Guid AS TechValve_GUID, + T.Code AS TechValve_CODE, + T.Name AS TechValve_NAME, + T.Description AS TechValve_DESCRIPTION, + T.Type AS TechValve_TYPE, + T.State1 AS TechValve_STATE1, + T.State2 AS TechValve_STATE2, + T.ID AS TechValve_ID, + T.LastUpdated AS [TechValve.LAST_UPDATED], + True AS _from0 + FROM ObservablesContext.TechValves AS T + ) AS T1"); + } + + /// <summary> + /// Gets the view for ObservablesContext.TechValves. + /// </summary> + /// <returns>The mapping view.</returns> + private static DbMappingView GetView141() + { + return new DbMappingView(@" + SELECT VALUE -- Constructing TechValves + [Tango.BL.TechValve](T1.TechValve_Guid, T1.TechValve_Code, T1.TechValve_Name, T1.TechValve_Description, T1.TechValve_Type, T1.TechValve_State1, T1.TechValve_State2, T1.TechValve_ID, T1.TechValve_LastUpdated) + FROM ( + SELECT + T.GUID AS TechValve_Guid, + T.CODE AS TechValve_Code, + T.NAME AS TechValve_Name, + T.DESCRIPTION AS TechValve_Description, + T.TYPE AS TechValve_Type, + T.STATE1 AS TechValve_State1, + T.STATE2 AS TechValve_State2, + T.ID AS TechValve_ID, + T.LAST_UPDATED AS TechValve_LastUpdated, + True AS _from0 + FROM CodeFirstDatabase.TechValve AS T + ) AS T1"); + } + } +} diff --git a/Software/Visual_Studio/Tango.BL/ObservablesContextConfiguration.cs b/Software/Visual_Studio/Tango.BL/ObservablesContextConfiguration.cs new file mode 100644 index 000000000..e3fb7dee4 --- /dev/null +++ b/Software/Visual_Studio/Tango.BL/ObservablesContextConfiguration.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Data.Entity; +using System.Data.Entity.Infrastructure; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Tango.BL +{ + public class ObservablesContextConfiguration : DbConfiguration + { + public String FolderPath { get; private set; } + + public ObservablesContextConfiguration() : base() + { + FolderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "Twine", "Tango", "EFCache", Path.GetFileNameWithoutExtension(AppDomain.CurrentDomain.FriendlyName)); + Directory.CreateDirectory(FolderPath); + SetModelStore(new DefaultDbModelStore(FolderPath)); + } + } +} diff --git a/Software/Visual_Studio/Tango.BL/ObservablesContextExtension.cs b/Software/Visual_Studio/Tango.BL/ObservablesContextExtension.cs index 0bd002f60..65fe1b638 100644 --- a/Software/Visual_Studio/Tango.BL/ObservablesContextExtension.cs +++ b/Software/Visual_Studio/Tango.BL/ObservablesContextExtension.cs @@ -16,6 +16,7 @@ using Tango.Settings; namespace Tango.BL { + [DbConfigurationType(typeof(ObservablesContextConfiguration))] public partial class ObservablesContext { private List<ObservableModifiedEventArgs> _pending_notifications = new List<ObservableModifiedEventArgs>(); diff --git a/Software/Visual_Studio/Tango.BL/Tango.BL.csproj b/Software/Visual_Studio/Tango.BL/Tango.BL.csproj index 08e005ff0..825759b23 100644 --- a/Software/Visual_Studio/Tango.BL/Tango.BL.csproj +++ b/Software/Visual_Studio/Tango.BL/Tango.BL.csproj @@ -34,10 +34,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="Google.Protobuf, Version=3.4.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> <HintPath>..\packages\Google.Protobuf.3.4.1\lib\net45\Google.Protobuf.dll</HintPath> @@ -315,7 +315,9 @@ <Compile Include="ObservableEntity.cs" /> <Compile Include="ObservableModifiedEventArgs.cs" /> <Compile Include="ObservablesContext.cs" /> + <Compile Include="ObservablesContext.Views.cs" /> <Compile Include="ObservablesContextAdapter.cs" /> + <Compile Include="ObservablesContextConfiguration.cs" /> <Compile Include="ObservablesContextExtension.cs" /> <Compile Include="ObservablesEntitiesAdapter.cs" /> <Compile Include="ObservablesEntitiesAdapterExtension.cs" /> diff --git a/Software/Visual_Studio/Tango.BL/app.config b/Software/Visual_Studio/Tango.BL/app.config index 9d938150e..db65d44d1 100644 --- a/Software/Visual_Studio/Tango.BL/app.config +++ b/Software/Visual_Studio/Tango.BL/app.config @@ -4,14 +4,19 @@ <DbProviderFactories> <remove invariant="System.Data.SQLite.EF6" /> <add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" /> - <remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories> + <remove invariant="System.Data.SQLite" /> + <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /> + </DbProviderFactories> </system.data> <configSections> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> </configSections> <entityFramework> <providers> <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" /> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers> + <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> </entityFramework> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.BL/packages.config b/Software/Visual_Studio/Tango.BL/packages.config index 143253db5..3ed77ec38 100644 --- a/Software/Visual_Studio/Tango.BL/packages.config +++ b/Software/Visual_Studio/Tango.BL/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> <package id="Newtonsoft.Json" version="8.0.3" targetFramework="net46" /> <package id="SimpleValidator" version="0.6.1.0" targetFramework="net46" /> diff --git a/Software/Visual_Studio/Tango.Core/App.config b/Software/Visual_Studio/Tango.Core/App.config index fa994d8be..a812dbad5 100644 --- a/Software/Visual_Studio/Tango.Core/App.config +++ b/Software/Visual_Studio/Tango.Core/App.config @@ -2,8 +2,8 @@ <configuration> <configSections> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> - </configSections> + + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> <providers> diff --git a/Software/Visual_Studio/Tango.Core/Tango.Core.csproj b/Software/Visual_Studio/Tango.Core/Tango.Core.csproj index 38aede92e..6a5c15001 100644 --- a/Software/Visual_Studio/Tango.Core/Tango.Core.csproj +++ b/Software/Visual_Studio/Tango.Core/Tango.Core.csproj @@ -34,10 +34,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="Google.Protobuf, Version=3.4.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> <HintPath>..\packages\Google.Protobuf.3.4.1\lib\net45\Google.Protobuf.dll</HintPath> @@ -194,7 +194,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> + <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> </VisualStudio> </ProjectExtensions> <Import Project="..\packages\System.Data.SQLite.Core.1.0.108.0\build\net46\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.108.0\build\net46\System.Data.SQLite.Core.targets')" /> diff --git a/Software/Visual_Studio/Tango.Core/packages.config b/Software/Visual_Studio/Tango.Core/packages.config index 2d48269eb..53cd4a3c8 100644 --- a/Software/Visual_Studio/Tango.Core/packages.config +++ b/Software/Visual_Studio/Tango.Core/packages.config @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="CommonServiceLocator" version="1.3" targetFramework="net46" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net472" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> <package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="3.19.8" targetFramework="net472" /> <package id="Newtonsoft.Json" version="8.0.3" targetFramework="net46" /> diff --git a/Software/Visual_Studio/Tango.DAL.Local/App.config b/Software/Visual_Studio/Tango.DAL.Local/App.config index 1b70a1173..60937b662 100644 --- a/Software/Visual_Studio/Tango.DAL.Local/App.config +++ b/Software/Visual_Studio/Tango.DAL.Local/App.config @@ -1,23 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> </configSections> <entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> <providers> - <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" /> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers> </entityFramework> - <connectionStrings> - - <add name="LocalDB" connectionString="metadata=res://*/DB.LocalADO.csdl|res://*/DB.LocalADO.ssdl|res://*/DB.LocalADO.msl;provider=System.Data.SQLite.EF6;provider connection string="data source=D:\Development\Tango\Software\DB\Tango.db"" providerName="System.Data.EntityClient" /></connectionStrings> -<system.data> + <add name="LocalDB" connectionString="metadata=res://*/DB.LocalADO.csdl|res://*/DB.LocalADO.ssdl|res://*/DB.LocalADO.msl;provider=System.Data.SQLite.EF6;provider connection string="data source=D:\Development\Tango\Software\DB\Tango.db"" providerName="System.Data.EntityClient" /> + </connectionStrings> + <system.data> <DbProviderFactories> <remove invariant="System.Data.SQLite.EF6" /> <add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" /> - <remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories> - </system.data></configuration>
\ No newline at end of file + <remove invariant="System.Data.SQLite" /> + <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /> + </DbProviderFactories> + </system.data> +</configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.DAL.Local/Tango.DAL.Local.csproj b/Software/Visual_Studio/Tango.DAL.Local/Tango.DAL.Local.csproj index 0f0789bc2..e3c16dad1 100644 --- a/Software/Visual_Studio/Tango.DAL.Local/Tango.DAL.Local.csproj +++ b/Software/Visual_Studio/Tango.DAL.Local/Tango.DAL.Local.csproj @@ -33,10 +33,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.ComponentModel.DataAnnotations" /> @@ -270,7 +270,7 @@ </Target> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.DAL.Local/packages.config b/Software/Visual_Studio/Tango.DAL.Local/packages.config index d44781e33..4d5b3dd74 100644 --- a/Software/Visual_Studio/Tango.DAL.Local/packages.config +++ b/Software/Visual_Studio/Tango.DAL.Local/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="System.Data.SQLite" version="1.0.108.0" targetFramework="net46" /> <package id="System.Data.SQLite.Core" version="1.0.108.0" targetFramework="net46" /> <package id="System.Data.SQLite.EF6" version="1.0.108.0" targetFramework="net46" /> diff --git a/Software/Visual_Studio/Tango.DAL.Remote/App.config b/Software/Visual_Studio/Tango.DAL.Remote/App.config index b5df1e92b..bb33803b2 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/App.config +++ b/Software/Visual_Studio/Tango.DAL.Remote/App.config @@ -1,23 +1,25 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> </configSections> <entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> <providers> - <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" /> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers> </entityFramework> - <connectionStrings> <add name="RemoteDB" connectionString="metadata=res://*/DB.RemoteADO.csdl|res://*/DB.RemoteADO.ssdl|res://*/DB.RemoteADO.msl;provider=System.Data.SqlClient;provider connection string="data source=LOCALHOST\SQLEXPRESS;initial catalog=Tango;integrated security=True;MultipleActiveResultSets=True;App=EntityFramework"" providerName="System.Data.EntityClient" /> </connectionStrings> -<system.data> + <system.data> <DbProviderFactories> <remove invariant="System.Data.SQLite.EF6" /> <add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" /> - <remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories> - </system.data></configuration>
\ No newline at end of file + <remove invariant="System.Data.SQLite" /> + <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /> + </DbProviderFactories> + </system.data> +</configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.DAL.Remote/Tango.DAL.Remote.csproj b/Software/Visual_Studio/Tango.DAL.Remote/Tango.DAL.Remote.csproj index 508d9793e..e2620f9ff 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/Tango.DAL.Remote.csproj +++ b/Software/Visual_Studio/Tango.DAL.Remote/Tango.DAL.Remote.csproj @@ -33,10 +33,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.ComponentModel.DataAnnotations" /> @@ -344,7 +344,7 @@ </Target> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.DAL.Remote/packages.config b/Software/Visual_Studio/Tango.DAL.Remote/packages.config index d44781e33..4d5b3dd74 100644 --- a/Software/Visual_Studio/Tango.DAL.Remote/packages.config +++ b/Software/Visual_Studio/Tango.DAL.Remote/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="System.Data.SQLite" version="1.0.108.0" targetFramework="net46" /> <package id="System.Data.SQLite.Core" version="1.0.108.0" targetFramework="net46" /> <package id="System.Data.SQLite.EF6" version="1.0.108.0" targetFramework="net46" /> diff --git a/Software/Visual_Studio/Tango.Emulations/app.config b/Software/Visual_Studio/Tango.Emulations/app.config index cacd4cd77..49b6f5ebe 100644 --- a/Software/Visual_Studio/Tango.Emulations/app.config +++ b/Software/Visual_Studio/Tango.Emulations/app.config @@ -6,6 +6,10 @@ <assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> </assemblyBinding> </runtime> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.Explorer/Tango.Explorer.csproj b/Software/Visual_Studio/Tango.Explorer/Tango.Explorer.csproj index a436400a4..10f3b929e 100644 --- a/Software/Visual_Studio/Tango.Explorer/Tango.Explorer.csproj +++ b/Software/Visual_Studio/Tango.Explorer/Tango.Explorer.csproj @@ -81,6 +81,7 @@ <Generator>ResXFileCodeGenerator</Generator> <LastGenOutput>Resources.Designer.cs</LastGenOutput> </EmbeddedResource> + <None Include="app.config" /> <None Include="Properties\Settings.settings"> <Generator>SettingsSingleFileGenerator</Generator> <LastGenOutput>Settings.Designer.cs</LastGenOutput> diff --git a/Software/Visual_Studio/Tango.Explorer/app.config b/Software/Visual_Studio/Tango.Explorer/app.config new file mode 100644 index 000000000..462d17b27 --- /dev/null +++ b/Software/Visual_Studio/Tango.Explorer/app.config @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="utf-8"?> +<configuration> + <runtime> + <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> + <dependentAssembly> + <assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.2.2.0" newVersion="1.2.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Reflection.Metadata" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.4.2.0" newVersion="1.4.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.IO.FileSystem" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.IO.FileSystem.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Security.Cryptography.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Xml.XPath.XDocument" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Console" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> + </dependentAssembly> + </assemblyBinding> + </runtime> +</configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.Integration/Tango.Integration.csproj b/Software/Visual_Studio/Tango.Integration/Tango.Integration.csproj index f9d072ec0..45930a222 100644 --- a/Software/Visual_Studio/Tango.Integration/Tango.Integration.csproj +++ b/Software/Visual_Studio/Tango.Integration/Tango.Integration.csproj @@ -31,10 +31,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="Google.Protobuf, Version=3.4.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> <HintPath>..\packages\Google.Protobuf.3.4.1\lib\net45\Google.Protobuf.dll</HintPath> @@ -171,7 +171,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.Integration/app.config b/Software/Visual_Studio/Tango.Integration/app.config index 4a6cb0526..63b19aed7 100644 --- a/Software/Visual_Studio/Tango.Integration/app.config +++ b/Software/Visual_Studio/Tango.Integration/app.config @@ -1,15 +1,19 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/Tango.Integration/packages.config b/Software/Visual_Studio/Tango.Integration/packages.config index 5f277f7aa..dda6ff5f8 100644 --- a/Software/Visual_Studio/Tango.Integration/packages.config +++ b/Software/Visual_Studio/Tango.Integration/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> <package id="Ionic.Zip" version="1.9.1.8" targetFramework="net461" /> <package id="Newtonsoft.Json" version="8.0.3" targetFramework="net46" /> diff --git a/Software/Visual_Studio/Tango.SharedUI/Tango.SharedUI.csproj b/Software/Visual_Studio/Tango.SharedUI/Tango.SharedUI.csproj index 65aaf2a6f..be03e3a60 100644 --- a/Software/Visual_Studio/Tango.SharedUI/Tango.SharedUI.csproj +++ b/Software/Visual_Studio/Tango.SharedUI/Tango.SharedUI.csproj @@ -33,10 +33,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FontAwesome.WPF, Version=4.7.0.37774, Culture=neutral, PublicKeyToken=0758b07a11a4f466, processorArchitecture=MSIL"> <HintPath>..\packages\FontAwesome.WPF.4.7.0.9\lib\net40\FontAwesome.WPF.dll</HintPath> @@ -232,7 +232,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> + <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.SharedUI/app.config b/Software/Visual_Studio/Tango.SharedUI/app.config index 4001bf6c8..c5423fe28 100644 --- a/Software/Visual_Studio/Tango.SharedUI/app.config +++ b/Software/Visual_Studio/Tango.SharedUI/app.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> diff --git a/Software/Visual_Studio/Tango.SharedUI/packages.config b/Software/Visual_Studio/Tango.SharedUI/packages.config index d25558b0d..e883203ff 100644 --- a/Software/Visual_Studio/Tango.SharedUI/packages.config +++ b/Software/Visual_Studio/Tango.SharedUI/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="CommonServiceLocator" version="1.3" targetFramework="net45" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net472" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="FontAwesome.WPF" version="4.7.0.9" targetFramework="net45" /> </packages>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.Stubs/Tango.Stubs.csproj b/Software/Visual_Studio/Tango.Stubs/Tango.Stubs.csproj index 620b9950c..1c5865379 100644 --- a/Software/Visual_Studio/Tango.Stubs/Tango.Stubs.csproj +++ b/Software/Visual_Studio/Tango.Stubs/Tango.Stubs.csproj @@ -32,10 +32,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FontAwesome.WPF, Version=4.7.0.37774, Culture=neutral, PublicKeyToken=0758b07a11a4f466, processorArchitecture=MSIL"> <HintPath>..\packages\FontAwesome.WPF.4.7.0.9\lib\net40\FontAwesome.WPF.dll</HintPath> @@ -186,7 +186,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> + <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.Stubs/app.config b/Software/Visual_Studio/Tango.Stubs/app.config index 0e58ccf54..0e8167dde 100644 --- a/Software/Visual_Studio/Tango.Stubs/app.config +++ b/Software/Visual_Studio/Tango.Stubs/app.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -54,6 +54,10 @@ <assemblyIdentity name="System.Xml.ReaderWriter" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/Tango.Stubs/packages.config b/Software/Visual_Studio/Tango.Stubs/packages.config index 862bebc3f..8a6da5794 100644 --- a/Software/Visual_Studio/Tango.Stubs/packages.config +++ b/Software/Visual_Studio/Tango.Stubs/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net472" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="FontAwesome.WPF" version="4.7.0.9" targetFramework="net46" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net46" /> diff --git a/Software/Visual_Studio/Tango.Synchronization/App.config b/Software/Visual_Studio/Tango.Synchronization/App.config index 92a8cb719..e5d26b65a 100644 --- a/Software/Visual_Studio/Tango.Synchronization/App.config +++ b/Software/Visual_Studio/Tango.Synchronization/App.config @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> </configSections> <entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"> @@ -11,14 +11,19 @@ </parameters> </defaultConnectionFactory> <providers> - <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" /> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers> </entityFramework> - -<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /></startup><system.data> + <startup> + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> + </startup> + <system.data> <DbProviderFactories> <remove invariant="System.Data.SQLite.EF6" /> <add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" /> - <remove invariant="System.Data.SQLite" /><add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /></DbProviderFactories> - </system.data></configuration> + <remove invariant="System.Data.SQLite" /> + <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /> + </DbProviderFactories> + </system.data> +</configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.Synchronization/Tango.Synchronization.csproj b/Software/Visual_Studio/Tango.Synchronization/Tango.Synchronization.csproj index e74eafcf1..3fea4faf5 100644 --- a/Software/Visual_Studio/Tango.Synchronization/Tango.Synchronization.csproj +++ b/Software/Visual_Studio/Tango.Synchronization/Tango.Synchronization.csproj @@ -34,10 +34,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.ComponentModel.DataAnnotations" /> @@ -126,7 +126,7 @@ </Target> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.Synchronization/packages.config b/Software/Visual_Studio/Tango.Synchronization/packages.config index 104de3468..4d5b3dd74 100644 --- a/Software/Visual_Studio/Tango.Synchronization/packages.config +++ b/Software/Visual_Studio/Tango.Synchronization/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net45" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="System.Data.SQLite" version="1.0.108.0" targetFramework="net46" /> <package id="System.Data.SQLite.Core" version="1.0.108.0" targetFramework="net46" /> <package id="System.Data.SQLite.EF6" version="1.0.108.0" targetFramework="net46" /> diff --git a/Software/Visual_Studio/Tango.Transport/app.config b/Software/Visual_Studio/Tango.Transport/app.config index cacd4cd77..49b6f5ebe 100644 --- a/Software/Visual_Studio/Tango.Transport/app.config +++ b/Software/Visual_Studio/Tango.Transport/app.config @@ -6,6 +6,10 @@ <assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> </assemblyBinding> </runtime> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.UnitTesting/App.config b/Software/Visual_Studio/Tango.UnitTesting/App.config index cfe24c788..525a23acf 100644 --- a/Software/Visual_Studio/Tango.UnitTesting/App.config +++ b/Software/Visual_Studio/Tango.UnitTesting/App.config @@ -1,17 +1,17 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> </configSections> <entityFramework> <providers> - <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" /> <provider invariantName="System.Data.SQLite" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" /> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers> + <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> </entityFramework> - <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -96,11 +96,12 @@ </dependentAssembly> </assemblyBinding> </runtime> -<system.data> + <system.data> <DbProviderFactories> <remove invariant="System.Data.SQLite.EF6" /> <add name="SQLite Data Provider" invariant="System.Data.SQLite" description=".NET Framework Data Provider for SQLite" type="System.Data.SQLite.SQLiteFactory, System.Data.SQLite" /> <remove invariant="System.Data.SQLite.EF6" /> <add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" /> </DbProviderFactories> - </system.data></configuration>
\ No newline at end of file + </system.data> +</configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.UnitTesting/Tango.UnitTesting.csproj b/Software/Visual_Studio/Tango.UnitTesting/Tango.UnitTesting.csproj index f1f2910c1..fa4652899 100644 --- a/Software/Visual_Studio/Tango.UnitTesting/Tango.UnitTesting.csproj +++ b/Software/Visual_Studio/Tango.UnitTesting/Tango.UnitTesting.csproj @@ -48,10 +48,10 @@ <HintPath>..\packages\DeepEqual.1.6.0.0\lib\net40\DeepEqual.dll</HintPath> </Reference> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="Google.Protobuf, Version=3.4.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> <HintPath>..\packages\Google.Protobuf.3.4.1\lib\net45\Google.Protobuf.dll</HintPath> @@ -212,7 +212,7 @@ <Import Project="..\packages\System.Data.SQLite.Core.1.0.108.0\build\net46\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.108.0\build\net46\System.Data.SQLite.Core.targets')" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.UnitTesting/packages.config b/Software/Visual_Studio/Tango.UnitTesting/packages.config index 4d34c7e52..9b8d6e793 100644 --- a/Software/Visual_Studio/Tango.UnitTesting/packages.config +++ b/Software/Visual_Studio/Tango.UnitTesting/packages.config @@ -2,7 +2,7 @@ <packages> <package id="Castle.Core" version="3.3.0" targetFramework="net46" /> <package id="DeepEqual" version="1.6.0.0" targetFramework="net461" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> <package id="MSTest.TestAdapter" version="1.1.11" targetFramework="net45" /> <package id="MSTest.TestFramework" version="1.1.11" targetFramework="net45" /> diff --git a/Software/Visual_Studio/Tango.Web/Tango.Web.csproj b/Software/Visual_Studio/Tango.Web/Tango.Web.csproj index d0d30482d..98352e131 100644 --- a/Software/Visual_Studio/Tango.Web/Tango.Web.csproj +++ b/Software/Visual_Studio/Tango.Web/Tango.Web.csproj @@ -40,10 +40,10 @@ <HintPath>..\packages\Antlr.3.4.1.9004\lib\Antlr3.Runtime.dll</HintPath> </Reference> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="Google.Protobuf, Version=3.4.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> <HintPath>..\packages\Google.Protobuf.3.4.1\lib\net45\Google.Protobuf.dll</HintPath> diff --git a/Software/Visual_Studio/Tango.Web/app.config b/Software/Visual_Studio/Tango.Web/app.config index 7c02d45bb..63664236a 100644 --- a/Software/Visual_Studio/Tango.Web/app.config +++ b/Software/Visual_Studio/Tango.Web/app.config @@ -1,5 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> + <configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + </configSections> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> @@ -28,4 +32,10 @@ </dependentAssembly> </assemblyBinding> </runtime> + <entityFramework> + <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> + <providers> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> + </providers> + </entityFramework> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Tango.Web/packages.config b/Software/Visual_Studio/Tango.Web/packages.config index e7bb554d1..cb6027500 100644 --- a/Software/Visual_Studio/Tango.Web/packages.config +++ b/Software/Visual_Studio/Tango.Web/packages.config @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="Antlr" version="3.4.1.9004" targetFramework="net461" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net461" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net461" /> <package id="Microsoft.ApplicationInsights" version="2.2.0" targetFramework="net461" /> <package id="Microsoft.ApplicationInsights.Agent.Intercept" version="2.0.6" targetFramework="net461" /> diff --git a/Software/Visual_Studio/Utilities/Tango.CatalogGenerator/App.config b/Software/Visual_Studio/Utilities/Tango.CatalogGenerator/App.config index 92aa00bf9..250f57a4d 100644 --- a/Software/Visual_Studio/Utilities/Tango.CatalogGenerator/App.config +++ b/Software/Visual_Studio/Utilities/Tango.CatalogGenerator/App.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> </startup> diff --git a/Software/Visual_Studio/Utilities/Tango.CatalogGenerator/Tango.CatalogGenerator.csproj b/Software/Visual_Studio/Utilities/Tango.CatalogGenerator/Tango.CatalogGenerator.csproj index a178c3951..d1203609b 100644 --- a/Software/Visual_Studio/Utilities/Tango.CatalogGenerator/Tango.CatalogGenerator.csproj +++ b/Software/Visual_Studio/Utilities/Tango.CatalogGenerator/Tango.CatalogGenerator.csproj @@ -33,11 +33,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> - <Private>True</Private> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.ComponentModel.DataAnnotations" /> @@ -69,7 +68,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.CatalogGenerator/packages.config b/Software/Visual_Studio/Utilities/Tango.CatalogGenerator/packages.config index 9256e1591..b3daf0d6c 100644 --- a/Software/Visual_Studio/Utilities/Tango.CatalogGenerator/packages.config +++ b/Software/Visual_Studio/Utilities/Tango.CatalogGenerator/packages.config @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> </packages>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/App.config b/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/App.config index 92aa00bf9..250f57a4d 100644 --- a/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/App.config +++ b/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/App.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> </startup> diff --git a/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/Tango.DBObservablesGenerator.CLI.csproj b/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/Tango.DBObservablesGenerator.CLI.csproj index bc017dca0..26647a6d1 100644 --- a/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/Tango.DBObservablesGenerator.CLI.csproj +++ b/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/Tango.DBObservablesGenerator.CLI.csproj @@ -33,10 +33,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="Humanizer, Version=2.2.0.0, Culture=neutral, PublicKeyToken=979442b78dfc278e, processorArchitecture=MSIL"> <HintPath>..\..\packages\Humanizer.Core.2.2.0\lib\netstandard1.0\Humanizer.dll</HintPath> @@ -84,7 +84,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/packages.config b/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/packages.config index 5148e8474..fdcfca0bf 100644 --- a/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/packages.config +++ b/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Humanizer" version="2.2.0" targetFramework="net46" /> <package id="Humanizer.Core" version="2.2.0" targetFramework="net46" /> <package id="Humanizer.Core.af" version="2.2.0" targetFramework="net46" /> diff --git a/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/App.config b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/App.config index 92aa00bf9..250f57a4d 100644 --- a/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/App.config +++ b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/App.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> </startup> diff --git a/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Tango.EventsTypesGenerator.csproj b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Tango.EventsTypesGenerator.csproj index fc5103603..3eb5beb31 100644 --- a/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Tango.EventsTypesGenerator.csproj +++ b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Tango.EventsTypesGenerator.csproj @@ -33,10 +33,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.ComponentModel.DataAnnotations" /> diff --git a/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/packages.config b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/packages.config index 9256e1591..b3daf0d6c 100644 --- a/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/packages.config +++ b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/packages.config @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> </packages>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/App.config b/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/App.config index f05da3520..b3646d281 100644 --- a/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/App.config +++ b/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/App.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /> </startup> diff --git a/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/Tango.JobRunsGenerator.csproj b/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/Tango.JobRunsGenerator.csproj index a5426e3fd..04e647f46 100644 --- a/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/Tango.JobRunsGenerator.csproj +++ b/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/Tango.JobRunsGenerator.csproj @@ -34,10 +34,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.ComponentModel.DataAnnotations" /> diff --git a/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/packages.config b/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/packages.config index eb315b1dc..b3daf0d6c 100644 --- a/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/packages.config +++ b/Software/Visual_Studio/Utilities/Tango.JobRunsGenerator/packages.config @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net461" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> </packages>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/App.config b/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/App.config index 8adf1a638..eba7ddbbd 100644 --- a/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/App.config +++ b/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/App.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> </startup> @@ -61,6 +61,10 @@ <assemblyIdentity name="System.Data.SQLite" publicKeyToken="db937bc2d44ff139" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-1.0.108.0" newVersion="1.0.108.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/Tango.MachineEM.UI.csproj b/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/Tango.MachineEM.UI.csproj index 03bf8715c..bce166287 100644 --- a/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/Tango.MachineEM.UI.csproj +++ b/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/Tango.MachineEM.UI.csproj @@ -38,10 +38,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FontAwesome.WPF, Version=4.7.0.37774, Culture=neutral, PublicKeyToken=0758b07a11a4f466, processorArchitecture=MSIL"> <HintPath>..\..\packages\FontAwesome.WPF.4.7.0.9\lib\net40\FontAwesome.WPF.dll</HintPath> @@ -193,7 +193,7 @@ </PropertyGroup> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/packages.config b/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/packages.config index 844560b1c..d3e952bb8 100644 --- a/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/packages.config +++ b/Software/Visual_Studio/Utilities/Tango.MachineEM.UI/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="FontAwesome.WPF" version="4.7.0.9" targetFramework="net45" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net45" /> diff --git a/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/App.config b/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/App.config index b8ed40861..5e14aa35c 100644 --- a/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/App.config +++ b/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/App.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> </startup> diff --git a/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Tango.PMRGenerator.CLI.csproj b/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Tango.PMRGenerator.CLI.csproj index 32762256e..21e77f3d4 100644 --- a/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Tango.PMRGenerator.CLI.csproj +++ b/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Tango.PMRGenerator.CLI.csproj @@ -33,10 +33,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.ComponentModel.DataAnnotations" /> @@ -80,7 +80,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/packages.config b/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/packages.config index 9256e1591..b3daf0d6c 100644 --- a/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/packages.config +++ b/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/packages.config @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> </packages>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.PortsListGenerator/App.config b/Software/Visual_Studio/Utilities/Tango.PortsListGenerator/App.config index 92aa00bf9..250f57a4d 100644 --- a/Software/Visual_Studio/Utilities/Tango.PortsListGenerator/App.config +++ b/Software/Visual_Studio/Utilities/Tango.PortsListGenerator/App.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> </startup> diff --git a/Software/Visual_Studio/Utilities/Tango.PortsListGenerator/Tango.PortsListGenerator.csproj b/Software/Visual_Studio/Utilities/Tango.PortsListGenerator/Tango.PortsListGenerator.csproj index 300b45041..b89ae91ce 100644 --- a/Software/Visual_Studio/Utilities/Tango.PortsListGenerator/Tango.PortsListGenerator.csproj +++ b/Software/Visual_Studio/Utilities/Tango.PortsListGenerator/Tango.PortsListGenerator.csproj @@ -33,10 +33,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.ComponentModel.DataAnnotations" /> @@ -80,7 +80,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.PortsListGenerator/packages.config b/Software/Visual_Studio/Utilities/Tango.PortsListGenerator/packages.config index 9256e1591..b3daf0d6c 100644 --- a/Software/Visual_Studio/Utilities/Tango.PortsListGenerator/packages.config +++ b/Software/Visual_Studio/Utilities/Tango.PortsListGenerator/packages.config @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> </packages>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.RemoteRunner.UI/App.config b/Software/Visual_Studio/Utilities/Tango.RemoteRunner.UI/App.config index 3c5b5ff38..3275d5443 100644 --- a/Software/Visual_Studio/Utilities/Tango.RemoteRunner.UI/App.config +++ b/Software/Visual_Studio/Utilities/Tango.RemoteRunner.UI/App.config @@ -57,6 +57,10 @@ <assemblyIdentity name="System.Data.SQLite" publicKeyToken="db937bc2d44ff139" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-1.0.108.0" newVersion="1.0.108.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> </assemblyBinding> </runtime> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/App.config b/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/App.config index a9e16aebe..227d4baa7 100644 --- a/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/App.config +++ b/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/App.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> </startup> diff --git a/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Tango.SQLiteGenerator.CLI.csproj b/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Tango.SQLiteGenerator.CLI.csproj index 6ea817dfc..92537ac83 100644 --- a/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Tango.SQLiteGenerator.CLI.csproj +++ b/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Tango.SQLiteGenerator.CLI.csproj @@ -33,10 +33,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="System" /> <Reference Include="System.ComponentModel.DataAnnotations" /> @@ -80,7 +80,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> + <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/packages.config b/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/packages.config index 9256e1591..b3daf0d6c 100644 --- a/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/packages.config +++ b/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/packages.config @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> </packages>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.Stubs.CLI/App.config b/Software/Visual_Studio/Utilities/Tango.Stubs.CLI/App.config index f2af62f53..6b464734d 100644 --- a/Software/Visual_Studio/Utilities/Tango.Stubs.CLI/App.config +++ b/Software/Visual_Studio/Utilities/Tango.Stubs.CLI/App.config @@ -9,6 +9,10 @@ <assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> </assemblyBinding> </runtime> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.Stubs.UI/App.config b/Software/Visual_Studio/Utilities/Tango.Stubs.UI/App.config index e556f3745..02866ad95 100644 --- a/Software/Visual_Studio/Utilities/Tango.Stubs.UI/App.config +++ b/Software/Visual_Studio/Utilities/Tango.Stubs.UI/App.config @@ -145,6 +145,54 @@ <assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0" /> </dependentAssembly>--> + <dependentAssembly> + <assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.2.2.0" newVersion="1.2.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Reflection.Metadata" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.4.2.0" newVersion="1.4.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.IO.FileSystem" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.IO.FileSystem.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Security.Cryptography.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Xml.XPath.XDocument" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.2.0" newVersion="4.0.2.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Console" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Diagnostics.StackTrace" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> </assemblyBinding> </runtime> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.TransportRouter.UI/App.config b/Software/Visual_Studio/Utilities/Tango.TransportRouter.UI/App.config index adc853f50..23bbb5aa7 100644 --- a/Software/Visual_Studio/Utilities/Tango.TransportRouter.UI/App.config +++ b/Software/Visual_Studio/Utilities/Tango.TransportRouter.UI/App.config @@ -57,6 +57,10 @@ <assemblyIdentity name="System.Data.SQLite" publicKeyToken="db937bc2d44ff139" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-1.0.108.0" newVersion="1.0.108.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> </assemblyBinding> </runtime> </configuration> diff --git a/Software/Visual_Studio/Utilities/Tango.UITests/App.config b/Software/Visual_Studio/Utilities/Tango.UITests/App.config index 5d860c3e4..ff7bf1461 100644 --- a/Software/Visual_Studio/Utilities/Tango.UITests/App.config +++ b/Software/Visual_Studio/Utilities/Tango.UITests/App.config @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> - </configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --></configSections> <appSettings> <add key="SendKeys" value="SendInput" /> </appSettings> @@ -64,6 +64,26 @@ <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Edm" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.Services.Client" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.Data.OData" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Microsoft.IdentityModel.Clients.ActiveDirectory" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-3.19.8.16603" newVersion="3.19.8.16603" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" /> + </dependentAssembly> </assemblyBinding> </runtime> <entityFramework> diff --git a/Software/Visual_Studio/Utilities/Tango.UITests/Tango.UITests.csproj b/Software/Visual_Studio/Utilities/Tango.UITests/Tango.UITests.csproj index 4becfe554..64ab69afe 100644 --- a/Software/Visual_Studio/Utilities/Tango.UITests/Tango.UITests.csproj +++ b/Software/Visual_Studio/Utilities/Tango.UITests/Tango.UITests.csproj @@ -35,11 +35,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> - <Private>True</Private> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="FontAwesome.WPF, Version=4.7.0.37774, Culture=neutral, PublicKeyToken=0758b07a11a4f466, processorArchitecture=MSIL"> <HintPath>..\..\packages\FontAwesome.WPF.4.7.0.9\lib\net40\FontAwesome.WPF.dll</HintPath> @@ -152,7 +151,7 @@ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <ProjectExtensions> <VisualStudio> - <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> + <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> </VisualStudio> </ProjectExtensions> </Project>
\ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.UITests/packages.config b/Software/Visual_Studio/Utilities/Tango.UITests/packages.config index 3448f2d27..caf5d7712 100644 --- a/Software/Visual_Studio/Utilities/Tango.UITests/packages.config +++ b/Software/Visual_Studio/Utilities/Tango.UITests/packages.config @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <packages> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" /> <package id="FontAwesome.WPF" version="4.7.0.9" targetFramework="net46" /> <package id="MahApps.Metro" version="1.5.0" targetFramework="net46" /> diff --git a/Software/Visual_Studio/VSIX/Tango.BuildExtensions/TangoBuildCommand.cs b/Software/Visual_Studio/VSIX/Tango.BuildExtensions/TangoBuildCommand.cs index 624124ef2..407530570 100644 --- a/Software/Visual_Studio/VSIX/Tango.BuildExtensions/TangoBuildCommand.cs +++ b/Software/Visual_Studio/VSIX/Tango.BuildExtensions/TangoBuildCommand.cs @@ -38,6 +38,7 @@ namespace Tango.BuildExtensions private const String edmxModelName = "RemoteADO.edmx"; private const String observablesGeneratorProjectName = "Tango.DBObservablesGenerator.CLI"; private const String observablesProjectName = "Tango.BL"; + private const String observablesContextName = "ObservablesContext.cs"; private const String pmrGeneratorProjectName = "Tango.PMRGenerator.CLI"; private const String pmrProjectName = "Tango.PMR"; private const String protoCliProjectName = "Tango.Protobuf.CLI"; @@ -146,8 +147,12 @@ namespace Tango.BuildExtensions OpenVSProgress("Tango Build Engine", "Initializing...", true); + String current_startup_project = DTE.Solution.Properties.Item("StartupProject").Value.ToString(); + try { + + if (buildForm.UpdateDataBaseEntities) { UpdateDatabaseEntities(); @@ -179,9 +184,13 @@ namespace Tango.BuildExtensions } catch (Exception ex) { - CloseVSProgress(); ShowMessage(ex.Message); } + finally + { + CloseVSProgress(); + DTE.Solution.Properties.Item("StartupProject").Value = current_startup_project; + } }); } @@ -344,6 +353,56 @@ namespace Tango.BuildExtensions { throw new ExternalException(observablesProjectName + " failed to build!"); } + + project = _projects.SingleOrDefault(x => x.Name == observablesProjectName); + + if (project == null) + { + throw new NullReferenceException("Could not locate project " + observablesProjectName); + } + + SetVSProgress("Generating views for ObservablesContext..."); + var views_file = GetProjectItems(project).SingleOrDefault(x => x.Name == observablesContextName); + + if (views_file == null) + { + throw new NullReferenceException("Could not locate " + observablesContextName + "!"); + } + + Wait(1000); + + DTE.MainWindow.Activate(); + + ExpandSolutionExplorerNode($"Tango\\{observablesProjectName}"); + Wait(1000); + + SelectSolutionExplorerNode($"Tango\\{observablesProjectName}\\{observablesContextName}"); + Wait(1000); + + Keyboard.Instance.HoldKey(KeyboardInput.SpecialKeys.SHIFT); + Keyboard.Instance.PressSpecialKey(KeyboardInput.SpecialKeys.F10); + Keyboard.Instance.LeaveAllKeys(); + + Wait(1000); + + for (int i = 0; i < 3; i++) + { + Keyboard.Instance.PressSpecialKey(KeyboardInput.SpecialKeys.DOWN); + Wait(100); + } + + Keyboard.Instance.PressSpecialKey(KeyboardInput.SpecialKeys.RIGHT); + Wait(100); + + for (int i = 0; i < 3; i++) + { + Keyboard.Instance.PressSpecialKey(KeyboardInput.SpecialKeys.DOWN); + Wait(100); + } + + Keyboard.Instance.PressSpecialKey(KeyboardInput.SpecialKeys.RETURN); + + _window.WaitWhileBusy(); } private void GenerateAutoPMRMessages() diff --git a/Software/Visual_Studio/VSIX/Tango.BuildExtensions/VSIXBase.cs b/Software/Visual_Studio/VSIX/Tango.BuildExtensions/VSIXBase.cs index 3957bbfdf..349962280 100644 --- a/Software/Visual_Studio/VSIX/Tango.BuildExtensions/VSIXBase.cs +++ b/Software/Visual_Studio/VSIX/Tango.BuildExtensions/VSIXBase.cs @@ -127,6 +127,43 @@ namespace Tango.BuildExtensions return assemblyPath; } + protected void SelectSolutionExplorerNode(string nodePath) + { + EnvDTE.UIHierarchyItem item; + + try + { + item = DTE.ToolWindows.SolutionExplorer.GetItem(nodePath); + item.Select(vsUISelectionType.vsUISelectionTypeSelect); + } + catch (Exception ex) + { + System.Windows.Forms.MessageBox.Show(ex.ToString()); + } + } + + protected void ExpandSolutionExplorerNode(string nodePath) + { + EnvDTE.UIHierarchyItem item; + + try + { + var explorer = DTE.ToolWindows.SolutionExplorer; + + item = explorer.GetItem(nodePath); + item.Select(vsUISelectionType.vsUISelectionTypeSelect); + + if (!item.UIHierarchyItems.Expanded) + { + explorer.DoDefaultAction(); + } + } + catch (Exception ex) + { + System.Windows.Forms.MessageBox.Show(ex.ToString()); + } + } + #endregion #region Notifications diff --git a/Software/Visual_Studio/VSIX/Tango.BuildExtensions/app.config b/Software/Visual_Studio/VSIX/Tango.BuildExtensions/app.config index cacd4cd77..49b6f5ebe 100644 --- a/Software/Visual_Studio/VSIX/Tango.BuildExtensions/app.config +++ b/Software/Visual_Studio/VSIX/Tango.BuildExtensions/app.config @@ -6,6 +6,10 @@ <assemblyIdentity name="System.Reactive.Core" publicKeyToken="94bc3704cddfc263" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-3.0.3000.0" newVersion="3.0.3000.0" /> </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> + </dependentAssembly> </assemblyBinding> </runtime> </configuration>
\ No newline at end of file diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Tango.MachineService.csproj b/Software/Visual_Studio/Web/Tango.MachineService/Tango.MachineService.csproj index 63c8521da..048e051c5 100644 --- a/Software/Visual_Studio/Web/Tango.MachineService/Tango.MachineService.csproj +++ b/Software/Visual_Studio/Web/Tango.MachineService/Tango.MachineService.csproj @@ -48,10 +48,10 @@ </PropertyGroup> <ItemGroup> <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> </Reference> <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> - <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + <HintPath>..\..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> </Reference> <Reference Include="Google.Protobuf, Version=3.4.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL"> <HintPath>..\..\packages\Google.Protobuf.3.4.1\lib\net45\Google.Protobuf.dll</HintPath> @@ -377,7 +377,7 @@ <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile> </WebProjectProperties> </FlavorProperties> - <UserProperties BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UseGlobalSettings="False" BuildVersion_StartDate="2000/1/1" /> + <UserProperties BuildVersion_StartDate="2000/1/1" BuildVersion_UseGlobalSettings="False" BuildVersion_BuildVersioningStyle="None.None.Increment.TimeStamp" BuildVersion_UpdateAssemblyVersion="True" BuildVersion_AssemblyInfoFilename="Properties\AssemblyInfo.cs" /> </VisualStudio> </ProjectExtensions> <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Web.config b/Software/Visual_Studio/Web/Tango.MachineService/Web.config index 2d700244b..35e442d9d 100644 --- a/Software/Visual_Studio/Web/Tango.MachineService/Web.config +++ b/Software/Visual_Studio/Web/Tango.MachineService/Web.config @@ -5,29 +5,24 @@ --> <configuration> <configSections> - <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> </configSections> <appSettings> <add key="webpages:Version" value="3.0.0.0" /> <add key="webpages:Enabled" value="false" /> <add key="ClientValidationEnabled" value="true" /> <add key="UnobtrusiveJavaScriptEnabled" value="true" /> - <add key="DB_ADDRESS" value="twine.database.windows.net" /> <add key="DB_USER_NAME" value="Roy" /> <add key="DB_PASSWORD" value="Aa123456" /> <add key="DB_CATALOG" value="Tango" /> - <add key="STORAGE_ACCOUNT" value="DefaultEndpointsProtocol=https;AccountName=tangostorage;AccountKey=S4z/D+Yg6mwMis+bs/VpcDLA9yE1iZaYq23shQlRIi2KmM9E7JY8zdZjeAPOPdG3gONHoNDEpsgH6D4cqQ/bsA==;EndpointSuffix=core.windows.net" /> - <add key="TENANT_ID" value="2ebd63a5-bc2f-41dc-9066-4409ed5e5dd4" /> <add key="CLIENT_ID" value="ec612854-7abc-457b-808a-5d0c5ba80c57" /> <add key="APP_SECRET" value="54)019A7wv+#86l*PQcQWYKu%fd4Dv!@G=VhCiDI5rD+H4BTH" /> - <add key="TANGO_VERSIONS_CONTAINER" value="tango-versions" /> <add key="MACHINE_STUDIO_VERSIONS_CONTAINER" value="machine-studio-versions" /> - <add key="DEPLOYMENT_SLOT" value="DEV" /> <add key="ENVIRONMENT_GROUP" value="Tango DEV" /> </appSettings> @@ -160,8 +155,8 @@ <entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> <providers> - <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" /> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers> </entityFramework> <system.data> diff --git a/Software/Visual_Studio/Web/Tango.MachineService/packages.config b/Software/Visual_Studio/Web/Tango.MachineService/packages.config index 080382800..e9f37dbe5 100644 --- a/Software/Visual_Studio/Web/Tango.MachineService/packages.config +++ b/Software/Visual_Studio/Web/Tango.MachineService/packages.config @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <packages> <package id="Antlr" version="3.4.1.9004" targetFramework="net45" /> - <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" /> <package id="Microsoft.ApplicationInsights" version="2.2.0" targetFramework="net45" requireReinstallation="true" /> <package id="Microsoft.ApplicationInsights.Agent.Intercept" version="2.0.6" targetFramework="net45" /> |
