IContentApi.Insert method
新增内容。
public int Insert(int siteId, int channelId, IContentInfo contentInfo)
parameter | description |
---|---|
siteId | 站点Id。 |
channelId | 栏目Id。 |
contentInfo | 需要新增的内容实例。 |
Return Value
返回内容实例在数据库中插入后的自增长Id。
See Also
- interface IContentInfo
- interface IContentApi
- namespace SiteServer.Plugin