MagicPostCollection Constructor (WhereClauseCollection, String, Int32, Boolean)
Initializes a new instance of the MagicPostCollection class populating it with the result of a query applied to the database table.
Namespace:
MagicCMS.CoreAssembly: MagicCMS.4.5 (in MagicCMS.4.5.dll)
Syntax
public MagicPostCollection( WhereClauseCollection query, string order, int maxNum, bool allowUnsafe )
Parameters
- query
- Type: MagicCMS.Core..::..WhereClauseCollection
The query (WhereClauseCollection).
- order
- Type: String
The order.
- maxNum
- Type: Int32
Maximum number of posts returned.
- allowUnsafe
- Type: Boolean
Allow unsafe query.