C# 클래스 sep24migrations.ViewModels.Repo_Program

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

공개 메소드들

메소드 설명
AddNew ( ProgramPublic newProgram ) : ProgramFull

Add new

DeleteExisting ( int id ) : void

Delete existing

GetAll ( ) : IEnumerable

Get all

GetAllWithSubjects ( ) : IEnumerable

Get all, with the associated Subject object collections

GetById ( int id ) : ProgramFull

Get one by its Id

GetList ( ) : IEnumerable

Get all, for a lookup list

UpdateExisting ( ProgramBase updatedProgram ) : ProgramFull

Update existing

메소드 상세

AddNew() 공개 메소드

Add new
public AddNew ( ProgramPublic newProgram ) : ProgramFull
newProgram ProgramPublic New ProgramPublic object
리턴 ProgramFull

DeleteExisting() 공개 메소드

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

GetAll() 공개 메소드

Get all
public GetAll ( ) : IEnumerable
리턴 IEnumerable

GetAllWithSubjects() 공개 메소드

Get all, with the associated Subject object collections
public GetAllWithSubjects ( ) : IEnumerable
리턴 IEnumerable

GetById() 공개 메소드

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

GetList() 공개 메소드

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

UpdateExisting() 공개 메소드

Update existing
public UpdateExisting ( ProgramBase updatedProgram ) : ProgramFull
updatedProgram ProgramBase Replacement ProgramBase object
리턴 ProgramFull