Table of Contents

Method GetConnection

Namespace
FS.Hosting.Shared
Assembly
FS.Hosting.Shared.dll

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 IDBConnectionScope
groupId guid

Die eindeutige ID der Datenquelle.

groupName string

Der Name der Verbindungsgruppe.

Returns

FrameworkDataConnection

Remarks

Die Connection darf nicht Disposed werden!