C# Class Deveel.Data.Sql.Tables.MutableTableExtensions

Mostrar archivo Open project: deveel/deveeldb

Public Methods

Method Description
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

Method Details

Delete() public static method

public static Delete ( this table, int columnOffset, Field value ) : bool
table this
columnOffset int
value Field
return bool

Delete() public static method

public static Delete ( this table, ITable t ) : int
table this
t ITable
return int

Delete() public static method

public static Delete ( this table, ITable other, int limit ) : int
table this
other ITable
limit int
return int

DeleteRows() public static method

public static DeleteRows ( this table, IEnumerable rows ) : void
table this
rows IEnumerable
return void

NewRow() public static method

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
return Row

RemoveRow() public static method

public static RemoveRow ( this table, int rowIndex ) : bool
table this
rowIndex int
return bool

Update() public static method

public static Update ( this mutableTable, IRequest context, ITable table, IEnumerable assignList, int limit ) : int
mutableTable this
context IRequest
table ITable
assignList IEnumerable
limit int
return int