C# Class Elmah.PgsqlErrorLog.Commands

Show file Open project: elmah/Elmah

Public Methods

Method Description
GetErrorXml ( string appName, System.Guid id ) : NpgsqlCommand
GetErrorsXml ( string appName, int pageIndex, int pageSize ) : NpgsqlCommand
GetErrorsXmlTotal ( string appName ) : NpgsqlCommand
LogError ( System.Guid id, string appName, string hostName, string typeName, string source, string message, string user, int statusCode, System.DateTime time, string xml ) : NpgsqlCommand

Method Details

GetErrorXml() public static method

public static GetErrorXml ( string appName, System.Guid id ) : NpgsqlCommand
appName string
id System.Guid
return Npgsql.NpgsqlCommand

GetErrorsXml() public static method

public static GetErrorsXml ( string appName, int pageIndex, int pageSize ) : NpgsqlCommand
appName string
pageIndex int
pageSize int
return Npgsql.NpgsqlCommand

GetErrorsXmlTotal() public static method

public static GetErrorsXmlTotal ( string appName ) : NpgsqlCommand
appName string
return Npgsql.NpgsqlCommand

LogError() public static method

public static LogError ( System.Guid id, string appName, string hostName, string typeName, string source, string message, string user, int statusCode, System.DateTime time, string xml ) : NpgsqlCommand
id System.Guid
appName string
hostName string
typeName string
source string
message string
user string
statusCode int
time System.DateTime
xml string
return Npgsql.NpgsqlCommand