C# 클래스 Bzs.Server.ServerService.TeacherServerService

Represents a teacher server service.
상속: ServerServiceBase
파일 보기 프로젝트 열기: romankmueller/SchoolPlanner 1 사용 예제들

공개 메소드들

메소드 설명
DeleteTeacher ( System.Guid id, System.Guid accountId ) : ResultDto

Deletes a teacher.

GetTeacherLookup ( System.Guid accountId ) : List

Returns the teacher lookup data.

InsertTeacher ( TeacherEditDto itemToSave, System.Guid accountId ) : ResultDto

Inserts a teacher.

TeacherExists ( System.Guid id, BzsEntityContainer ctx ) : bool

Returns a value indicating whether the teacher exists.

TeacherServerService ( ) : System

Initializes a new instance of the TeacherServerService class.

UpdateTeacher ( TeacherEditDto itemToSave, System.Guid accountId ) : ResultDto

Updates a teacher.

메소드 상세

DeleteTeacher() 공개 메소드

Deletes a teacher.
public DeleteTeacher ( System.Guid id, System.Guid accountId ) : ResultDto
id System.Guid The teacher identifier.
accountId System.Guid The account identifier.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

GetTeacherLookup() 공개 메소드

Returns the teacher lookup data.
public GetTeacherLookup ( System.Guid accountId ) : List
accountId System.Guid The account identifier.
리턴 List

InsertTeacher() 공개 메소드

Inserts a teacher.
public InsertTeacher ( TeacherEditDto itemToSave, System.Guid accountId ) : ResultDto
itemToSave Bzs.Portable.DataTransferObjects.Teacher.TeacherEditDto The item to save.
accountId System.Guid The account identifier.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto

TeacherExists() 공개 메소드

Returns a value indicating whether the teacher exists.
public TeacherExists ( System.Guid id, BzsEntityContainer ctx ) : bool
id System.Guid The identifier.
ctx Bzs.Server.DataAccess.BzsEntityContainer The entity container.
리턴 bool

TeacherServerService() 공개 메소드

Initializes a new instance of the TeacherServerService class.
public TeacherServerService ( ) : System
리턴 System

UpdateTeacher() 공개 메소드

Updates a teacher.
public UpdateTeacher ( TeacherEditDto itemToSave, System.Guid accountId ) : ResultDto
itemToSave Bzs.Portable.DataTransferObjects.Teacher.TeacherEditDto The item to save.
accountId System.Guid The account identifier.
리턴 Bzs.Portable.DataTransferObjects.Base.ResultDto