Checking in latest SDALEO changes optimizing Advantage really only.

This commit is contained in:
2016-07-25 14:48:03 -04:00
parent 122796eaa3
commit 4a683f3443
114 changed files with 1173 additions and 372 deletions

View File

@@ -9,28 +9,37 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>_app</RootNamespace>
<AssemblyName>!app</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<PlatformTarget>x86</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<PlatformTarget>x86</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<PlatformTarget>x86</PlatformTarget>
<OutputPath>bin\x86\Debug\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<PlatformTarget>x86</PlatformTarget>
<OutputPath>bin\x86\Release\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
@@ -43,6 +52,15 @@
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Sdaleo.csproj">
<Project>{c919d6d0-e0ae-4d7a-b13d-350fcb4a22ff}</Project>
<Name>Sdaleo</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

View File

@@ -10,17 +10,26 @@ EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{38FF1664-EDE6-4E9F-BD32-AB1BA99F792D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{38FF1664-EDE6-4E9F-BD32-AB1BA99F792D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{38FF1664-EDE6-4E9F-BD32-AB1BA99F792D}.Debug|x86.ActiveCfg = Debug|x86
{38FF1664-EDE6-4E9F-BD32-AB1BA99F792D}.Debug|x86.Build.0 = Debug|x86
{38FF1664-EDE6-4E9F-BD32-AB1BA99F792D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{38FF1664-EDE6-4E9F-BD32-AB1BA99F792D}.Release|Any CPU.Build.0 = Release|Any CPU
{38FF1664-EDE6-4E9F-BD32-AB1BA99F792D}.Release|x86.ActiveCfg = Release|Any CPU
{38FF1664-EDE6-4E9F-BD32-AB1BA99F792D}.Release|x86.Build.0 = Release|Any CPU
{C919D6D0-E0AE-4D7A-B13D-350FCB4A22FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C919D6D0-E0AE-4D7A-B13D-350FCB4A22FF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C919D6D0-E0AE-4D7A-B13D-350FCB4A22FF}.Debug|x86.ActiveCfg = Debug|Any CPU
{C919D6D0-E0AE-4D7A-B13D-350FCB4A22FF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C919D6D0-E0AE-4D7A-B13D-350FCB4A22FF}.Release|Any CPU.Build.0 = Release|Any CPU
{C919D6D0-E0AE-4D7A-B13D-350FCB4A22FF}.Release|x86.ActiveCfg = Release|Any CPU
{C919D6D0-E0AE-4D7A-B13D-350FCB4A22FF}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

Binary file not shown.

View File

@@ -1,4 +1,6 @@
using System;
using Sdaleo;
using Sdaleo.Systems.Advantage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -7,14 +9,23 @@ namespace _app
{
class Program
{
static void Main(string[] args)
{
//var Running = Yaulw.Win32.COM.GetActiveObjects("");
//var RunningExcelWorkbooks = Yaulw.Win32.COM.GetRunningObjects();
//int n1 = Running.Count();
//int n2 = RunningExcelWorkbooks.Count();
AdvantageCredential cred = new AdvantageCredential(@"\\medisoft_server\medidata\EMBARK RECOVERY LLC\mwddf.add", "user", "password", AdvantageCredential.ServerType.REMOTE_LOCAL);
DB db = DB.Create(cred);
DBRetVal retVal = db.FillDataTable("Select Top 10 FROM MWPAT");
if (!retVal.IsValid)
{
Console.WriteLine(retVal.ErrorMsg);
return;
}
else
{
Console.WriteLine("Fetched successfully");
}
}
}
}

3
!app/app.config Normal file
View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
!app/bin/x86/Debug/!app.exe Normal file

Binary file not shown.

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -8,3 +8,10 @@ C:\Users\DieSonne99\Desktop\Yaulw\!app\obj\Debug\!app.exe
C:\Users\DieSonne99\Desktop\Yaulw\!app\obj\Debug\!app.pdb
C:\Users\DieSonne99\Desktop\Sdaleo\!app\obj\Debug\!app.exe
C:\Users\DieSonne99\Desktop\Sdaleo\!app\obj\Debug\!app.pdb
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\Debug\!app.exe.config
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\Debug\!app.exe
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\Debug\!app.pdb
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\Debug\Sdaleo.dll
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\Debug\Advantage.Data.Provider.dll
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\Debug\Sdaleo.pdb
C:\Users\DieSonne99\Desktop\Sdaleo\!app\obj\Debug\!app.csprojResolveAssemblyReference.cache

Binary file not shown.

Binary file not shown.

View File

@@ -8,3 +8,16 @@ C:\Users\DieSonne99\Desktop\Yaulw\!app\obj\Release\!app.exe
C:\Users\DieSonne99\Desktop\Yaulw\!app\obj\Release\!app.pdb
C:\Users\DieSonne99\Desktop\Sdaleo\!app\obj\Release\!app.exe
C:\Users\DieSonne99\Desktop\Sdaleo\!app\obj\Release\!app.pdb
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\Release\!app.exe.config
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\Release\!app.exe
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\Release\!app.pdb
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\Release\Sdaleo.dll
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\Release\Advantage.Data.Provider.dll
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\Release\Sdaleo.pdb
C:\Users\DieSonne99\Desktop\Sdaleo\!app\obj\Release\!app.csprojResolveAssemblyReference.cache
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\x86\Release\!app.exe.config
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\x86\Release\!app.exe
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\x86\Release\!app.pdb
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\x86\Release\Sdaleo.dll
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\x86\Release\Advantage.Data.Provider.dll
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\x86\Release\Sdaleo.pdb

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,9 @@
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\x86\Debug\!app.exe.config
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\x86\Debug\!app.exe
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\x86\Debug\!app.pdb
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\x86\Debug\Sdaleo.dll
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\x86\Debug\Advantage.Data.Provider.dll
C:\Users\DieSonne99\Desktop\Sdaleo\!app\bin\x86\Debug\Sdaleo.pdb
C:\Users\DieSonne99\Desktop\Sdaleo\!app\obj\x86\Debug\!app.csprojResolveAssemblyReference.cache
C:\Users\DieSonne99\Desktop\Sdaleo\!app\obj\x86\Debug\!app.exe
C:\Users\DieSonne99\Desktop\Sdaleo\!app\obj\x86\Debug\!app.pdb

BIN
!app/obj/x86/Debug/!app.exe Normal file

Binary file not shown.

BIN
!app/obj/x86/Debug/!app.pdb Normal file

Binary file not shown.