-
LLBLGen uses ADO.Net under the hood. Each adapter can only be connected to one server. However, multiple adapters can participate in a COM+ Enterprise transaction using a ComPlusAdapterContext. (see manual)
-
The connection string can be specified in runtime in the constructor of an adapter object.
Dim ConnectionString as string = "Server=(local);Database=Northwind;Trusted_Connection=true"
Dim adapter As SD.LLBLGen.Pro.ORMSupportClasses.IDataAccessAdapter = New DatabaseSpecific.DataAccessAdapter(ConnectionString)