Interface IDeleteDataBuilder
Builds a Delete expression.
Namespace: Umbraco.Cms.Infrastructure.Migrations.Expressions.Delete.Data
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IDeleteDataBuilder : IFluentBuilder, IExecutableBuilder
Methods
View SourceAllRows()
Specifies that all rows in the target table will be deleted.
Declaration
IExecutableBuilder AllRows()
Returns
| Type | Description |
|---|---|
| IExecutableBuilder | An IExecutableBuilder to execute the delete operation. |
IsNull(string)
Specifies that rows with a specified column being null must be deleted.
Declaration
IExecutableBuilder IsNull(string columnName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | columnName |
Returns
| Type | Description |
|---|---|
| IExecutableBuilder |
Row(object)
Specifies a row to be deleted.
Declaration
IDeleteDataBuilder Row(object dataAsAnonymousType)
Parameters
| Type | Name | Description |
|---|---|---|
| object | dataAsAnonymousType |
Returns
| Type | Description |
|---|---|
| IDeleteDataBuilder |