C# Класс Deveel.Data.Sql.Tables.MutableTableExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
Delete ( this table, int columnOffset, Field value ) : bool
Delete ( this table, ITable t ) : int
Delete ( this table, ITable other, int limit ) : int
DeleteRows ( this table, IEnumerable rows ) : void
NewRow ( this table ) : Row

Creates a new row that is compatible with the table context, ready to be populated and added.

When this method is called, a new RowId is generated and persisted: when a subsequent call to this method will be issued, another new row identifier will be generated, even if the row was not persisted into the table.

RemoveRow ( this table, int rowIndex ) : bool
Update ( this mutableTable, IRequest context, ITable table, IEnumerable assignList, int limit ) : int

Описание методов

Delete() публичный статический Метод

public static Delete ( this table, int columnOffset, Field value ) : bool
table this
columnOffset int
value Field
Результат bool

Delete() публичный статический Метод

public static Delete ( this table, ITable t ) : int
table this
t ITable
Результат int

Delete() публичный статический Метод

public static Delete ( this table, ITable other, int limit ) : int
table this
other ITable
limit int
Результат int

DeleteRows() публичный статический Метод

public static DeleteRows ( this table, IEnumerable rows ) : void
table this
rows IEnumerable
Результат void

NewRow() публичный статический Метод

Creates a new row that is compatible with the table context, ready to be populated and added.

When this method is called, a new RowId is generated and persisted: when a subsequent call to this method will be issued, another new row identifier will be generated, even if the row was not persisted into the table.

public static NewRow ( this table ) : Row
table this
Результат Row

RemoveRow() публичный статический Метод

public static RemoveRow ( this table, int rowIndex ) : bool
table this
rowIndex int
Результат bool

Update() публичный статический Метод

public static Update ( this mutableTable, IRequest context, ITable table, IEnumerable assignList, int limit ) : int
mutableTable this
context IRequest
table ITable
assignList IEnumerable
limit int
Результат int