ForumPostInfoProviderSelectForumPosts Method (String, String, Int32, String) |
Returns the DataSet of forum posts joined with user, user settings and other tables.
Namespace: CMS.ForumsAssembly: CMS.Forums (in CMS.Forums.dll) Version: 12.0.0
Syntax public static InfoDataSet<ForumPostInfo> SelectForumPosts(
string whereCondition,
string orderBy,
int topN,
string columns
)
Parameters
- whereCondition
- Type: SystemString
Where condition - orderBy
- Type: SystemString
Order specification - topN
- Type: SystemInt32
Select TOP N posts - columns
- Type: SystemString
List of columns which should be selected
Return Value
Type:
InfoDataSetForumPostInfoSee Also