The StarViralFactory type exposes the following members.

Constructors

  NameDescription
StarViralFactory
Initializes a new instance of the StarViralFactory class

Methods

  NameDescription
AddCampaign
Adds a Campaign, persisting it in the database.
AddReferral
Adds a Referral, persisting it in the database.
ConstructCampaign
Constructs a Campaign instance from a DbDataReader
ConstructReferral
Construct a Referral instance from a DbDataReader
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetCampaign
Gets a Campaign by its id from the database.
GetCampaigns
Gets campaigns listed under a list of categories or listed globally.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetNumberOfReferrals
Gets the number of referrals made by a certain user.
GetReferralOverloaded.
GetReferrals
Gets referrals of a specific referrer or campaign from the database.
GetReferrers
Gets the users who have added referrals between two dates.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
RemoveCampaign
Removes a Campaign from the database
RemoveReferral
Removes a Referral from the database.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
UpdateCampaign
Updates a Campaign, persisting the changes in the database
UpdateReferral
Updates a Referral, persisting the changes in the database.

Properties

  NameDescription
Instance

See Also