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

@@ -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");
}
}
}
}