C# 클래스 sep24migrations.ViewModels.Repo_Subject

상속: RepositoryBase
파일 보기 프로젝트 열기: peteratseneca/dps907fall2013

공개 메소드들

메소드 설명
AddNew ( SubjectAdd newSubject ) : SubjectFull

Add new

DeleteExisting ( int id ) : void

Delete existing

GetAll ( ) : IEnumerable

Get all

GetById ( int id ) : SubjectFull

Get one by its Id

GetByIdWithProgram ( int id ) : SubjectWithProgram

Get one by its Id, and get some of its Program properties

GetList ( ) : IEnumerable

Get all, for a lookup list

UpdateExisting ( SubjectFull updatedSubject ) : SubjectFull

Update existing

메소드 상세

AddNew() 공개 메소드

Add new
public AddNew ( SubjectAdd newSubject ) : SubjectFull
newSubject SubjectAdd New SubjectAdd object
리턴 SubjectFull

DeleteExisting() 공개 메소드

Delete existing
public DeleteExisting ( int id ) : void
id int Identifier
리턴 void

GetAll() 공개 메소드

Get all
public GetAll ( ) : IEnumerable
리턴 IEnumerable

GetById() 공개 메소드

Get one by its Id
public GetById ( int id ) : SubjectFull
id int Identifier
리턴 SubjectFull

GetByIdWithProgram() 공개 메소드

Get one by its Id, and get some of its Program properties
public GetByIdWithProgram ( int id ) : SubjectWithProgram
id int Identifier
리턴 SubjectWithProgram

GetList() 공개 메소드

Get all, for a lookup list
public GetList ( ) : IEnumerable
리턴 IEnumerable

UpdateExisting() 공개 메소드

Update existing
public UpdateExisting ( SubjectFull updatedSubject ) : SubjectFull
updatedSubject SubjectFull Replacement SubjectFull object
리턴 SubjectFull