Method GetConnection
GetConnection(IDBConnectionScope, guid, string)
Gibt eine Datenbankverbindung aus dem angegebenen IDBConnectionScope anhand der übergebenen groupId
und groupName
zurück.
public static FrameworkDataConnection GetConnection(this IDBConnectionScope scope, guid groupId, string groupName)
Parameters
scope
IDBConnectionScopegroupId
guidDie eindeutige ID der Datenquelle.
groupName
stringDer Name der Verbindungsgruppe.
Returns
- FrameworkDataConnection
Remarks
Die Connection darf nicht Disposed werden!