MagicCMS Documentation

MagicPost..::..Insert Method

Inserts a new created MagicPost instance in MagicCMS database.

Namespace:  MagicCMS.Core
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public int Insert()

Return Value

Unique identifier of inserted post (Pk)

Remarks


Errors are handled by code and stored in MagicLog table.