C# Class ITimeU.Models.EventModel

Afficher le fichier Open project: heinek/ITimeU Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Delete ( ) : void

Deletes this event.

EventModel ( ) : System
EventModel ( string name, System.DateTime date ) : System

Initializes a new instance of the EventModel class.

EventNameExists ( string eventName ) : bool
GetById ( int id ) : EventModel
GetEvents ( ) : List
Save ( ) : bool

Saves this event.

Method Details

Delete() public méthode

Deletes this event.
public Delete ( ) : void
Résultat void

EventModel() public méthode

public EventModel ( ) : System
Résultat System

EventModel() public méthode

Initializes a new instance of the EventModel class.
public EventModel ( string name, System.DateTime date ) : System
name string The name.
date System.DateTime The date.
Résultat System

EventNameExists() public static méthode

public static EventNameExists ( string eventName ) : bool
eventName string
Résultat bool

GetById() public static méthode

public static GetById ( int id ) : EventModel
id int
Résultat EventModel

GetEvents() public static méthode

public static GetEvents ( ) : List
Résultat List

Save() public méthode

Saves this event.
public Save ( ) : bool
Résultat bool