C# Class MyEvents.Data.Initializers.MyEventsContextRandomInitializer

The default initializer for testing . Yoy can learn more about initializers in http://msdn.microsoft.com/en-us/library/gg696323(v=VS.103).aspx
Inheritance: DropCreateDatabaseAlways
Show file Open project: megsoftconsulting/MyEvents

Protected Methods

Method Description
Seed ( context ) : void

Private Methods

Method Description
AddAttendee ( context, EventDefinition eventDefinition ) : void
AddComment ( context, int sessionId, RegisteredUser registeredUser, int minuteToAdd ) : void
AddEvent ( context, int index ) : void
AddMaterial ( context, int sessionId ) : void
AddOrganizer ( context ) : void
AddRegisteredUserToSessions ( context, List registeredUsers, List sessionIds ) : void
AddSession ( context, int eventDefinitionId, int startingHour ) : void
GetCity ( ) : List
GetComment ( ) : string
GetDefaultImage ( ) : byte[]
GetDefaultMap ( ) : byte[]
GetEventDescription ( ) : string
GetEventMap ( ) : string
GetEventName ( int valueIndex ) : string
GetEventTags ( ) : string
GetFacebookId ( ) : string
GetFacebookUsername ( ) : string
GetLogoName ( ) : string
GetName ( ) : string
GetNumber ( int min, int max = 300 ) : int
GetOrganizerName ( ) : string
GetRated ( ) : bool
GetSessionName ( ) : string
InitializeAttendees ( context, List eventDefinitionIds ) : void
InitializeComments ( context, List sessionIds, List registeredUsers, int count ) : void
InitializeEvents ( context, int count ) : void
InitializeMaterials ( context, List sessionIds ) : void
InitializeOrganizers ( context, int count ) : void
InitializeRoomPoint ( context, EventDefinition eventDefinition ) : void
InitializeSessions ( context, List eventDefinitionIds ) : void

Method Details

Seed() protected method

protected Seed ( context ) : void
return void