FireAndForgetCountHelperGetFAFHostDB Method |
Gets the fire-and-forget (FAF) host database query prefix.
Normally the FAF mechanism uses the same database as the operational element (e.g. mapper) uses.
However, if that database does not include the platform operational schema, then an alternative
database having the platform operational schema must be used to store the FAF results.
If the provided database includes the platform operational schema then a null prefix is returned,
otherwise a SQL-Server "up-and-over" database query prefix (e.g. "the_db..") to the application's primary data DB.
Remarks
Use the FAFCountRequirePlatformSchema property of the Datasource feature to control
whether or not an alternative FBF database can be used.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string GetFAFHostDB(
IAppContext cxt,
IDatabase db
)
Public Shared Function GetFAFHostDB (
cxt As IAppContext,
db As IDatabase
) As String
Parameters
- cxt
- Type: NetQuarryIAppContext
The application context. - db
- Type: NetQuarryIDatabase
The database used by the operational element.
Return Value
Type:
StringThe FAF query database prefix (null, or an up-and-over reference).
See Also