C# 클래스 Roadkill.Core.Mvc.ViewModels.RelViewModel

Provides a data summary class for creating and saving relationship details.
파일 보기 프로젝트 열기: LocalGovDigital/pipeline 1 사용 예제들

공개 메소드들

메소드 설명
GetOrg ( int orgID ) : string

Returns the organisation name

GetRelType ( int relTypeID ) : string

Returns the organisation name

GetUser ( string username ) : string

Returns the user name

RelViewModel ( ) : System

Constructor used by none-controllers

RelViewModel ( Relationship rel ) : System

Takes all properties on Rel and fills them on in the RelViewModel

비공개 메소드들

메소드 설명
GetAppSettings ( ) : Roadkill.Core.Configuration.ApplicationSettings

메소드 상세

GetOrg() 공개 메소드

Returns the organisation name
public GetOrg ( int orgID ) : string
orgID int
리턴 string

GetRelType() 공개 메소드

Returns the organisation name
public GetRelType ( int relTypeID ) : string
relTypeID int
리턴 string

GetUser() 공개 메소드

Returns the user name
public GetUser ( string username ) : string
username string
리턴 string

RelViewModel() 공개 메소드

Constructor used by none-controllers
public RelViewModel ( ) : System
리턴 System

RelViewModel() 공개 메소드

Takes all properties on Rel and fills them on in the RelViewModel
public RelViewModel ( Relationship rel ) : System
rel Roadkill.Core.Database.Relationship
리턴 System