C# 클래스 ITimeU.Models.AthleteClassModel

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

Private Properties

프로퍼티 타입 설명
GetOrCreateDbEntity int
SaveToDb int
createDbEntry AthleteClass
getDbEntry AthleteClass
saveDbEntry void
updateDbEntity void
updateProperties void

공개 메소드들

메소드 설명
AthleteClassModel ( ) : System
AthleteClassModel ( AthleteClass athleteClass ) : System
AthleteClassModel ( int id ) : System
AthleteClassModel ( string name ) : System
Delete ( ) : void
DeleteIfExists ( string name ) : void
Equals ( object obj ) : bool
GetAll ( ) : List

Retrieves all athlete classes in the database.

GetById ( int id ) : AthleteClassModel
GetHashCode ( ) : int
GetOrCreate ( string name ) : AthleteClassModel
ToString ( ) : string
Update ( ) : void

비공개 메소드들

메소드 설명
GetOrCreateDbEntity ( Entities context ) : int
SaveToDb ( ) : int
createDbEntry ( string name ) : AthleteClass
getDbEntry ( string name ) : AthleteClass
saveDbEntry ( AthleteClass athleteClassDb ) : void
updateDbEntity ( Entities context ) : void
updateProperties ( AthleteClass athleteClass ) : void

메소드 상세

AthleteClassModel() 공개 메소드

public AthleteClassModel ( ) : System
리턴 System

AthleteClassModel() 공개 메소드

public AthleteClassModel ( AthleteClass athleteClass ) : System
athleteClass AthleteClass
리턴 System

AthleteClassModel() 공개 메소드

public AthleteClassModel ( int id ) : System
id int
리턴 System

AthleteClassModel() 공개 메소드

public AthleteClassModel ( string name ) : System
name string
리턴 System

Delete() 공개 메소드

public Delete ( ) : void
리턴 void

DeleteIfExists() 공개 정적인 메소드

public static DeleteIfExists ( string name ) : void
name string
리턴 void

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetAll() 공개 정적인 메소드

Retrieves all athlete classes in the database.
public static GetAll ( ) : List
리턴 List

GetById() 공개 정적인 메소드

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

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

GetOrCreate() 공개 정적인 메소드

public static GetOrCreate ( string name ) : AthleteClassModel
name string
리턴 AthleteClassModel

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

Update() 공개 메소드

public Update ( ) : void
리턴 void