The StarViralFactory type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| StarViralFactory | Initializes a new instance of the StarViralFactory class |
Methods
| Name | Description | |
|---|---|---|
| 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 | (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.
| |
| GetReferral | Overloaded. | |
| 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 | (Inherited from Object.) | |
| UpdateCampaign |
Updates a Campaign, persisting the changes in the database
| |
| UpdateReferral |
Updates a Referral, persisting the changes in the database.
|
Properties
| Name | Description | |
|---|---|---|
| Instance |