UniObjects for .NET
This .NET Framework Class Library is provided by Rocket U2.
Coding
Add a reference to the assembly and include the IBMU2.UODOTNET namespace. Instantiate a new UniObjects.OpenSession connection object. Set the connection string and open the connection.
VB.NET code sample
C# code sample
VB.NET code sample
Imports IBMU2.UODOTNET
Dim myConnection As UniObjects.OpenSession = New UniObjects.OpenSession()
myConnection.ConnectionString = myConnectionString
myConnection.Open()
' execute queries, etc
myConnection.Close()
Dim myConnection As UniObjects.OpenSession = New UniObjects.OpenSession()
myConnection.ConnectionString = myConnectionString
myConnection.Open()
' execute queries, etc
myConnection.Close()
C# code sample
using IBMU2.UODOTNET;
UniObjects.OpenSession myConnection = new UniObjects.OpenSession();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
// execute queries, etc
myConnection.Close();
UniObjects.OpenSession myConnection = new UniObjects.OpenSession();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
// execute queries, etc
myConnection.Close();
Download
.NET Framework Class Library (UniObjects for .NET) can be downloaded here.
Connection Strings
Additional info or comments on this class library? Want to submit content?