Delete category and all subcategories.

Namespace: MonoSoftware.MonoX.Repositories
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public virtual bool DeleteCategory(
	NewsCategoryEntity category
)
Visual Basic
Public Overridable Function DeleteCategory ( 
	category As NewsCategoryEntity
) As Boolean
Visual C++
public:
virtual bool DeleteCategory(
	NewsCategoryEntity^ category
)
F#
abstract DeleteCategory : 
        category : NewsCategoryEntity -> bool 
override DeleteCategory : 
        category : NewsCategoryEntity -> bool 

Parameters

category
Type: NewsCategoryEntity
Category to delete

Return Value

Type: Boolean
True if deleted, False if not

Implements

INewsRepository..::..DeleteCategory(NewsCategoryEntity)

See Also