Interface IDeleteDataSyntax
Specify the condition of the data to delete
Namespace: FluentMigrator.Builders.Delete
Assembly: FluentMigrator.Abstractions.dll
Syntax
public interface IDeleteDataSyntax
Methods
| Edit this page View SourceAllRows()
Specify that all rows should be deleted
Declaration
void AllRows()
IsNull(string)
Specify that all rows having a null
value in the given column should be deleted
Declaration
void IsNull(string columnName)
Parameters
Type | Name | Description |
---|---|---|
string | columnName | The column name |
Row(object)
Define the condition of a row/multiple rows to delete
Declaration
IDeleteDataSyntax Row(object dataAsAnonymousType)
Parameters
Type | Name | Description |
---|---|---|
object | dataAsAnonymousType | An anonymous type whose member names will be trated as column names and their values as values for the condition |
Returns
Type | Description |
---|---|
IDeleteDataSyntax | The next step |