Свойство | Тип | Описание | |
---|---|---|---|
Person |
Свойство | Тип | Описание | |
---|---|---|---|
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 |
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
|
public FindAll ( int Limit ) : IQueryable | ||
Limit | int | Max number of rows to return |
Результат | IQueryable |
public Load ( int LogId ) : bool | ||
LogId | int | The ID of the row in the database |
Результат | bool |
public static Write ( string text, string>.Dictionary |
||
text | string | Log text |
replacements | string>.Dictionary | Placeholders for translation replacement |
Результат | int |
public static Write ( string text, bool translate = true ) : int | ||
text | string | The text of the log message |
translate | bool | |
Результат | int |