Retrieves all new portal albums, or albums with latest activity dates.

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

Syntax

C#
public virtual EntityCollection<SnAlbumEntity> GetNewAlbums(
	Nullable<Guid> languageId,
	List<Guid> privacyLevels,
	AlbumSortCriteria sortBy,
	bool onlyWithCover,
	int pageIndex,
	int pageSize,
	out int recordCount
)
Visual Basic
Public Overridable Function GetNewAlbums ( 
	languageId As Nullable(Of Guid),
	privacyLevels As List(Of Guid),
	sortBy As AlbumSortCriteria,
	onlyWithCover As Boolean,
	pageIndex As Integer,
	pageSize As Integer,
	<OutAttribute> ByRef recordCount As Integer
) As EntityCollection(Of SnAlbumEntity)
Visual C++
public:
virtual EntityCollection<SnAlbumEntity^>^ GetNewAlbums(
	Nullable<Guid> languageId, 
	List<Guid>^ privacyLevels, 
	AlbumSortCriteria sortBy, 
	bool onlyWithCover, 
	int pageIndex, 
	int pageSize, 
	[OutAttribute] int% recordCount
)
F#
abstract GetNewAlbums : 
        languageId : Nullable<Guid> * 
        privacyLevels : List<Guid> * 
        sortBy : AlbumSortCriteria * 
        onlyWithCover : bool * 
        pageIndex : int * 
        pageSize : int * 
        recordCount : int byref -> EntityCollection<SnAlbumEntity> 
override GetNewAlbums : 
        languageId : Nullable<Guid> * 
        privacyLevels : List<Guid> * 
        sortBy : AlbumSortCriteria * 
        onlyWithCover : bool * 
        pageIndex : int * 
        pageSize : int * 
        recordCount : int byref -> EntityCollection<SnAlbumEntity> 

Parameters

languageId
Type: System..::..Nullable<(Of <(<'Guid>)>)>
Language Id.
privacyLevels
Type: System.Collections.Generic..::..List<(Of <(<'Guid>)>)>
Privacy Levels
sortBy
Type: MonoSoftware.MonoX.Repositories..::..AlbumSortCriteria
Sort criteria - sort by creation date, last activity date, or apply random search.
onlyWithCover
Type: System..::..Boolean
Indicates if only albums with cover are shown.
pageIndex
Type: System..::..Int32
Page index.
pageSize
Type: System..::..Int32
Page size.
recordCount
Type: System..::..Int32%
Number of records.

Return Value

Type: EntityCollection<(Of <(<'SnAlbumEntity>)>)>
Collection all of new albums sorted by appropriate date.

Implements

IAlbumBLL..::..GetNewAlbums(Nullable<(Of <<'(Guid>)>>), List<(Of <<'(Guid>)>>), AlbumSortCriteria, Boolean, Int32, Int32, Int32%)

See Also