Checking in latest SDALEO changes optimizing Advantage really only.
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user