C# Class Engage.Dnn.Booking.AppointmentType

The type of an Appointment
Mostrar archivo Open project: EngageSoftware/Engage-Booking Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
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.

Method Details

Create() public static method

Creates a new appointment type.
public static Create ( string name ) : AppointmentType
name string The name of the appointment type.
return AppointmentType

Delete() public static method

Deletes the specified appointment type id.
public static Delete ( int appointmentTypeId ) : void
appointmentTypeId int The appointment type id.
return void

Load() public static method

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.
return AppointmentType

Save() public method

Saves the appointment type.
public Save ( int revisingUser, int moduleId ) : void
revisingUser int The revising user.
moduleId int The module Id.
return void