C# 클래스 SIP_Agent.Model.Log

상속: Crud, ICrud
파일 보기 프로젝트 열기: anroots/SIP-Agent

공개 프로퍼티들

프로퍼티 타입 설명
Person Person

Private Properties

프로퍼티 타입 설명
Log System

공개 메소드들

메소드 설명
FindAll ( int Limit ) : IQueryable

Find all non-deleted rows

Load ( int LogId ) : bool

Load the model with the specified ID

New ( ) : int

Creates a new row in the database

Write ( string text, string>.Dictionary replacements ) : int

Wrapper for Write, also includes translation replacements

Write ( string text, bool translate = true ) : int

Write a new log message to the database

비공개 메소드들

메소드 설명
Log ( ) : System

Don't allow constructing multiple instances from outside the class - use the Instance property instead

메소드 상세

FindAll() 공개 메소드

Find all non-deleted rows
public FindAll ( int Limit ) : IQueryable
Limit int Max number of rows to return
리턴 IQueryable

Load() 공개 메소드

Load the model with the specified ID
public Load ( int LogId ) : bool
LogId int The ID of the row in the database
리턴 bool

New() 공개 메소드

Creates a new row in the database
public New ( ) : int
리턴 int

Write() 공개 정적인 메소드

Wrapper for Write, also includes translation replacements
public static Write ( string text, string>.Dictionary replacements ) : int
text string Log text
replacements string>.Dictionary Placeholders for translation replacement
리턴 int

Write() 공개 정적인 메소드

Write a new log message to the database
public static Write ( string text, bool translate = true ) : int
text string The text of the log message
translate bool
리턴 int

프로퍼티 상세

Person 공개적으로 프로퍼티

The person who created the log
public Person,SIP_Agent.Model Person
리턴 Person