C# Класс Elmah.PgsqlErrorLog

An ErrorLog implementation that uses PostgreSQL as its backing store.
Наследование: Elmah.ErrorLog
Показать файл Открыть проект

Открытые методы

Метод Описание
GetError ( string id ) : ErrorLogEntry
GetErrors ( int pageIndex, int pageSize, ICollection errorEntryList ) : int
Log ( Error error ) : string
PgsqlErrorLog ( IDictionary config ) : System

Initializes a new instance of the PgsqlErrorLog class using a dictionary of configured settings.

PgsqlErrorLog ( string connectionString ) : System

Initializes a new instance of the PgsqlErrorLog class to use a specific connection string for connecting to the database.

Описание методов

GetError() публичный Метод

public GetError ( string id ) : ErrorLogEntry
id string
Результат ErrorLogEntry

GetErrors() публичный Метод

public GetErrors ( int pageIndex, int pageSize, ICollection errorEntryList ) : int
pageIndex int
pageSize int
errorEntryList ICollection
Результат int

Log() публичный Метод

public Log ( Error error ) : string
error Error
Результат string

PgsqlErrorLog() публичный Метод

Initializes a new instance of the PgsqlErrorLog class using a dictionary of configured settings.
public PgsqlErrorLog ( IDictionary config ) : System
config IDictionary
Результат System

PgsqlErrorLog() публичный Метод

Initializes a new instance of the PgsqlErrorLog class to use a specific connection string for connecting to the database.
public PgsqlErrorLog ( string connectionString ) : System
connectionString string
Результат System