C# Класс Bzs.Server.ServerService.RoomServerService

Represents a room server service.
Наследование: ServerServiceBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
DeleteRoom ( System.Guid id, System.Guid accountId ) : ResultDto

Deletes the room.

GetRoomLookup ( System.Guid accountId ) : List

Returns the room lookup data.

InsertRoom ( RoomEditDto itemToSave, System.Guid accountId ) : ResultDto

Inserts a room.

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

Returns a value indicating whether the room exists.

RoomServerService ( ) : System

Initializes a new instance of the RoomServerService class.

UpdateRoom ( RoomEditDto itemToSave, System.Guid accountId ) : ResultDto

Updates a room.

Описание методов

DeleteRoom() публичный Метод

Deletes the room.
public DeleteRoom ( System.Guid id, System.Guid accountId ) : ResultDto
id System.Guid The room identifier.
accountId System.Guid The account identifier.
Результат Bzs.Portable.DataTransferObjects.Base.ResultDto

GetRoomLookup() публичный Метод

Returns the room lookup data.
public GetRoomLookup ( System.Guid accountId ) : List
accountId System.Guid The account identifier.
Результат List

InsertRoom() публичный Метод

Inserts a room.
public InsertRoom ( RoomEditDto itemToSave, System.Guid accountId ) : ResultDto
itemToSave Bzs.Portable.DataTransferObjects.Room.RoomEditDto The item to save.
accountId System.Guid The account identifier.
Результат Bzs.Portable.DataTransferObjects.Base.ResultDto

RoomExists() публичный Метод

Returns a value indicating whether the room exists.
public RoomExists ( System.Guid id, BzsEntityContainer ctx ) : bool
id System.Guid The identifier.
ctx Bzs.Server.DataAccess.BzsEntityContainer The entity container.
Результат bool

RoomServerService() публичный Метод

Initializes a new instance of the RoomServerService class.
public RoomServerService ( ) : System
Результат System

UpdateRoom() публичный Метод

Updates a room.
public UpdateRoom ( RoomEditDto itemToSave, System.Guid accountId ) : ResultDto
itemToSave Bzs.Portable.DataTransferObjects.Room.RoomEditDto The item to save.
accountId System.Guid The account identifier.
Результат Bzs.Portable.DataTransferObjects.Base.ResultDto