Adds a Campaign, persisting it in the database.

Namespace:  EPiServer.Community.StarViral.Data
Assembly:  EPiServer.Community.StarViral (in EPiServer.Community.StarViral.dll) Version: 4.0.517.255

Syntax

C#
protected internal virtual Campaign AddCampaign(
	Campaign campaign
)

Parameters

campaign
Type: EPiServer.Community.StarViral..::.Campaign
The Campaign to add to the database

Return Value

The newly added Campaign with its unique identifier set

See Also