I’m currently using LS:DO objects to pump Notes data into SQLServer. I’m not using the AddRow or SetValue methods; instead, I’m constructing SQL statements and executing them directly. This works fine, but it seems that the LS:DO objects leak memory. Is it possible to use ADO.NET objects in LS to accomplish the same task? I need to push the data from Notes to SQLServer, rather than pull the Notes datafrom a .NET app. Any suggestions, sample code?
Subject: ADO.NET & LotusScript
No, ADO.NET interfaces are not COM compatible and therefore not accessible form LotusScript. You have at least four choices.
-
Write a .NET wrapper class that has COM friendly interfaces that you can call from LotusScript, passing you data.
-
Write a .NET routine to pull data from Notes, probably using a tool such as Proposion N2N (Products A-Z).
-
A combination of 1 + 2. (Write a routine that pulls Notes data, but call it from LotusScript.)
-
Forget .NET and use classic ADO to write to SQL server.