C# 클래스 ITimeU.Models.EventModel

파일 보기 프로젝트 열기: heinek/ITimeU 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
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.

메소드 상세

Delete() 공개 메소드

Deletes this event.
public Delete ( ) : void
리턴 void

EventModel() 공개 메소드

public EventModel ( ) : System
리턴 System

EventModel() 공개 메소드

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.
리턴 System

EventNameExists() 공개 정적인 메소드

public static EventNameExists ( string eventName ) : bool
eventName string
리턴 bool

GetById() 공개 정적인 메소드

public static GetById ( int id ) : EventModel
id int
리턴 EventModel

GetEvents() 공개 정적인 메소드

public static GetEvents ( ) : List
리턴 List

Save() 공개 메소드

Saves this event.
public Save ( ) : bool
리턴 bool