C# Class CapRaffle.PopulateDatabase.Winner

Inheritance: System.Data.Objects.DataClasses.EntityObject
Mostra file Open project: capgemini-stavanger/CapRaffle Class Usage Examples

Private Properties

Property Type Description
OnCatogoryIdChanged void
OnCatogoryIdChanging void
OnDateChanged void
OnDateChanging void
OnEventIdChanged void
OnEventIdChanging void
OnNumberOfSpotsWonChanged void
OnNumberOfSpotsWonChanging void
OnUserEmailChanged void
OnUserEmailChanging void

Public Methods

Method Description
CreateWinner ( global eventId, global userEmail, global numberOfSpotsWon, global catogoryId ) : Winner

Create a new Winner object.

Private Methods

Method Description
OnCatogoryIdChanged ( ) : void
OnCatogoryIdChanging ( global value ) : void
OnDateChanged ( ) : void
OnDateChanging ( Nullable value ) : void
OnEventIdChanged ( ) : void
OnEventIdChanging ( global value ) : void
OnNumberOfSpotsWonChanged ( ) : void
OnNumberOfSpotsWonChanging ( global value ) : void
OnUserEmailChanged ( ) : void
OnUserEmailChanging ( global value ) : void

Method Details

CreateWinner() public static method

Create a new Winner object.
public static CreateWinner ( global eventId, global userEmail, global numberOfSpotsWon, global catogoryId ) : Winner
eventId global Initial value of the EventId property.
userEmail global Initial value of the UserEmail property.
numberOfSpotsWon global Initial value of the NumberOfSpotsWon property.
catogoryId global Initial value of the CatogoryId property.
return Winner