Delete items from the repository based on a sql Condition
Namespace: DotNetNuke.DataAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
void Delete( string sqlCondition, params Object[] args ) |
Visual Basic |
---|
Sub Delete ( sqlCondition As String, ParamArray args As Object() ) |
Parameters
- sqlCondition
- Type: System..::..String
The sql condition e.g. "WHERE ArticleId = {0}"
- args
- Type: array<System..::..Object>[]()[][]
A collection of arguments to be mapped to the tokens in the sqlCondition