C# Класс Engage.Dnn.Booking.AppointmentType

The type of an Appointment
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Create ( string name ) : AppointmentType

Creates a new appointment type.

Delete ( int appointmentTypeId ) : void

Deletes the specified appointment type id.

Load ( int appointmentTypeId, int moduleId ) : AppointmentType

Gets the appointment type with the given appointmentTypeId.

Save ( int revisingUser, int moduleId ) : void

Saves the appointment type.

Приватные методы

Метод Описание
AppointmentType ( ) : System.Data

Prevents a default instance of the AppointmentType class from being created.

Fill ( IDataRecord appointmentTypeRecord ) : AppointmentType

Fills an AppointmentType with the data in the specified appointmentTypeRecord.

Insert ( int revisingUser, int moduleId ) : void

Inserts the appointment type.

Update ( int revisingUser ) : void

Updates the appointment type.

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

Create() публичный статический Метод

Creates a new appointment type.
public static Create ( string name ) : AppointmentType
name string The name of the appointment type.
Результат AppointmentType

Delete() публичный статический Метод

Deletes the specified appointment type id.
public static Delete ( int appointmentTypeId ) : void
appointmentTypeId int The appointment type id.
Результат void

Load() публичный статический Метод

Gets the appointment type with the given appointmentTypeId.
public static Load ( int appointmentTypeId, int moduleId ) : AppointmentType
appointmentTypeId int The ID of the appointment type.
moduleId int The module id.
Результат AppointmentType

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

Saves the appointment type.
public Save ( int revisingUser, int moduleId ) : void
revisingUser int The revising user.
moduleId int The module Id.
Результат void