C# 클래스 ITimeU.Models.RuntimeModel

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

공개 메소드들

메소드 설명
Create ( int runtime, int checkpointId ) : RuntimeModel

Creates a runtime in the database.

DeleteRuntime ( int runtimeid ) : void

Deletes the runtime.

EditRuntime ( int runtimeid, int newRuntime ) : void
EditRuntime ( int runtimeid, int h, int m, int s, int ms ) : void
GetRuntimes ( int checkpointId ) : int>.Dictionary

Gets the runtimes.

RuntimeModel ( ) : System
Update ( ) : void
getById ( int runtimeId ) : RuntimeModel

Gets a runtime with the given id from the database.

비공개 메소드들

메소드 설명
CreateDbEntity ( int runtime, int checkpointId ) : Runtime
RuntimeModel ( int _id, int _runtime, int _checkpointId ) : System
SaveToDb ( Runtime runtimeDb ) : void

메소드 상세

Create() 공개 정적인 메소드

Creates a runtime in the database.
public static Create ( int runtime, int checkpointId ) : RuntimeModel
runtime int The runtime in milliseconds.
checkpointId int
리턴 RuntimeModel

DeleteRuntime() 공개 정적인 메소드

Deletes the runtime.
public static DeleteRuntime ( int runtimeid ) : void
runtimeid int The runtimeid.
리턴 void

EditRuntime() 공개 정적인 메소드

public static EditRuntime ( int runtimeid, int newRuntime ) : void
runtimeid int
newRuntime int
리턴 void

EditRuntime() 공개 정적인 메소드

public static EditRuntime ( int runtimeid, int h, int m, int s, int ms ) : void
runtimeid int
h int
m int
s int
ms int
리턴 void

GetRuntimes() 공개 정적인 메소드

Gets the runtimes.
public static GetRuntimes ( int checkpointId ) : int>.Dictionary
checkpointId int The checkpoint id.
리턴 int>.Dictionary

RuntimeModel() 공개 메소드

public RuntimeModel ( ) : System
리턴 System

Update() 공개 메소드

public Update ( ) : void
리턴 void

getById() 공개 정적인 메소드

Gets a runtime with the given id from the database.
public static getById ( int runtimeId ) : RuntimeModel
runtimeId int
리턴 RuntimeModel