Ensures that a blog category exists.

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

Syntax

C#
public virtual BlogCategoryEntity EnsureCategoryExists(
	Guid blogId,
	Guid categoryId,
	string categoryName
)
Visual Basic
Public Overridable Function EnsureCategoryExists ( 
	blogId As Guid,
	categoryId As Guid,
	categoryName As String
) As BlogCategoryEntity
Visual C++
public:
virtual BlogCategoryEntity^ EnsureCategoryExists(
	Guid blogId, 
	Guid categoryId, 
	String^ categoryName
)
F#
abstract EnsureCategoryExists : 
        blogId : Guid * 
        categoryId : Guid * 
        categoryName : string -> BlogCategoryEntity 
override EnsureCategoryExists : 
        blogId : Guid * 
        categoryId : Guid * 
        categoryName : string -> BlogCategoryEntity 

Parameters

blogId
Type: System..::..Guid
Blog Id
categoryId
Type: System..::..Guid
Category Id
categoryName
Type: System..::..String
Category name

Return Value

Type: BlogCategoryEntity
Blog category retrieved by its primary id.

Implements

IBlogBLL..::..EnsureCategoryExists(Guid, Guid, String)

See Also