C# Class FS.Log.Default.SqlErrorLog

Inheritance: FS.Log.Default.Entity.CommonLog
Mostra file Open project: FarseerNet/Farseer.Net

Private Properties

Property Type Description
SendEmail void

Public Methods

Method Description
SqlErrorLog ( Exception exp, string name, CommandType cmdType, string sql, List param ) : System

SQL异常记录写入

Write ( ) : void

Private Methods

Method Description
SendEmail ( ) : void

发送邮件

Method Details

SqlErrorLog() public method

SQL异常记录写入
public SqlErrorLog ( Exception exp, string name, CommandType cmdType, string sql, List param ) : System
exp System.Exception 异常信息
name string 表名称
cmdType CommandType 执行方式
sql string T-SQL
param List SQL参数
return System

Write() public method

public Write ( ) : void
return void