C# Класс SIP_Agent.Model.Log

Наследование: Crud, ICrud
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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