C# Класс Rock.Model.ContentChannelService

Data access/service class for Rock.Model.ContentChannel objects.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Delete ( ContentChannel item ) : bool

Deletes the specified item.

GetAllAssociatedDescendents ( System.Guid parentContentChannelGuid ) : IEnumerable

Returns an enumerable collection of ContentChannel that are descendants of a specified content channel type. WARNING: This will fail if their is a circular reference in the ContentChannelAssociation table.

GetAllAssociatedDescendents ( int parentContentChannelId ) : IEnumerable

Returns an enumerable collection of ContentChannel that are descendants of a specified content channel type. WARNING: This will fail (max recursion) if there is a circular reference in the ContentChannelAssociation table.

GetAllAssociatedDescendentsPath ( int parentContentChannelId ) : IEnumerable

Returns an enumerable collection of ContentChannelPath objects that are associated descendants of a specified content channel type. WARNING: This will fail if there is a circular reference in the ContentChannelAssociation table.

GetChildContentChannels ( System.Guid contentChannelGuid ) : IQueryable

Gets the child content channel types.

GetChildContentChannels ( int contentChannelId ) : IQueryable

Gets the child content channel types.

GetParentContentChannels ( int contentChannelId ) : IQueryable

Gets the parent content channel types.

Описание методов

Delete() публичный метод

Deletes the specified item.
public Delete ( ContentChannel item ) : bool
item ContentChannel The item.
Результат bool

GetAllAssociatedDescendents() публичный метод

Returns an enumerable collection of ContentChannel that are descendants of a specified content channel type. WARNING: This will fail if their is a circular reference in the ContentChannelAssociation table.
public GetAllAssociatedDescendents ( System.Guid parentContentChannelGuid ) : IEnumerable
parentContentChannelGuid System.Guid The parent content channel type unique identifier.
Результат IEnumerable

GetAllAssociatedDescendents() публичный метод

Returns an enumerable collection of ContentChannel that are descendants of a specified content channel type. WARNING: This will fail (max recursion) if there is a circular reference in the ContentChannelAssociation table.
public GetAllAssociatedDescendents ( int parentContentChannelId ) : IEnumerable
parentContentChannelId int The parent content channel type identifier.
Результат IEnumerable

GetAllAssociatedDescendentsPath() публичный метод

Returns an enumerable collection of ContentChannelPath objects that are associated descendants of a specified content channel type. WARNING: This will fail if there is a circular reference in the ContentChannelAssociation table.
public GetAllAssociatedDescendentsPath ( int parentContentChannelId ) : IEnumerable
parentContentChannelId int The parent content channel type identifier.
Результат IEnumerable

GetChildContentChannels() публичный метод

Gets the child content channel types.
public GetChildContentChannels ( System.Guid contentChannelGuid ) : IQueryable
contentChannelGuid System.Guid The content channel type unique identifier.
Результат IQueryable

GetChildContentChannels() публичный метод

Gets the child content channel types.
public GetChildContentChannels ( int contentChannelId ) : IQueryable
contentChannelId int The content channel type identifier.
Результат IQueryable

GetParentContentChannels() публичный метод

Gets the parent content channel types.
public GetParentContentChannels ( int contentChannelId ) : IQueryable
contentChannelId int The content channel type identifier.
Результат IQueryable