Click or drag to resize

EAPUtilGetLogDB Method

Get the database to which to log requests (to the xot_request_log table. The database returned will be based on the following precedence:
  1. The database specified by the PageActivityDatasource application property, if any,
  2. The darabase specified by the db parameter (normally omitted), if any,
  3. The DataDB database.
Note that unless the database is obtained from PageActivityDatasource it cannot have NoPlatformOpSchema set.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static IDatabase GetLogDB(
	IAppContext cxt,
	IDatabase db = null
)

Parameters

cxt
Type: NetQuarryIAppContext
The application context.
db (Optional)
Type: NetQuarryIDatabase
The specified database to which to log, normally omitted.

Return Value

Type: IDatabase
The best log database available per the log database precedence rules, or null if none is available.
See Also